Page 1 of 1

Brokem mp4 header because of late picture skipped

Posted: 02 Jan 2012 00:23
by dwildt
Dear ViedoLan-Team,
Thanks for the wonderful VLC server.

I suspect, there is a buggy workflow while building a mp4 header for a stream.

I don't have any problem with streams for *.sdp, *.h264 and *.flv, if the server starts without any message like "late picture skipped".
The mp4 header will delivered like in the code below:

Code: Select all

... [0x6fba80] main input debug: Buffering 96% [0x6fba80] main input debug: Buffering 99% ... [0x706410] mux_ogg mux debug: adding input [0x706410] mux_ogg mux debug: mp4v stream [0x706410] mux_ogg mux debug: writing header [0x706410] mux_ogg mux debug: creating header for mp4v [0x706410] mux_ogg mux debug: writing extra data ...
But if the server starts with a message like "late picture skipped", the mp4 header won't be completed and I can't receive any stream with the VLC client:

Code: Select all

... [0x6fba80] main input debug: Buffering 96% [0x6fba80] main input debug: Buffering 99% ... [0x706410] mux_ogg mux debug: adding input [0x706410] mux_ogg mux debug: mp4v stream [0x707300] stream_out_transcode stream out debug: late picture skipped (137334) [0x707300] stream_out_transcode stream out debug: late picture skipped (97896) [0x707300] stream_out_transcode stream out debug: late picture skipped (58411) [0x707300] stream_out_transcode stream out debug: late picture skipped (18913) ...
The mp4 header will delivered after canceling the stream (i.e. by <CTRL>+<C>) only, which doesn't have any effect because there isn't any stream any longer:

Code: Select all

^C [0x6fbcb0] signals interface error: Caught killing signal, exiting... ... [0x706410] mux_ogg mux debug: writing header [0x706410] mux_ogg mux debug: creating header for mp4v [0x706410] mux_ogg mux debug: writing extra data ...
Does someone have an idea, how to fix this problem?

Happy new year!
Dirk

Re: Brokem mp4 header because of late picture skipped

Posted: 02 Jan 2012 01:22
by Jean-Baptiste Kempf
VLC version?

Re: Brokem mp4 header because of late picture skipped

Posted: 04 Jan 2012 21:37
by dwildt
Dear Jean-Baptiste,
Thanks for your reply.

Version is

Code: Select all

VLC media player 1.1.13
I have compiled VLC by my own, because the SuSE 11.3 distribution provides a VLC 1.1.13 package, which is configured without the path to live555. I wasn't able to start a proper stream. I hadn't any idea, how to include the path.
I hadn't any problem with SuSE 11.0 and the VLC 1.0.4 package. But 1.0.4 was compiled with the path to live555.

I compiled

Code: Select all

[0x6090c0] main libvlc debug: configured with ./configure ... '--with-live555-tree=/opt/live' ...
My live555 is installed in /opt/live.

The whole configuration is

Code: Select all

[0x6090c0] main libvlc debug: configured with ./configure '--prefix=/opt/' '--enable-xvideo' '--enable-sdl' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-mad' '--enable-dvbpsi' '--enable-a52' '--enable-libmpeg2' '--enable-dvdnav' '--enable-faad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-faac' '--enable-mkv' '--enable-freetype' '--enable-fribidi' '--enable-speex' '--enable-flac' '--enable-live555' '--with-live555-tree=/opt/live' '--enable-caca' '--enable-skins2' '--enable-alsa' '--enable-qt4' '--enable-ncurses' '--disable-lua'
Do you have any idea, how to solve the problem with the mp4 header?

Kind regards
Dirk

Re: Brokem mp4 header because of late picture skipped

Posted: 05 Jan 2012 02:08
by Jean-Baptiste Kempf
No clue, then...