Status about streaming out FLV format

About encoding, codec settings, muxers and filter usage
alrama
Blank Cone
Blank Cone
Posts: 21
Joined: 02 Nov 2006 12:11

Re: Status about streaming out FLV format

Postby alrama » 20 Jul 2007 15:13

It seems to me there aren't errors in this case too, anyway here is the output messages. ( Output file stream.flv is created but remain at 0 kb length)
Comand used: "vlc.exe" --sout=#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100,channels=2,ab=64}:std{access=file,dst=stream.flv} udp://@239.255.100.101:7003

-- logger module started --
main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main error: Reloading playlist not implemented.
main debug: waiting for thread completion
main debug: thread 4052 (preparser) created at priority 0 (playlist/thread.c:81)
main debug: waiting for thread completion
main debug: thread 4068 (fetcher) created at priority 0 (playlist/thread.c:107)
main debug: waiting for thread completion
main debug: thread 4072 (playlist) created at priority 0 (playlist/thread.c:117)
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 0 items, index -1
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 4100 (interface) created at priority 0 (interface/interface.c:218)
main debug: looking for interface module: 1 candidate
logger: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLAN team
logger:
Attenzione: se l'interfaccia grafica non è più accessibile, apri una finestra a linea di comando, vai nella cartella in cui hai installato VLC ed esegui "vlc -I wx"

