VLC 1.1.0 git + x264 problems

About encoding, codec settings, muxers and filter usage
homer314
Blank Cone
Blank Cone
Posts: 17
Joined: 23 Jul 2009 17:31
VLC version: 1.0
Operating System: Ubuntu 9.04

VLC 1.1.0 git + x264 problems

Postby homer314 » 04 Mar 2010 12:23

Hi guys, i compiled lastest git + x264 0.88 and my goal is to encode to x264 + aac (and also to stream).

Here is my command line

Code: Select all

cvlc -I dummy -vvv --extraintf logger v4l2:// :v4l2-dev=/dev/video0 :v4l2-input=1 :v4l2-standard=5 \ :sout='#transcode{vcodec=x264,venc=x264,vb=1000,fps=25}:every tipe of output presents the problem..., also with venc=x264{options}'
But i allways get corrupted output and the " stream_out_transcode stream out debug: late picture skipped " message for all command progress.

Here is the log section that i think is most interessing (especially how the encoder looks for configs, i also tried to change the vlcrc file but nothing changed)

Code: Select all

0x955ef08] v4l2 demux debug: found default width and height of 720x576 [0x955ef08] v4l2 demux debug: will try to find optimal width and height. [0x955ef08] v4l2 demux debug: Found maximum framerate of -1.000000 [0x955ef08] v4l2 demux warning: Could not find optimal width and height, falling back to driver default. [0x955ef08] v4l2 demux debug: Driver requires at most 829440 bytes to store a complete image [0x955ef08] v4l2 demux debug: Interlacing setting: interleaved (bottom top if M/NTSC, top bottom otherwise) [0x955ef08] v4l2 demux debug: added new video es YUY2 720x576 [0xb2b005f0] main input debug: selecting program id=0 [0x955ef08] main demux debug: using access_demux module "v4l2" [0x955ef08] main demux debug: TIMER module_need() : 1328.914 ms - Total 1328.914 ms / 1 intvls (Avg 1328.914 ms) [0x96845b0] main decoder debug: looking for packetizer module: 21 candidates [0x96845b0] rawvideo decoder warning: invalid frame rate 0/0, using 25 fps instead [0x96845b0] main decoder debug: using packetizer module "rawvideo" [0x96845b0] main decoder debug: TIMER module_need() : 0.238 ms - Total 0.238 ms / 1 intvls (Avg 0.238 ms) [0x96845b0] main decoder debug: thread (decoder) created at priority 0 (../../src/input/decoder.c:301) [0x96845b0] main decoder debug: thread started [0xb2b005f0] main input debug: starting in async mode [0xb2b00710] main demux meta debug: looking for meta reader module: 2 candidates [0xb2b00710] lua demux meta debug: Trying Lua scripts in /home/websentinet/.local/share/vlc/lua/meta/reader [0xb2b00710] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader [0xb2b00710] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac [0xb2b00710] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader [0xb2b00710] main demux meta debug: no meta reader module matching "any" could be loaded [0xb2b00710] main demux meta debug: TIMER module_need() : 0.728 ms - Total 0.728 ms / 1 intvls (Avg 0.728 ms) [0xb2b005f0] main input debug: `v4l2://' successfully opened [0xb2b005f0] main input debug: Buffering 0% [0xb2b005f0] main input debug: switching to sync mode [0x9563fd0] main stream output debug: adding a new sout input (sout_input:0x9687b50) [0x9560460] stream_out_transcode stream out debug: creating video transcoding from fcc=`YUY2' to fcc=`x264' [0x9684d30] main generic debug: looking for decoder module: 31 candidates [0x9684d30] rawvideo generic warning: invalid frame rate 0/0, using 25 fps instead [0x9684d30] main generic debug: using decoder module "rawvideo" [0x9684d30] main generic debug: TIMER module_need() : 0.437 ms - Total 0.437 ms / 1 intvls (Avg 0.437 ms) [0x968b270] main encoder debug: looking for encoder module: 1 candidate [0x968b270] x264 encoder debug: version x264 0.88.X [0x968b270] main encoder warning: Could not inherit value for var sout-x264-analyse from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-analyse [0x968b270] main encoder warning: Could not inherit value for var sout-x264-filter from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-filter [0x968b270] main encoder warning: Could not inherit value for var sout-x264-frameref from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-frameref [0x968b270] main encoder warning: Could not inherit value for var sout-x264-keyint-min from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-keyint-min [0x968b270] main encoder warning: Could not inherit value for var sout-x264-loopfilter from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-loopfilter [0x968b270] main encoder warning: Could not inherit value for var sout-x264-qp-max from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-qp-max [0x968b270] main encoder warning: Could not inherit value for var sout-x264-qp-min from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-qp-min [0x968b270] main encoder warning: Could not inherit value for var sout-x264-subpel from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-subpel [0x968b270] main encoder warning: Could not inherit value for var sout-x264-tolerance from config. Invalid Type [0x968b270] main encoder error: cannot inherit value for sout-x264-tolerance x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64 x264 [info]: profile Main, level 5.1 [0x968b270] main encoder debug: using encoder module "x264" [0x968b270] main encoder debug: TIMER module_need() : 32.846 ms - Total 32.846 ms / 1 intvls (Avg 32.846 ms) [0x968b270] x264 encoder debug: framecount still in libx264 buffer: 0 [0x968b270] main encoder debug: removing module "x264" [0xb2b005f0] main input debug: Buffering 79% [0xb2b005f0] main input debug: Stream buffering done (79 ms in 79 ms) [0xb2b005f0] main input debug: Decoder buffering done in 0 ms [0x9560460] stream_out_transcode stream out debug: late picture skipped (41184) [0x9560460] stream_out_transcode stream out debug: late picture skipped (2620) [0x9560460] stream_out_transcode stream out debug: drift is too high, resetting master sync [0x9560460] stream_out_transcode stream out debug: decoder aspect is 1.333333:1 [0x9560460] stream_out_transcode stream out debug: source pixel aspect is 1.066667:1 [0x9560460] stream_out_transcode stream out debug: scaled pixel aspect is 1.066667:1 [0x9560460] stream_out_transcode stream out debug: source 720x576, destination 720x576 [0x9560460] stream_out_transcode stream out debug: encoder aspect is 11520:8640
How can i fix it ?
Thank's!

