Loop all .jpg

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Loop all .jpg

Christian Knoefel
Hello,


I will loop input all JPGs.

for one file "current.jpg" works:

ffmpeg -loop 1 -i C:\cam\1\current.jpg -i http://stream.bmr-radio.de:80 
-r 25 -b:v 4M -minrate:v 4M -maxrate:v 4M -bufsize:v 4M -f mpegts
-metadata service_provider="Geratal-TV" -metadata service_name="RNF"
-mpegts_transport_stream_id "6" -mpegts_original_network_id "6"
-mpegts_service_id "6" -mpegts_pmt_start_pid "26"
udp://192.168.0.201:5004?pkt_size=1316

but i will stream all files *.jpg with time of 10sec per file in
stream...and loop back again to file one. The files are updated with wget...

is this possible?

Can you give suggestion?


Christian

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Loop all .jpg

Carl Eugen Hoyos-2
2019-02-06 16:22 GMT+01:00, Christian <[hidden email]>:

> I will loop input all JPGs.
>
> for one file "current.jpg" works:
>
> ffmpeg -loop 1 -i C:\cam\1\current.jpg -i http://stream.bmr-radio.de:80
> -r 25 -b:v 4M -minrate:v 4M -maxrate:v 4M -bufsize:v 4M -f mpegts
> -metadata service_provider="Geratal-TV" -metadata service_name="RNF"
> -mpegts_transport_stream_id "6" -mpegts_original_network_id "6"
> -mpegts_service_id "6" -mpegts_pmt_start_pid "26"
> udp://192.168.0.201:5004?pkt_size=1316
>
> but i will stream all files *.jpg with time of 10sec per file in
> stream...and loop back again to file one. The files are updated with wget...
>
> is this possible?
>
> Can you give suggestion?

Did you look at the documentation for the different support pattern types?
https://ffmpeg.org/ffmpeg-formats.html#image2-1

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Loop all .jpg

Christian Knoefel
Am 09.02.2019 um 13:55 schrieb Carl Eugen Hoyos:

> 2019-02-06 16:22 GMT+01:00, Christian <[hidden email]>:
>
>> I will loop input all JPGs.
>>
>> for one file "current.jpg" works:
>>
>> ffmpeg -loop 1 -i C:\cam\1\current.jpg -i http://stream.bmr-radio.de:80
>> -r 25 -b:v 4M -minrate:v 4M -maxrate:v 4M -bufsize:v 4M -f mpegts
>> -metadata service_provider="Geratal-TV" -metadata service_name="RNF"
>> -mpegts_transport_stream_id "6" -mpegts_original_network_id "6"
>> -mpegts_service_id "6" -mpegts_pmt_start_pid "26"
>> udp://192.168.0.201:5004?pkt_size=1316
>>
>> but i will stream all files *.jpg with time of 10sec per file in
>> stream...and loop back again to file one. The files are updated with
>> wget...
>>
>> is this possible?
>>
>> Can you give suggestion?
> Did you look at the documentation for the different support pattern types?
> https://ffmpeg.org/ffmpeg-formats.html#image2-1
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

Hello Carl Eugen,


ffmpeg  -re -loop 1 -i C:\cam\1\current.jpg -i
http://stream.bmr-radio.de:80 -r 4 -q 4 -f mpegts -metadata
service_provider="Geratal-TV" -metadata service_name="RNF"
-mpegts_transport_stream_id "6" -mpegts_original_network_id "6"
-mpegts_service_id "6" -mpegts_pmt_start_pid "26" -y c:\cam\1\cam1.ts


makes an .ts transport stream file with 4 frame per second.

4 is the minimum for my transcoder to ASI in DVB-C.

In can't loop %d.jpg in an subfolder with rate 10/1 or 1/10 with
framerate 4 in mpegts?


Christian



_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".