logger: using logger...
logger warning: no log filename provided, using `vlc-log.txt'
logger debug: opening logfile `vlc-log.txt'
main debug: using interface module "logger"
main debug: thread 4128 (interface) created at priority 0 (interface/interface.c:218)
main debug: adding item `udp://@239.255.100.101:7003' ( udp://@239.255.100.101:7003 )
main debug: looking for interface module: 4 candidates
main debug: using interface module "qt4"
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: starting new item
main debug: changing item without a request (current -1/1)
main debug: using item 0
main debug: creating new input thread
main debug: waiting for thread completion
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to file
main debug: set config option: sout-standard-dst to stream.flv
stream_out_standard debug: creating `file/(null)://stream.flv'
stream_out_standard debug: extension is flv
stream_out_standard debug: extension -> mux=ffmpeg{mux=flv}
stream_out_standard debug: using `file/ffmpeg{mux=flv}://stream.flv'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (`stream.flv')
main debug: using sout access module "access_output_file"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
main debug: set config option: ffmpeg-mux to flv
main debug: using sout mux module "ffmpeg"
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: set config option: sout-transcode-vcodec to FLV1
main debug: set config option: sout-transcode-acodec to mp3
main debug: set config option: sout-transcode-samplerate to 44100
main debug: set config option: sout-transcode-channels to 2
main debug: set config option: sout-transcode-ab to 64
stream_out_transcode debug: codec audio=mp3 44100Hz 2 channels 64Kb/s
stream_out_transcode debug: codec video=FLV1 0x0 scaling: 1,000000 800kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: `udp://@239.255.100.101:7003' gives access `udp' demux `' path `@239.255.100.101:7003'
main debug: creating demux: access='udp' demux='' path='@239.255.100.101:7003'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "udp"
main debug: creating access 'udp' path='@239.255.100.101:7003'
main debug: looking for access2 module: 1 candidate
access_udp debug: opening server=:0 local=239.255.100.101:7003
main debug: net: opening 239.255.100.101 datagram port 7003
main debug: thread 4496 (input) created at priority 1 (input/input.c:331)
main debug: requesting art for udp://@239.255.100.101:7003
main debug: Multicast group join request
main debug: IP_ADD_MEMBERSHIP multicast request
main debug: using access2 module "access_udp"
main debug: pre buffering
access_udp debug: detected TS over raw UDP
main debug: creating demux: access='udp' demux='' path='@239.255.100.101:7003'
main debug: looking for demux2 module: 48 candidates
main debug: using demux2 module "ts"
main debug: looking for a subtitle file in C:\Documents and Settings\id\Desktop\vlc-0.9.0-svn\
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: starting in async mode
access_udp warning: unimplemented query in control
main debug: `udp://@239.255.100.101:7003' successfully opened
ts debug: pid[33] unknown
ts debug: pid[34] unknown
ts debug: pid[37] unknown
main debug: art not found for udp://@239.255.100.101:7003
ts debug: PATCallBack called
ts debug: new PAT ts_id=999 version=0 current_next=1
ts debug: * number=1 pid=32
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=0 pid_pcr=37
ts debug: * es pid=33 type=16 fcc=mp4v
main debug: selecting program id=1
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "packetizer_mpeg4video"
main debug: thread 5508 (decoder) created at priority 0 (input/decoder.c:191)
ts debug: * es pid=34 type=3 fcc=mpga
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "mpeg_audio"
main debug: thread 5496 (decoder) created at priority 2 (input/decoder.c:191)
ts warning: first packet for pid=33 cc=0xe
ts warning: first packet for pid=34 cc=0x2
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:64
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 '
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "mpeg_audio"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec initialized (interface 3352580 )
ffmpeg debug: found encoder MPEG Audio layer 1/2/3
main debug: using encoder module "ffmpeg"
main debug: looking for audio filter2 module: 5 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: looking for audio filter2 module: 5 candidates
linear_resampler debug: fl32/48000KHz/2->s16l/44100KHz/2
main debug: using audio filter2 module "linear_resampler"
main debug: looking for audio filter2 module: 5 candidates
audio_format debug: fl32->s16l, bits per sample: 32
main debug: using audio filter2 module "audio_format"
main debug: adding a new input
ffmpeg debug: adding input
ts warning: discontinuity received 0xc instead of 0x6 (pid=33)
ts warning: discontinuity received 0xc instead of 0x6 (pid=34)
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:64
ts warning: discontinuity received 0xc instead of 0x1 (pid=33)
ts warning: discontinuity received 0x0 instead of 0xe (pid=34)
ts debug: PATCallBack called
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
ts debug: PMTCallBack called
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`FLV1'
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder Flash Video
main debug: using encoder module "ffmpeg"
main debug: removing module "ffmpeg"
stream_out_transcode debug: decoder aspect is 576000:432000
stream_out_transcode debug: source pixel aspect is 1,090909:1
stream_out_transcode debug: scaled pixel aspect is 1,090909:1
stream_out_transcode debug: source 704x576, crop 704x576, destination 704x576, padding 704x576
stream_out_transcode debug: encoder aspect is 576000:432000
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder Flash Video
main debug: using encoder module "ffmpeg"
main debug: adding a new input
ffmpeg debug: adding input
ts warning: discontinuity received 0x5 instead of 0x1 (pid=33)
ts warning: discontinuity received 0x4 instead of 0x7 (pid=33)
ts warning: discontinuity received 0x2 instead of 0x0 (pid=34)

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Status about streaming out FLV format

Postby dionoea » 20 Jul 2007 15:21

Is it still 0 length if you use this?

Code: Select all

"vlc.exe" -vvv --file-logging --run-time 30 udp://@239.255.100.101:7003 :sout=#transcode{vcodec=FLV1,vb=512,acodec=mp3,samplerate=44100,channels=2,ab=64}:std{access=file,dst=stream.flv}
(It should record 30 seconds and then stop)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

alrama
Blank Cone
Blank Cone
Posts: 21
Joined: 02 Nov 2006 12:11

Re: Status about streaming out FLV format

Postby alrama » 20 Jul 2007 15:35

--run-time option wasn't accepted. I used --stop-time=30 and I can give you event viewer entry and the new log file. (stream.flv again 0 kb)

Tipo evento: Errore
Origine evento: Application Error
Categoria evento: Nessuno
ID evento: 1000
Data: 20/07/2007
Ora: 15.30.16
Utente: N/D

Descrizione:
Applicazione che ha provocato l'errore vlc.exe, versione 0.9.0.0, modulo che ha provocato l'errore libffmpeg_plugin.dll, versione 0.0.0.0, indirizzo errore 0x002db0ae.

Per ulteriori informazioni, consultare la Guida in linea e supporto tecnico all'indirizzo http://go.microsoft.com/fwlink/events.asp.
Dati:
0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 46 61 69 6c ion Fail
0010: 75 72 65 20 20 76 6c 63 ure vlc
0018: 2e 65 78 65 20 30 2e 39 .exe 0.9
0020: 2e 30 2e 30 20 69 6e 20 .0.0 in
0028: 6c 69 62 66 66 6d 70 65 libffmpe
0030: 67 5f 70 6c 75 67 69 6e g_plugin
0038: 2e 64 6c 6c 20 30 2e 30 .dll 0.0
0040: 2e 30 2e 30 20 61 74 20 .0.0 at
0048: 6f 66 66 73 65 74 20 30 offset 0
0050: 30 32 64 62 30 61 65 0d 02db0ae.
0058: 0a .

-- logger module started --
main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main error: Reloading playlist not implemented.
main debug: waiting for thread completion
main debug: thread 4052 (preparser) created at priority 0 (playlist/thread.c:81)
main debug: waiting for thread completion
main debug: thread 4068 (fetcher) created at priority 0 (playlist/thread.c:107)
main debug: waiting for thread completion
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 0 items, index -1
main debug: thread 4072 (playlist) created at priority 0 (playlist/thread.c:117)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 4100 (interface) created at priority 0 (interface/interface.c:218)
main debug: looking for interface module: 1 candidate
logger: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLAN team
logger:
Attenzione: se l'interfaccia grafica non è più accessibile, apri una finestra a linea di comando, vai nella cartella in cui hai installato VLC ed esegui "vlc -I wx"

logger: using logger...
logger warning: no log filename provided, using `vlc-log.txt'
logger debug: opening logfile `vlc-log.txt'
main debug: using interface module "logger"
main debug: thread 4128 (interface) created at priority 0 (interface/interface.c:218)
main debug: adding item `udp://@239.255.100.101:7003' ( udp://@239.255.100.101:7003 )
main debug: looking for interface module: 4 candidates
main debug: using interface module "qt4"
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: starting new item
main debug: changing item without a request (current -1/1)
main debug: using item 0
main debug: creating new input thread
main debug: waiting for thread completion
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: thread 4496 (input) created at priority 1 (input/input.c:331)
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to file
main debug: set config option: sout-standard-dst to stream.flv
stream_out_standard debug: creating `file/(null)://stream.flv'
stream_out_standard debug: extension is flv
stream_out_standard debug: extension -> mux=ffmpeg{mux=flv}
stream_out_standard debug: using `file/ffmpeg{mux=flv}://stream.flv'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (`stream.flv')
main debug: using sout access module "access_output_file"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
main debug: set config option: ffmpeg-mux to flv
main debug: using sout mux module "ffmpeg"
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: set config option: sout-transcode-vcodec to FLV1
main debug: set config option: sout-transcode-vb to 512
main debug: set config option: sout-transcode-acodec to mp3
main debug: set config option: sout-transcode-samplerate to 44100
main debug: set config option: sout-transcode-channels to 2
main debug: set config option: sout-transcode-ab to 64
stream_out_transcode debug: codec audio=mp3 44100Hz 2 channels 64Kb/s
stream_out_transcode debug: codec video=FLV1 0x0 scaling: 1,000000 512kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: `udp://@239.255.100.101:7003' gives access `udp' demux `' path `@239.255.100.101:7003'
main debug: creating demux: access='udp' demux='' path='@239.255.100.101:7003'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "udp"
main debug: creating access 'udp' path='@239.255.100.101:7003'
main debug: looking for access2 module: 1 candidate
access_udp debug: opening server=:0 local=239.255.100.101:7003
main debug: net: opening 239.255.100.101 datagram port 7003
main debug: requesting art for udp://@239.255.100.101:7003
main debug: Multicast group join request
main debug: IP_ADD_MEMBERSHIP multicast request
main debug: using access2 module "access_udp"
main debug: pre buffering
access_udp debug: detected TS over raw UDP
main debug: creating demux: access='udp' demux='' path='@239.255.100.101:7003'
main debug: looking for demux2 module: 48 candidates
main debug: using demux2 module "ts"
main debug: looking for a subtitle file in C:\Documents and Settings\id\Desktop\vlc-0.9.0-svn\
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: starting in async mode
access_udp warning: unimplemented query in control
main debug: `udp://@239.255.100.101:7003' successfully opened
ts debug: pid[33] unknown
ts debug: pid[37] unknown
ts debug: pid[34] unknown
main debug: control type=13
ts debug: PATCallBack called
ts debug: new PAT ts_id=999 version=0 current_next=1
ts debug: * number=1 pid=32
main debug: art not found for udp://@239.255.100.101:7003
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=0 pid_pcr=37
ts debug: * es pid=33 type=16 fcc=mp4v
main debug: selecting program id=1
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "packetizer_mpeg4video"
main debug: thread 5512 (decoder) created at priority 0 (input/decoder.c:191)
ts debug: * es pid=34 type=3 fcc=mpga
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "mpeg_audio"
main debug: thread 5500 (decoder) created at priority 2 (input/decoder.c:191)
ts warning: first packet for pid=33 cc=0xb
ts warning: first packet for pid=34 cc=0x8
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:64
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 '
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "mpeg_audio"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec initialized (interface 3352580 )
ffmpeg debug: found encoder MPEG Audio layer 1/2/3
main debug: using encoder module "ffmpeg"
main debug: looking for audio filter2 module: 5 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: looking for audio filter2 module: 5 candidates
linear_resampler debug: fl32/48000KHz/2->s16l/44100KHz/2
main debug: using audio filter2 module "linear_resampler"
main debug: looking for audio filter2 module: 5 candidates
audio_format debug: fl32->s16l, bits per sample: 32
main debug: using audio filter2 module "audio_format"
main debug: adding a new input
ffmpeg debug: adding input
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:64
packetizer_mpeg4video warning: waiting for VOL
ts warning: discontinuity received 0x9 instead of 0x2 (pid=33)
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`FLV1'
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder Flash Video
main debug: using encoder module "ffmpeg"
main debug: removing module "ffmpeg"
stream_out_transcode debug: decoder aspect is 576000:432000
stream_out_transcode debug: source pixel aspect is 1,090909:1
stream_out_transcode debug: scaled pixel aspect is 1,090909:1
stream_out_transcode debug: source 704x576, crop 704x576, destination 704x576, padding 704x576
stream_out_transcode debug: encoder aspect is 576000:432000
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder Flash Video
main debug: using encoder module "ffmpeg"
main debug: adding a new input
ffmpeg debug: adding input

Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Re: Status about streaming out FLV format

Postby Nem » 31 Jul 2007 11:44

Hi, i'm trying to stream flv too.
I'm using vlc-0.9.0-svn-20070717-0000 (nightly build), windows XP.

When i use this command, VLC crash (and windows ask for a bug report, hahah, what a joke. Hum, must disable that on this computer...).

Code: Select all

"C:\Download\vlc-0.9.0-svn-20070717-0000\vlc.exe" C:\Download\test.flv --sout "#transcode{vcodec=FLV1,vb=500,acodec=mp3,ab=96,samplerate=44100}:std{access=http,dst=0.0.0.0:8080/stream.flv}" -vvv --color -I dummy
So, i've folowed the posts on that topic :
std{access=file,dst=somename.flv} => crash

Got problems to access my video stream for the moment, so i'm using a small test file (and i can open it with no problems with vlc).

And created file is 0 lenght.

I will try later on linux, i will see if i can manage to do something like alrama did.

Every time the same error, here is the log :

Code: Select all

-- logger module started -- main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU main debug: looking for memcpy module: 3 candidates main debug: using memcpy module "memcpymmxext" main error: Reloading playlist not implemented. main debug: waiting for thread completion main debug: thread 4056 (preparser) created at priority 0 (playlist/thread.c:81) main debug: waiting for thread completion main debug: thread 4072 (fetcher) created at priority 0 (playlist/thread.c:107) main debug: waiting for thread completion main debug: rebuilding array of current - root Playlist main debug: rebuild done - 0 items, index -1 main debug: thread 4076 (playlist) created at priority 0 (playlist/thread.c:117) main debug: looking for interface module: 1 candidate main debug: using interface module "hotkeys" main debug: thread 4104 (interface) created at priority 0 (interface/interface.c:218) main debug: looking for interface module: 1 candidate logger: VLC media player - version 0.9.0-svn-20070717-0000 Grishenko - (c) 1996-2007 the VideoLAN team logger: Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I wx" logger: using logger... logger warning: no log filename provided, using `vlc-log.txt' logger debug: opening logfile `vlc-log.txt' main debug: using interface module "logger" main debug: thread 4132 (interface) created at priority 0 (interface/interface.c:218) main debug: adding item `test.flv' ( C:\Download\test.flv ) main debug: looking for interface module: 4 candidates main debug: using interface module "qt4" main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: starting new item main debug: changing item without a request (current -1/1) main debug: using item 0 main debug: creating new input thread main debug: waiting for thread completion main debug: stream=`transcode' main debug: looking for sout stream module: 1 candidate main debug: thread 4392 (input) created at priority 1 (input/input.c:332) main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: set config option: sout-standard-access to file main debug: set config option: sout-standard-dst to stream.flv stream_out_standard debug: creating `file/(null)://stream.flv' stream_out_standard debug: extension is flv stream_out_standard debug: extension -> mux=ffmpeg{mux=flv} stream_out_standard debug: using `file/ffmpeg{mux=flv}://stream.flv' main debug: looking for sout access module: 1 candidate access_output_file debug: file access output opened (`stream.flv') main debug: using sout access module "access_output_file" stream_out_standard debug: access opened main debug: looking for sout mux module: 1 candidate main debug: set config option: ffmpeg-mux to flv main debug: using sout mux module "ffmpeg" stream_out_standard debug: mux opened main debug: using sout stream module "stream_out_standard" main debug: set config option: sout-transcode-vcodec to FLV1 main debug: set config option: sout-transcode-vb to 512 main debug: set config option: sout-transcode-acodec to mp3 main debug: set config option: sout-transcode-samplerate to 44100 main debug: set config option: sout-transcode-channels to 2 main debug: set config option: sout-transcode-ab to 64 stream_out_transcode debug: codec audio=mp3 44100Hz 2 channels 64Kb/s stream_out_transcode debug: codec video=FLV1 0x0 scaling: 1,000000 512kb/s main debug: using sout stream module "stream_out_transcode" main debug: drive letter C: found in source main debug: `C:\Download\test.flv' gives access `' demux `' path `C:\Download\test.flv' main debug: creating demux: access='' demux='' path='C:\Download\test.flv' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='C:\Download\test.flv' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: C:\Download\test.cue vcd debug: could not find .cue file access_directory debug: opening directory `C:\Download\test.flv' access_directory debug: skipping non-directory `C:\Download\test.flv' access_file debug: opening file `C:\Download\test.flv' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 219521 kbytes/s main debug: drive letter C: found in source main debug: creating demux: access='' demux='' path='C:\Download\test.flv' main debug: looking for demux2 module: 48 candidates ffmpeg debug: detected format: flv main debug: selecting program id=0 ffmpeg debug: adding es: video codec = FLV1 ffmpeg debug: adding es: audio codec = mp3 ffmpeg debug: AVFormat supported stream ffmpeg debug: - format = flv (flv format) ffmpeg debug: - start time = 0 ffmpeg debug: - duration = 61395000 main debug: using demux2 module "ffmpeg" main debug: looking for a subtitle file in C:\Download\ main debug: looking for packetizer module: 18 candidates main debug: using packetizer module "packetizer_copy" main debug: stream out mode -> no decoder thread main debug: looking for packetizer module: 18 candidates main debug: using packetizer module "packetizer_copy" main debug: stream out mode -> no decoder thread main debug: starting in async mode main debug: requesting art for test.flv main debug: `C:\Download\test.flv' successfully opened main debug: art not found for test.flv packetizer_copy debug: need dts > 0 packetizer_copy debug: need dts > 0 main debug: adding a new input stream_out_transcode debug: creating audio transcoding from fcc=`mp3 ' to fcc=`mp3 ' main debug: looking for decoder module: 29 candidates ffmpeg debug: libavcodec initialized (interface 3352580 ) ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) started main debug: using decoder module "ffmpeg" main debug: looking for encoder module: 11 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: found encoder MPEG Audio layer 1/2/3 main debug: using encoder module "ffmpeg" main debug: looking for audio filter2 module: 4 candidates audio_format debug: s16l->fl32, bits per sample: 16 main debug: using audio filter2 module "audio_format" main debug: looking for audio filter2 module: 4 candidates linear_resampler debug: fl32/22050KHz/1->s16l/44100KHz/1 main debug: using audio filter2 module "linear_resampler" main debug: looking for audio filter2 module: 4 candidates audio_format debug: fl32->s16l, bits per sample: 32 main debug: using audio filter2 module "audio_format" main debug: adding a new input ffmpeg debug: adding input main debug: adding a new input stream_out_transcode debug: creating video transcoding from fcc=`FLV1' to fcc=`FLV1' main debug: looking for decoder module: 29 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: postprocessing disabled ffmpeg debug: using direct rendering ffmpeg debug: ffmpeg codec (Flash Video) started main debug: using decoder module "ffmpeg" main debug: looking for encoder module: 11 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: found encoder Flash Video main debug: using encoder module "ffmpeg" main debug: removing module "ffmpeg" ffmpeg warning: warning: first frame is no keyframe (flv@00CE6480) stream_out_transcode debug: decoder aspect is 576000:432000 stream_out_transcode debug: source pixel aspect is 1,000000:1 stream_out_transcode debug: scaled pixel aspect is 1,000000:1 stream_out_transcode debug: source 320x240, crop 320x240, destination 320x240, padding 320x240 stream_out_transcode debug: encoder aspect is 576000:432000 main debug: looking for encoder module: 11 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: found encoder Flash Video main debug: using encoder module "ffmpeg" main debug: adding a new input ffmpeg debug: adding input
If i can help, no pbs, i'm available.
Thx for any answers !

Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Re: Status about streaming out FLV format

