trying to stream a FLV gives me a strange behaviour:
Code: Select all
[00000369] stream_out_transcode stream out debug: creating video transcoding from fcc=`MJPG' to fcc=`FLV1'
[00000381] main decoder debug: looking for decoder module: 31 candidates
[00000381] avcodec decoder debug: libavcodec initialized (interface 3407872 )
[00000381] avcodec decoder debug: using direct rendering
[00000381] avcodec decoder debug: ffmpeg codec (Motion JPEG Video) started
[00000381] main decoder debug: using decoder module "avcodec"
[00000381] main decoder debug: TIMER module_Need() : 8.793 ms - Total 8.793 ms / 1 intvls (Avg 8.793 ms)
[00000382] main encoder debug: looking for encoder module: 8 candidates
[00000382] avcodec encoder debug: libavcodec already initialized
[00000382] avcodec encoder debug: removing common factors from framerate
(flv@0x8243df0)
[00000382] avcodec encoder debug: found encoder Flash Video
[00000382] main encoder debug: using encoder module "avcodec"
[00000382] main encoder debug: TIMER module_Need() : 33.172 ms - Total 33.172 ms / 1 intvls (Avg 33.172 ms)
[00000382] main encoder debug: removing module "avcodec"
[00000369] stream_out_transcode stream out debug: decoder aspect is 528000:432000
[00000369] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[00000369] stream_out_transcode stream out debug: scaled pixel aspect is 1.000000:1
[00000369] stream_out_transcode stream out debug: source 352x288, destination 352x288
[00000369] stream_out_transcode stream out debug: encoder aspect is 528000:432000
[00000383] main filter debug: looking for video filter2 module: 16 candidates
[00000383] swscale filter debug: 352x288 chroma: J422 -> 352x288 chroma: I420 with scaling using Experimental
[00000383] main filter debug: using video filter2 module "swscale"
[00000383] main filter debug: TIMER module_Need() : 3.959 ms - Total 3.959 ms / 1 intvls (Avg 3.959 ms)
[00000369] main stream out debug: Filter 'swscale' (0x8242f7c) appended to chain
[00000369] stream_out_transcode stream out debug: destination (after video filters) 352x288
[00000382] main encoder debug: looking for encoder module: 8 candidates
[00000382] avcodec encoder debug: libavcodec already initialized
[00000382] avcodec encoder debug: removing common factors from framerate
(flv@0x825e3e0)
[00000382] avcodec encoder debug: found encoder Flash Video
[00000382] main encoder debug: using encoder module "avcodec"
[00000382] main encoder debug: TIMER module_Need() : 17.768 ms - Total 17.768 ms / 1 intvls (Avg 17.768 ms)
[00000375] main mux debug: adding a new input
[00000375] avformat mux debug: adding input
[00000380] main packetizer debug: switching to sync mode
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20831
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20359
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20931
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20855
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20522
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20107
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20785
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 19973
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 18842
[00000379] mjpeg demux debug: discard MIME header: Content-Length: 20205
[00000375] avformat mux debug: writing header
Aspect ratio mismatch between encoder and muxer layer
[00000375] avformat mux error: could not write header
Code: Select all
[00000375] avformat mux debug: writing header
Aspect ratio mismatch between encoder and muxer layer
[00000375] avformat mux error: could not write header
Command line used:
Code: Select all
vlc source --sout='#transcode{vcodec=FLV1,vb=1024}:std{access=http,dst=0.0.0.0:1234/stream.flv}' -vvv