[FFmpeg-user] Add Image to Streaming Audio

Hans J. Albertsson hans.j.albertsson at branneriet.se
Thu Dec 5 17:25:12 CET 2013


BTW, is there somewhere a list of what formats for video, audio, images 
that the various container formats can and cannot support, respectively?


On 2013-12-05 11:38, Carl Eugen Hoyos wrote:
> Lou <lou <at> lrcd.com> writes:
>
>>> ffmpeg -re -loop 1 -i still.jpg -i http://localhost:8002/listen
>>> -acodec copy  -bsf h264_mp4toannexb -c:v copy -hls_time 10
>>> -hls_wrap 10 -hls_list_size 6 -f hls mp3.m3u8
>> You're trying to stream copy both inputs. I assume MJPEG
>> video is not an acceptable format for HLS.
> Or more exactly: The mpegts muxer which the hls muxer calls
> does not support mjpeg.
> >From FFmpeg perspective, you are responsible for what you try
> to mux into a container, so while for some combination an
> error (or warning) will be printed, others will be accepted
> silently (like random in mpeg-ts) although they cannot work.
>
> Note that -bsf h264_mp4toannexb makes no sense in above
> command line.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list