Postby Nem » 02 Aug 2007 16:43

Hi,

Works almost fine on Linux.

Just for information, i use IP cameras and i want to stream in flv.

Here is the "walktrought" is used :

1.vlc 0.8.6c
./vlc rtsp://<cam_ip>:1145/livepc.sdp --sout "#transcode{acodec=mp3, samplerate=44100}:std{access=http, mux=asf, dst=127.0.0.1:1234}"

2.vlc 0.9.0
./vlc --sout "#transcode{vcodec=FLV1,vb=800,acodec=mp3,ab=96,sameplerate=44100}:std{access=http,dst=0.0.0.0:8080/stream.flv}" http://127.0.0.1:1234

3.any player
./vlc http://127.0.0.1:8080/stream.flv

And it works.
BUT, i don't know why, i just can't manage to connect to any of my cameras with vlc 0.9.0, they all send me a tearout.

Tryed with 2-3 snapshots, 1 month spaced each, and same result.
Does anybody know why ?
Regards.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Status about streaming out FLV format

Postby dionoea » 07 Aug 2007 15:24

Nope, must be a new bug. Do you have a public URL that we might use to test?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Nem
Blank Cone
Blank Cone
Posts: 15
Joined: 06 Jun 2007 10:05

Re: Status about streaming out FLV format

