i have also not yet found a way to loop video files.. but you can loop an image (or image sequence)
i use this for some of my radio stations… ( -re -loop 1 -i /path/to/image.jpg ) ffmpeg -i http://shoutcasthost.com:8000 -re -loop 1 -i /path/to/image.jpg -c:a libfdk_aac -b:a 192k -c:v h264 -preset ultrafast -pix_fmt yuvj420p -bsf h264_mp4toannexb -f mpegts udp://127.0.0.1:10000?pkt_size=1316 > On Oct 25, 2014, at 12:39 PM, Felix E. Klee <[email protected]> wrote: > > Say, I have a TV channel and, at night time, I want to broadcast a > [test pattern][1], then: > > *How do I approach that? Should I convert the image into a video and > loop that? How?* > > It's just a JPEG image. No sound needs to be streamed. > > [2]: http://de.wikipedia.org/wiki/Testbild#mediaviewer/File:FuBK-Testbild.png > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
