Segmentation Fault ASF->FLV when ASF dies and VLC reconn

About encoding, codec settings, muxers and filter usage
Speed666
New Cone
New Cone
Posts: 9
Joined: 01 Apr 2007 19:57

Segmentation Fault ASF->FLV when ASF dies and VLC reconn

Postby Speed666 » 01 Apr 2007 20:01

Hello,
Sometimes my ASF source stream dies. VLC gets ASF stream and then transcode it to FLV. When asf dies, vlc tries to reconntect, but instead of auto reconntect - it dies with "Segmentation fault".

Here's log:

Code: Select all

[00000270] asf demuxer warning: cannot peek while getting new packet, EOF ? [00000258] main input debug: EOF reached [00000253] main playlist debug: finished input [00000253] main playlist debug: dying input [00000253] main playlist debug: dying input [00000253] main playlist debug: dying input [00000253] main playlist debug: dying input [00000269] asf private debug: free asf object 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 [00000269] asf private debug: free asf object 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca [00000269] asf private debug: free asf object 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 [00000269] asf private debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 [00000269] asf private debug: free asf object 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 [00000269] asf private debug: free asf object 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c [00000269] asf private debug: free asf object 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c [00000271] main packetizer debug: removing module "packetizer_mpeg4video" [00000271] main packetizer debug: killing decoder fourcc `MP4S', 0 PES in FIFO [00000259] main stream output debug: removing an input [00000272] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped [00000272] main decoder debug: removing module "ffmpeg" [00000273] main encoder debug: removing module "ffmpeg" [00000274] main private debug: removing module "deinterlace" [00000266] ffmpeg private debug: removing input [00000266] main private warning: no more input streams for this mux [00000258] main input debug: Program doesn't contain anymore ES [00000270] main demuxer debug: removing module "asf" [00000268] access_mms access debug: closing stream [00000268] main access debug: removing module "access_mms" [00000253] main playlist debug: dead input [00000258] main input debug: thread 4076862384 joined (input/input.c:466) [00000259] main stream output debug: sout has been kept [00000253] main playlist debug: starting new item [00000253] main playlist debug: changing item without a request (current 0/1) [00000253] main playlist debug: using item 0 [00000253] main playlist debug: creating new input thread [00000276] main input debug: waiting for thread completion [00000276] main input debug: sout keep: reusing sout [00000276] main input debug: sout keep: you probably want to use gather stream_out [00000276] main input debug: `mmsh://localhost:3128' gives access `mmsh' demux `' path `localhost:3128' [00000276] main input debug: creating demux: access='mmsh' demux='' path='locahost:3128' [00000277] main demuxer debug: looking for access_demux module: 0 candidates [00000277] main demuxer warning: no access_demux module matched "mmsh" [00000276] main input debug: creating access 'mmsh' path='localhost:3128' [00000278] main access debug: looking for access2 module: 1 candidate [00000278] main access debug: net: connecting to localhost port 3128 [00000278] main access debug: connection in progress [00000276] main input debug: thread 4076862384 (input) created at priority 0 (input/input.c:330) [00000253] main playlist debug: requesting art for mmsh://localhost:3128 [00000253] main playlist debug: art not found for mmsh://localhost:3128 [00000278] access_mms access debug: HTTP reply 'HTTP/1.0 200 OK' [00000278] access_mms access debug: stream type = broadcast [00000278] access_mms access debug: complete header size=0 [00000278] access_mms access error: header size == 0 [00000278] main access warning: no access2 module matching "mmsh" could be loaded [00000276] main input error: open of `mmsh://localhost:3128' failed: could not create access [00000260] main private debug: destroying chain... (name=transcode) [00000262] main private debug: destroying chain... (name=std) [00000263] access_output_http private warning: HTTP sout access cannot seek [00000263] access_output_http private warning: HTTP sout access cannot seek [00000263] access_output_http private warning: HTTP sout access cannot seek [00000266] main private debug: removing module "ffmpeg" [00000265] main http server warning: force closing connections [00000265] main http server debug: thread 4066372528 joined (network/httpd.c:1153) [00000265] main http server debug: HTTP host removed [00000264] main http server debug: no host left, stopping httpd [00000263] access_output_http private debug: Close [00000263] main private debug: removing module "access_output_http" [00000262] main private debug: removing module "stream_out_standard" [00000262] main private debug: destroying chain done [00000260] main private debug: removing module "stream_out_transcode" [00000260] main private debug: destroying chain done [00000253] main playlist debug: finished input [00000253] main playlist debug: dying input [00000253] main playlist debug: dead input [00000276] main input debug: thread 4076862384 joined (input/input.c:466) [00000253] main playlist debug: starting new item [00000253] main playlist debug: changing item without a request (current 0/1) [00000253] main playlist debug: using item 0 [00000253] main playlist debug: creating new input thread [00000280] main input debug: waiting for thread completion [00000281] main stream output debug: stream=`transcode' [00000282] main private debug: looking for sout stream module: 1 candidate [00000281] main stream output debug: stream=`std' [00000284] main private debug: looking for sout stream module: 1 candidate [00000280] main input debug: thread 4076862384 (input) created at priority 0 (input/input.c:330) [00000253] main playlist debug: requesting art for mmsh://localhost:3128 [00000253] main playlist debug: art not found for mmsh://localhost:3128 [00000284] main private debug: set config option: sout-standard-access to http [00000284] main private debug: set config option: sout-standard-dst to localhost:8086/stream.flv [00000284] stream_out_standard private debug: creating `http/(null)://localhost:8086/stream.flv' [00000284] stream_out_standard private debug: extension is flv [00000284] stream_out_standard private debug: extension -> mux=ffmpeg{mux=flv} [00000284] stream_out_standard private debug: using `http/ffmpeg{mux=flv}://localhost:8086/stream.flv' [00000285] main private debug: looking for sout access module: 1 candidate [00000285] main private: creating httpd [00000285] main private debug: net: listening to localhost port 8086 [00000287] main http server debug: thread 4066372528 (httpd host thread) created at priority 0 (network/httpd.c:1097) [00000285] main private debug: using sout access module "access_output_http" [00000284] stream_out_standard private debug: access opened [00000288] main private debug: looking for sout mux module: 1 candidate [00000288] main private debug: set config option: ffmpeg-mux to flv [00000288] main private debug: using sout mux module "ffmpeg" [00000284] stream_out_standard private debug: mux opened [00000284] main private debug: using sout stream module "stream_out_standard" [00000282] main private debug: set config option: sout-transcode-vcodec to FLV1 [00000282] main private debug: set config option: sout-transcode-vb to 1024 [00000282] main private debug: set config option: sout-transcode-deinterlace to (null) [00000282] main private warning: option hq is unknown [00000282] stream_out_transcode private debug: codec video=FLV1 0x0 scaling: 1.000000 1024kb/s [00000282] main private debug: using sout stream module "stream_out_transcode" [00000280] main input debug: `mmsh://localhost:3128' gives access `mmsh' demux `' path `localhost:3128' [00000280] main input debug: creating demux: access='mmsh' demux='' path='localhost:3128' [00000289] main demuxer debug: looking for access_demux module: 0 candidates [00000289] main demuxer warning: no access_demux module matched "mmsh" [00000280] main input debug: creating access 'mmsh' path='localhost:3128' [00000290] main access debug: looking for access2 module: 1 candidate [00000290] main access debug: net: connecting to localhost port 3128 [00000290] main access debug: connection in progress [00000290] access_mms access debug: HTTP reply 'HTTP/1.0 200 OK' [00000290] access_mms access debug: stream type = broadcast [00000290] access_mms access debug: complete header size=0 [00000290] access_mms access error: header size == 0 [00000290] main access warning: no access2 module matching "mmsh" could be loaded [00000280] main input error: open of `mmsh://localhost:3128' failed: could not create access [00000282] main private debug: destroying chain... (name=transcode) [00000284] main private debug: destroying chain... (name=std) Segmentation fault
VLC run with following command

Code: Select all

vlc -vvv mmsh://localhost:3128 --video --no-sout-audio --sout "#transcode{vcodec=FLV1,vb=1024,deinterlace,hq=rd}:std{access=http,dst=localhost:8086/stream.flv}" -vv --color -L --loop

Why it happens?

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

Postby dionoea » 01 Apr 2007 21:18

What VLC version are you using?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Speed666
New Cone
New Cone
Posts: 9
Joined: 01 Apr 2007 19:57

Postby Speed666 » 01 Apr 2007 22:28

Latest 0.9.0 from SVN - sorry i forgot to tell.

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

Postby dionoea » 01 Apr 2007 23:33

Well it's most likely a bug then :) Can you reproduce it with an mssh source available on the internet (so i can test)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Speed666
New Cone
New Cone
Posts: 9
Joined: 01 Apr 2007 19:57

Postby Speed666 » 05 Apr 2007 14:23

Hi, any news?

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

Postby dionoea » 05 Apr 2007 23:47

Well ... can you reply to my previous question?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 23 guests