Page 1 of 1

mpgv/mpga live ts stream encoding in flv

Posted: 19 Feb 2009 15:53
by boobee
Hello,
I'm trying since past few days to stream out an FLV from an mpeg2 video/audio TS with win32 vlc 0.9.8a.
command lines are:

Code: Select all

vlc -I dummy -vvv http://192.168.10.106:8001/1:0:1:2:1770:110:820000:0:0:0: :sout=#transcode{acodec=mp3,vb=1024,ab=128}:std{access=http,mux=ts,dst=0.0.0.0:8002/stream.ts}

Code: Select all

vlc -I dummy -vvv http://localhost:8002/stream.ts :sout=#transcode{vcodec=FLV1}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8003/stream1.flv}
all I get is frames skipped or buffer underruns/overruns and the swf container can't even start playing the content.
can please anyone give advices?

thank you very much
b.

Re: mpgv/mpga live ts stream encoding in flv

Posted: 20 Feb 2009 12:03
by jpcaraujo
Hello,
I'm trying since past few days to stream out an FLV from an mpeg2 video/audio TS with win32 vlc 0.9.8a.
command lines are:

Code: Select all

vlc -I dummy -vvv http://192.168.10.106:8001/1:0:1:2:1770:110:820000:0:0:0: :sout=#transcode{acodec=mp3,vb=1024,ab=128}:std{access=http,mux=ts,dst=0.0.0.0:8002/stream.ts}

Code: Select all

vlc -I dummy -vvv http://localhost:8002/stream.ts :sout=#transcode{vcodec=FLV1}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8003/stream1.flv}
all I get is frames skipped or buffer underruns/overruns and the swf container can't even start playing the content.
can please anyone give advices?

thank you very much
b.
do you tried

Code: Select all

vlc -I dummy -vvv http://192.168.10.106:8001/1:0:1:2:1770:110:820000:0:0:0: :sout=#transcode{ vcodec=FLV1,fps=15,acodec=mp3,vb=1024,ab=128}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8082/stream.flv}

Re: mpgv/mpga live ts stream encoding in flv

Posted: 20 Feb 2009 16:13
by boobee

do you tried

Code: Select all

vlc -I dummy -vvv http://192.168.10.106:8001/1:0:1:2:1770:110:820000:0:0:0: :sout=#transcode{ vcodec=FLV1,fps=15,acodec=mp3,vb=1024,ab=128}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8082/stream.flv}
jpcaraujo, thanks for replying!

this is what I get:

Code: Select all

stream_out_transcode debug: drift is too high, resetting master sync avformat debug: writing header avformat error: could not write header

Re: mpgv/mpga live ts stream encoding in flv

Posted: 25 Feb 2009 12:41
by boobee
bump..
really, anyone?

does VLC supports live FLV streaming from an mpeg2 without archiving all streamed content into the flv but using it as a placeholder?

thanks again