Hi !
thank's for your answer. I don't receive any error nor when i record the stream neither when i play the file, no segfault at all.
The sout string:
------------------
Code: Select all
sout=#duplicate{dst=display,dst=std{access=file,mux=mp4,dst="/tmp/test-enreg.mp4"}}
The end of the recording log:
------------------------------
Code: Select all
[00000413] main video output debug: using video output module "xvideo"
[00000413] main video output debug: waiting for thread completion
[00000413] main video output debug: got 8 direct buffer(s)
[00000413] main video output debug: picture in 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
[00000413] main video output debug: picture user 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
[00000413] main video output debug: picture out 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
[00000413] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000413] main video output debug: thread 2695642032 (video output) created at priority 0 (video_output/video_output.c:447)
[00000354] live555 demuxer debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[00000354] live555 demuxer debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[00000352] mux_mp4 private warning: i_length <= 0
[00000391] main audio output warning: received buffer in the future (197287950658602)
[00000391] main audio output warning: received buffer in the future (197287950722097)
[00000352] mux_mp4 private warning: i_length <= 0
[00000391] main audio output warning: audio drift is too big (-257767), clearing out
[00000391] main audio output warning: mixer start isn't output start (-66372)
[00000391] main audio output debug: audio output is starving (246681), playing silence
[00000391] alsa audio output debug: recovered from buffer underrun
[00000413] main video output warning: vout warning: early picture skipped (197287932492198)
[00000311] main playlist debug: incoming request - stopping current input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000342] main input debug: control type=0
[00000342] main input debug: control: stopping input
[00000342] main input debug: closing input
Sending request: TEARDOWN rtsp://localhost/mpeg4/media.amp RTSP/1.0
CSeq: 12
Session: 1718409847
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000357] main private debug: thread 2740439984 joined (live555.cpp:682)
[00000354] main demuxer debug: removing module "live555"
[00000358] main packetizer debug: removing module "packetizer_mpeg4video"
[00000358] main packetizer debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000343] main stream output debug: removing an input
[00000399] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000399] main decoder debug: removing module "ffmpeg"
[00000399] main decoder debug: thread 2704276400 joined (input/decoder.c:204)
[00000399] main decoder debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000352] mux_mp4 private debug: removing input
[00000378] main packetizer debug: removing module "packetizer_mpeg4audio"
[00000378] main packetizer debug: killing decoder fourcc `mp4a', 0 PES in FIFO
[00000343] main stream output debug: removing an input
[00000311] main playlist debug: dying input
[00000379] main decoder debug: removing module "faad"
[00000379] main decoder debug: thread 2729401264 joined (input/decoder.c:204)
[00000379] main decoder debug: killing decoder fourcc `mp4a', 10 PES in FIFO
[00000394] main private debug: removing module "bandlimited_resampler"
[00000391] main audio output debug: thread 2720877488 joined (alsa.c:729)
[00000391] main audio output debug: removing module "alsa"
[00000391] main audio output debug: removing module "trivial_mixer"
[00000352] mux_mp4 private debug: removing input
[00000352] main private warning: no more input streams for this mux
[00000342] main input debug: keeping sout
[00000311] main playlist debug: dead input
[00000342] main input debug: thread 2749324208 joined (input/input.c:435)
[00000342] main input warning: refcount is 1, delaying before deletion (id=342,type=-7)
[00000342] main input error: refcount is 1, delaying again (id=342,type=-7)
[00000342] main input error: waited too long, cancelling destruction (id=342,type=-7)
[00000311] main playlist debug: garbage collector destroying 1 vout
[00000413] main video output debug: removing module "xvideo"
[00000413] main video output debug: thread 2695642032 joined (video_output/video_output.c:488)
[00000344] main private debug: destroying chain... (name=duplicate)
[00000344] stream_out_duplicate private debug: closing a duplication
[00000346] main private debug: destroying chain... (name=display)
[00000346] main private debug: removing module "stream_out_display"
[00000346] main private debug: destroying chain done
[00000348] main private debug: destroying chain... (name=std)
[00000352] mux_mp4 private debug: Close
[00000352] mux_mp4 private debug: movie duration 25s
[00000352] mux_mp4 private debug: created 5 chunks (stco)
[00000352] mux_mp4 private debug: created 5 chunks (stco)
[00000352] main private debug: removing module "mux_mp4"
[00000350] access_output_file private debug: file access output closed
[00000350] main private debug: removing module "access_output_file"
[00000348] main private debug: removing module "stream_out_standard"
[00000348] main private debug: destroying chain done
[00000344] main private debug: removing module "stream_out_duplicate"
[00000344] main private debug: destroying chain done
[00000311] main playlist debug: thread -1506436176: possible condition deadlock at playlist/thread.c:204 (Connexion termin?e par expiration du d?lai d'attente)
The end of the playing log:
------------------------------
Code: Select all
[00000427] ffmpeg decoder debug: libavcodec already initialized
[00000427] ffmpeg decoder debug: postprocessing disabled
[00000427] ffmpeg decoder debug: using direct rendering
[00000427] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000427] main decoder debug: using decoder module "ffmpeg"
[00000427] main decoder debug: thread 2720877488 (decoder) created at priority 0 (input/decoder.c:172)
[00000416] main input debug: `/tmp/test-enreg.mp4' successfully opened
[00000424] mp4 demuxer debug: elst (0) gives 0ms (movie)-> 0ms (track)
[00000424] mp4 demuxer debug: track[Id 0x1] does not provide Sync Sample Box (stss)
[00000426] faad decoder warning: decoded zero sample
[00000426] faad decoder debug: AAC SBR (channels: 2, samplerate: 32000)
[00000391] main audio output debug: looking for audio output module: 3 candidates
[00000391] alsa audio output debug: opening ALSA device `default'
[00000391] main audio output debug: thread 2729401264 (aout) created at priority 0 (alsa.c:677)
[00000391] main audio output debug: using audio output module "alsa"
[00000391] main audio output debug: output 'fl32' 32000 Hz Stereo frame=1 samples/8 bytes
[00000391] main audio output debug: mixer 'fl32' 32000 Hz Stereo frame=1 samples/8 bytes
[00000391] main audio output debug: no need for any filter
[00000391] main audio output debug: looking for audio mixer module: 3 candidates
[00000391] main audio output debug: using audio mixer module "trivial_mixer"
[00000311] main playlist debug: thread -1506436176: possible condition deadlock at playlist/thread.c:204 (Connexion termin?e par expiration du d?lai d'attente)
[00000391] main audio output debug: input 'fl32' 32000 Hz Stereo frame=1 samples/8 bytes
[00000391] main audio output debug: filter(s) 'fl32'->'fl32' 35200 Hz->32000 Hz Stereo->Stereo
[00000428] main private debug: looking for audio filter module: 24 candidates
[00000428] main private debug: using audio filter module "bandlimited_resampler"
[00000391] main audio output debug: found a filter for the whole conversion
[00000334] main private debug: thread -1498043472: possible condition deadlock at playlist/engine.c:593 (Connexion termin?e par expiration du d?lai d'attente)
[00000427] main decoder debug: no usable vout present, spawning one
[00000429] main video output debug: window size: 640x480
[00000429] main video output debug: looking for video output module: 6 candidates
[00000429] xvideo video output debug: adaptor 0, port 65, format 0x32315659 (YV12) planar
[00000429] xvideo video output debug: Window manager supports NetWM
[00000429] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN
[00000429] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE
[00000429] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW
[00000429] xvideo video output debug: Window manager supports _NET_WM_STATE_STAYS_ON_TOP
[00000429] main video output debug: using video output module "xvideo"
[00000429] main video output debug: waiting for thread completion
[00000429] main video output debug: got 8 direct buffer(s)
[00000429] main video output debug: picture in 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
[00000429] main video output debug: picture user 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
[00000429] main video output debug: picture out 640x480 (0,0,640x480), chroma I420, ar 4:3, sar 1:1
[00000429] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000429] main video output debug: thread 2704276400 (video output) created at priority 0 (video_output/video_output.c:447)
[00000424] mp4 demuxer warning: elst old=0 new=1
[00000391] main audio output warning: computed PTS is out of range (122452), clearing out
[00000391] main audio output warning: PTS is out of range (123039), dropping buffer
[00000391] main audio output warning: output PTS is out of range (125638), clearing out
[00000391] main audio output warning: PTS is out of range (86436), dropping buffer
[00000391] main audio output warning: PTS is out of range (46770), dropping buffer
[00000391] main audio output warning: PTS is out of range (-14248), dropping buffer
[00000391] main audio output debug: audio output is starving (53382), playing silence
[00000429] main video output warning: late picture skipped (10592)
[00000391] alsa audio output debug: recovered from buffer underrun
[00000426] main decoder debug: thread -1545643088: possible condition deadlock at misc/block.c:228 (Connexion termin?e par expiration du d?lai d'attente)
[00000416] main input debug: EOF reached
[00000416] main input debug: waiting decoder fifos to empty
[00000311] main playlist debug: finished input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000311] main playlist debug: dying input
[00000416] main input debug: closing input
[00000424] mp4 demuxer debug: freeing all memory
[00000424] main demuxer debug: removing module "mp4"
[00000420] main access debug: removing module "access_file"
[00000311] main playlist debug: dying input
[00000426] main decoder debug: removing module "faad"
[00000426] main decoder debug: thread 2749324208 joined (input/decoder.c:204)
[00000426] main decoder debug: killing decoder fourcc `mp4a', 0 PES in FIFO
[00000428] main private debug: removing module "bandlimited_resampler"
[00000391] main audio output debug: thread 2729401264 joined (alsa.c:729)
[00000391] main audio output debug: removing module "alsa"
[00000391] main audio output debug: removing module "trivial_mixer"
[00000311] main playlist debug: dying input
[00000427] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000427] main decoder debug: removing module "ffmpeg"
[00000427] main decoder debug: thread 2720877488 joined (input/decoder.c:204)
[00000427] main decoder debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000311] main playlist debug: dead input
[00000416] main input debug: thread 2695642032 joined (input/input.c:435)
[00000311] main playlist debug: starting new item
[00000311] main playlist debug: changing item without a request (current 1/2)
[00000311] main playlist debug: nothing to play
[00000311] main playlist debug: garbage collector destroying 1 vout
[00000429] main video output debug: removing module "xvideo"
[00000429] main video output debug: thread 2704276400 joined (video_output/video_output.c:488)
[00000311] main playlist debug: thread -1506436176: possible condition deadlock at playlist/thread.c:204 (Connexion termin?e par expiration du d?lai d'attente)
Results: no problem when recording, sound and video on the playback interface, but only 3 secs of sound when playing the file
Thank's,
Laurent
edit: just add code tag.