hillbilly1980
Blank Cone
Blank Cone
Posts: 13
Joined: 14 Oct 2008 04:07
VLC version: 1.1.4
Operating System: Ubuntu
Location: Nelson, BC
Contact:

Re: VLC 1.1.0 git + x264 problems

Postby hillbilly1980 » 15 Mar 2010 01:40

I'm seeing the same thing after upgraded to the 1.1.0 git, what used to record two video streams to a canvas just fine is not choppy. Complaints about late pictures and drift.
new record_session broadcast enabled
setup record_session input "fake://" option "fake-file=/usr/local/Gideo2/lib/background-light-branded.png" option "fake-ar 16:9" option "fake-fps 50" option "fake-width=1440" option "fake-height=720"
setup record_session output #transcode{sfilter=mosaic,scale=1,vcodec=h264,fps=50}:bridge-in:duplicate{dst=std{access=file,mux=mp4,dst="/usr/local/Gideo2/tmp/record_session.mp4"}}
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-analyse' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-analyse from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-analyse
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-filter' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-filter from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-filter
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-frameref' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-frameref from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-frameref
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-keyint-min' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-keyint-min from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-keyint-min
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-loopfilter' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-loopfilter from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-loopfilter
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-qp-max' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-qp-max from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-qp-max
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-qp-min' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-qp-min from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-qp-min
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-subpel' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-subpel from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-subpel
[0xb7202588] [Media: record_session] main encoder error: Creating the variable 'sout-x264-tolerance' without a type
[0xb7202588] [Media: record_session] main encoder warning: Could not inherit value for var sout-x264-tolerance from config. Invalid Type
[0xb7202588] [Media: record_session] main encoder error: cannot inherit value for sout-x264-tolerance
[0x901b658] [Media: record_session] main mux warning: late buffer for mux input (1076599)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: late picture skipped (189070)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: late picture skipped (151411)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: late picture skipped (113693)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: late picture skipped (75909)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: late picture skipped (38062)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: late picture skipped (253)
[0x900f450] [Media: record_session] stream_out_transcode stream out debug: drift is too high, resetting master sync


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 19 guests