Postby Nem » 08 Aug 2007 10:06

Hi !

No, sorry, i haven't one, but i will post some logs today (but before i have to made some trys on an other computer, cause i've maybe found the problem).

Regards.

pssara
New Cone
New Cone
Posts: 2
Joined: 23 Aug 2007 22:29

Re: Status about streaming out FLV format

Postby pssara » 23 Aug 2007 22:37

.....cause i've maybe found the problem).
Hi,
Any news on that ?
I am having a crashing problem as described when using the latest vlc-0.9 builds
here is what i am using :
.\vlc --sout "#transcode{vcodec=FLV1,vb=96,acodec=mp3,sameplerate=44100,channels=1,ab=16,width=206,height=130,croptop=20}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8080/stream.flv}" http://mati.xan.duth.gr/axis-cgi/mjpg/video.cgi --loop -vvv --color -I dummy
which works fine with vlc-0.9.0-svn-20070417-0001 except the fact that it fills up all of my computer disk space with a temporary file, when it runs for several hours
so i tested all the latest versions and they all crash.
here is a log:

Code: Select all

VLC media player 0.9.0-svn-20070823-0001 Grishenko [00000001] main libvlc debug: opening config file (C:\Documents and Settings\pss ara\Application Data\vlc\vlcrc) [00000001] main libvlc debug: loading config for module "main" [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file C:\Documents and Settin gs\pssara\Application Data\vlc\cache\plugins-04041e.dat [00000001] main libvlc warning: This doesn't look like a valid plugins cache [00000001] main libvlc debug: recursively browsing `C:\Program Files\VideoLAN\vl c-0.9.0-svn-20070823-0001\modules' [00000001] main libvlc debug: recursively browsing `C:\Program Files\VideoLAN\vl c-0.9.0-svn-20070823-0001\plugins' [00000001] main libvlc debug: module bank initialized, found 235 modules [00000001] main libvlc debug: opening config file (C:\Documents and Settings\pss ara\Application Data\vlc\vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 F PU [00000001] main libvlc debug: looking for memcpy module: 3 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000319] main playlist error: Reloading playlist not implemented. [00000320] main private debug: waiting for thread completion [00000320] main private debug: thread 1572 (preparser) created at priority 0 (pl aylist/thread.c:81) [00000321] main private debug: waiting for thread completion [00000321] main private debug: thread 212 (fetcher) created at priority 0 (playl ist/thread.c:107) [00000319] main playlist debug: waiting for thread completion [00000319] main playlist debug: thread 272 (playlist) created at priority 0 (pla ylist/thread.c:117) [00000322] main interface debug: looking for interface module: 1 candidate [00000322] main interface debug: using interface module "hotkeys" [00000322] main interface debug: thread 3828 (interface) created at priority 0 ( interface/interface.c:215) [00000319] main playlist debug: rebuilding array of current - root ╦▀≤Ϊά άΊάΏά±ά ή∙ή▐≥ [00000319] main playlist debug: rebuild done - 0 items, index -1 [00000319] main playlist debug: adding item `http://mati.xan.duth.gr/axis-cgi/mj pg/video.cgi' ( http://mati.xan.duth.gr/axis-cgi/mjpg/video.cgi ) [00000323] main interface debug: looking for interface module: 17 candidates [00000323] dummy interface: VLC media player - version 0.9.0-svn-20070823-0001 G rishenko - (c) 1996-2007 the VideoLAN team [00000323] dummy interface: ╨±ΎίώϊΎΏΎ▀ύ≤ύ, άΊ ϊίΊ ΉΏΎ±ί▀Ϊί Ίά ▌≈ίΪί Ώ±ⁿ≤έά≤ύ ≤ΪύΊ ϊώίΏώ÷▄Ίίώά GUI, άΊΎ▀ΌΪί ▌ Ίά Ώά±▄ϋΫ±Ύ command-line ( ΆΎΊ≤ⁿΈά ▐ Ϊί±ΉάΪώΆⁿ), ΉίΪάέί▀Ϊί ≤ΪΎΊ ÷▄ΆίΈΎ ΏΎΫ Ώ±άήΉ άΪΎΏΎώ▐≤άΪί ΪύΊ ίήΆάΪ▄≤Ϊά≤ύ ΪΎΫ VLC Άάώ Ϊ±▌ΌΪί ΪύΊ ίΊΪΎΈ▐ "vlc -I wx" [00000323] dummy interface: using the dummy interface module... [00000323] main interface debug: using interface module "dummy" [00000319] main playlist debug: starting new item [00000319] main playlist debug: processing request item null node ╦▀≤Ϊά άΊάΏά±άή ∙ή▐≥ skip 0 [00000319] main playlist debug: rebuilding array of current - root ╦▀≤Ϊά άΊάΏά±ά ή∙ή▐≥ [00000319] main playlist debug: rebuild done - 1 items, index -1 [00000319] main playlist debug: creating new input thread [00000324] main input debug: waiting for thread completion [00000324] main input debug: thread 3012 (input) created at priority 1 (input/in put.c:329) [00000319] main playlist debug: requesting art for http://mati.xan.duth.gr/axis- cgi/mjpg/video.cgi [00000325] main stream output debug: stream=`transcode' [00000326] main private debug: looking for sout stream module: 1 candidate [00000325] main stream output debug: stream=`std' [00000328] main private debug: looking for sout stream module: 1 candidate [00000328] main private error: name = sout-standard-access [00000328] main private debug: set config option: sout-standard-access to http{m ime=video/x-flv} [00000328] main private error: name = sout-standard-mux [00000328] main private debug: set config option: sout-standard-mux to ffmpeg{mu x=flv} [00000328] main private error: name = sout-standard-dst [00000328] main private debug: set config option: sout-standard-dst to 0.0.0.0:8 080/stream.flv [00000328] stream_out_standard private debug: creating `http{mime=video/x-flv}/f fmpeg{mux=flv}://0.0.0.0:8080/stream.flv' [00000328] stream_out_standard private debug: extension is flv [00000328] stream_out_standard private debug: extension -> mux=ffmpeg{mux=flv} [00000328] stream_out_standard private debug: using `http{mime=video/x-flv}/ffmp eg{mux=flv}://0.0.0.0:8080/stream.flv' [00000329] main private debug: looking for sout access module: 1 candidate [00000329] main private error: name = sout-http-mime [00000329] main private debug: set config option: sout-http-mime to video/x-flv [00000329] main private: creating httpd [00000329] main private debug: net: listening to 0.0.0.0 port 8080 [00000331] main http server debug: thread 3376 (httpd host thread) created at pr iority 0 (network/httpd.c:1082) [00000329] main private debug: using sout access module "access_output_http" [00000328] stream_out_standard private debug: access opened [00000332] main private debug: looking for sout mux module: 1 candidate [00000332] main private error: name = ffmpeg-mux [00000332] main private debug: set config option: ffmpeg-mux to flv [00000332] main private debug: using sout mux module "ffmpeg" [00000328] stream_out_standard private debug: mux opened [00000328] main private debug: using sout stream module "stream_out_standard" [00000326] main private error: name = sout-transcode-vcodec [00000326] main private debug: set config option: sout-transcode-vcodec to FLV1 [00000326] main private error: name = sout-transcode-vb [00000326] main private debug: set config option: sout-transcode-vb to 96 [00000326] main private error: name = sout-transcode-acodec [00000326] main private debug: set config option: sout-transcode-acodec to mp3 [00000326] main private warning: option sameplerate is unknown [00000326] main private error: name = sout-transcode-channels [00000326] main private debug: set config option: sout-transcode-channels to 1 [00000326] main private error: name = sout-transcode-ab [00000326] main private debug: set config option: sout-transcode-ab to 16 [00000326] main private error: name = sout-transcode-width [00000326] main private debug: set config option: sout-transcode-width to 206 [00000326] main private error: name = sout-transcode-height [00000326] main private debug: set config option: sout-transcode-height to 130 [00000326] main private error: name = sout-transcode-croptop [00000326] main private debug: set config option: sout-transcode-croptop to 20 [00000326] stream_out_transcode private debug: codec audio=mp3 0Hz 1 channels 1 6Kb/s [00000326] stream_out_transcode private debug: codec video=FLV1 206x130 scaling: 1,000000 96kb/s [00000326] main private debug: using sout stream module "stream_out_transcode" [00000324] main input debug: `http://mati.xan.duth.gr/axis-cgi/mjpg/video.cgi' g ives access `http' demux `' path `mati.xan.duth.gr/axis-cgi/mjpg/video.cgi' [00000324] main input debug: creating demux: access='http' demux='' path='mati.x an.duth.gr/axis-cgi/mjpg/video.cgi' [00000333] main demuxer debug: looking for access_demux module: 0 candidates [00000333] main demuxer warning: no access_demux module matched "http" [00000324] main input debug: creating access 'http' path='mati.xan.duth.gr/axis- cgi/mjpg/video.cgi' [00000334] main access debug: looking for access2 module: 2 candidates [00000334] access_http access debug: http: server='mati.xan.duth.gr' port=80 fil e='/axis-cgi/mjpg/video.cgi [00000334] main access debug: net: connecting to mati.xan.duth.gr port 80 [00000334] main access debug: connection in progress [00000319] main playlist debug: searching art for http://mati.xan.duth.gr/axis-c gi/mjpg/video.cgi [00000319] main playlist debug: looking for art finder module: 1 candidate [00000319] main playlist debug: unable to find art [00000319] main playlist debug: art not found for http://mati.xan.duth.gr/axis-c gi/mjpg/video.cgi [00000334] access_http access debug: protocol 'HTTP' answer code 200 [00000334] access_http access debug: Content-Type: multipart/x-mixed-replace;bou ndary=myboundary [00000334] main access debug: using access2 module "access_http" [00000335] main private debug: pre-buffering... [00000335] main private debug: received first data for our buffer [00000335] main private debug: pre-buffering done 103664 bytes in 0s - 117 kbyte s/s [00000324] main input debug: creating demux: access='http' demux='' path='mati.x an.duth.gr/axis-cgi/mjpg/video.cgi' [00000336] main demuxer debug: looking for demux2 module: 48 candidates [00000336] mjpeg demuxer debug: Multipart MIME detected, using separator: myboun dary [00000324] main input debug: selecting program id=0 [00000336] main demuxer debug: using demux2 module "mjpeg" [00000324] main input debug: looking for a subtitle file in C:\Program Files\Vid eoLAN\vlc-0.9.0-svn-20070823-0001\ [00000337] main packetizer debug: looking for packetizer module: 18 candidates [00000337] main packetizer debug: using packetizer module "packetizer_copy" [00000324] main input debug: stream out mode -> no decoder thread [00000324] main input debug: starting in sync mode [00000324] main input debug: `http://mati.xan.duth.gr/axis-cgi/mjpg/video.cgi' s uccessfully opened [00000336] mjpeg demuxer debug: MIME boundary not found in 15360 bytes of data [00000325] main stream output debug: adding a new input [00000326] stream_out_transcode private debug: creating video transcoding from f cc=`MJPG' to fcc=`FLV1' [00000338] main decoder debug: looking for decoder module: 29 candidates [00000338] ffmpeg decoder debug: libavcodec initialized (interface 3352580 ) [00000338] ffmpeg decoder debug: postprocessing disabled [00000338] ffmpeg decoder debug: using direct rendering Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. Do not report crashes to FFmpeg developers. [00000338] ffmpeg decoder debug: ffmpeg codec (Motion JPEG Video) started [00000338] main decoder debug: using decoder module "ffmpeg" [00000339] main encoder debug: looking for encoder module: 11 candidates [00000339] ffmpeg encoder debug: libavcodec already initialized [00000339] ffmpeg encoder debug: found encoder Flash Video [00000339] main encoder debug: using encoder module "ffmpeg" [00000339] main encoder debug: removing module "ffmpeg" [00000326] stream_out_transcode private debug: late picture skipped (1475000) [00000326] stream_out_transcode private debug: decoder aspect is 576000:432000 [00000326] stream_out_transcode private debug: source pixel aspect is 1,000000:1 [00000326] stream_out_transcode private debug: scaled pixel aspect is 0,917917:1 [00000326] stream_out_transcode private debug: source 320x240, crop 320x220, des tination 206x130, padding 206x130 [00000326] stream_out_transcode private debug: encoder aspect is 628364:432000 [00000339] main encoder debug: looking for encoder module: 11 candidates [00000339] ffmpeg encoder debug: libavcodec already initialized [00000339] ffmpeg encoder debug: found encoder Flash Video [00000339] main encoder debug: using encoder module "ffmpeg" [00000332] main private debug: adding a new input [00000332] ffmpeg private debug: adding input [00000340] main private debug: looking for crop padd module: 1 candidate [00000340] ffmpeg private debug: input: 206x130 -> 320x240 [00000340] ffmpeg private debug: input: 320x240 I422 -> 206x130 I420 [00000340] ffmpeg private debug: libavcodec already initialized [00000340] main private debug: using crop padd module "ffmpeg"

cookd
New Cone
New Cone
Posts: 4
Joined: 04 Sep 2007 23:00

Re: Status about streaming out FLV format

Postby cookd » 04 Sep 2007 23:13

Hi I'm new here,

and I'm writing cause I've the same streaming problem with FLV ... maybe the following will help to find out the bug.

using 20070717 on an old desktop machine with AMD Duron 1.3GHz with a quite lo-fi and old setup... the stream WORKS PERFECTLY!!!
same version with same command line on a CORE2DUO 7300 notebook with a lot of new stuff (SATA + nVidia video card + ICH8 chipset) ...the stream CRASH VLC!!!!

latest versions do not work with the new notebook too, I will try with the old and let you know...

maybe is related to SSE2 SSE3 instruction sets or something else hardware related (also desktop/notebook)?

hope this help... waiting for the news:)

cheers
stefano

cookd
New Cone
New Cone
Posts: 4
Joined: 04 Sep 2007 23:00

Re: Status about streaming out FLV format

Postby cookd » 04 Sep 2007 23:21

latest version 20070904 works and streams PERFECTLY on the old AMD pc...

same version on the new notebook CRASH!!!

stefabo

cookd
New Cone
New Cone
Posts: 4
Joined: 04 Sep 2007 23:00

Re: Status about streaming out FLV format

Postby cookd » 04 Sep 2007 23:38

forgot to say I'm on WinXP SP2 on both....

bye

cookd
New Cone
New Cone
Posts: 4
Joined: 04 Sep 2007 23:00

Re: Status about streaming out FLV format

Postby cookd » 08 Sep 2007 18:41

OK...actually I've also checked both stream to http and write to flv file seems to be the same..checked other vcodec too and crashed... so the problem must be in the #transcode somewhere ... the only way that don't crash VLC on the core2duo when streams is --no-mmx option at the command line


hope that help

bye
ste

pssara
New Cone
New Cone
Posts: 2
Joined: 23 Aug 2007 22:29

Re: Status about streaming out FLV format

Postby pssara » 21 Sep 2007 12:04

on the latest version i get :
Assertion failed: q>0.0, file ratecontrol.c, line 752


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 14 guests