VLC 1.0.3 x264 encoder Installation

*nix specific usage questions
HypnoBeard
New Cone
New Cone
Posts: 5
Joined: 24 Nov 2010 03:04

VLC 1.0.3 x264 encoder Installation

Postby HypnoBeard » 24 Nov 2010 03:31

Hi Guys,

I'm a little confused about some aspects of VLC transcoding. I've been trawling forums and googling all day. Progress is slow, and my frustration is mounting, so I thought I'd post and see what comes back.

I'm running Fedora 10: 2.6.27.12-170.2.5.fc10.i686 and am currently limited to this platform.

I'm running: VLC media player 1.0.3 Goldeneye which was installed from the rpmfusion repos using

Code: Select all

yum install vlc
VLC runs nicely, and I've made some progress with my transcoding experiments. I've got some MPEG2 files which were created from the hardware encoder output of a Hauppauge PVR150. I'm trying to transcode these into FLV format for some rudimentary streaming. I've managed to do this using the commandline:

Code: Select all

vlc /home/streamtest/mpeg2vid.mpeg2 --sout "#transcode{vcodec=FLV1,vb=500,acodec=aac,samplerate=22050}:std{access=http{mime=video/x-flv},dst=192.168.2.165:1234/stream.flv}" --loop
This is all well and good, and I can use a flash client application to view the steram. Nice.

However, the video codec FLV1 is a H263 format. I need to encapsulate H264 video into an FLV file for streaming.

From what I understand, the x264 codec can be used to do the encoding. I've installed x264 via yum. Installed version:

Code: Select all

x264-0.0.0-0.20.20080905.fc10.i386
What I'd like to do is encode the source mpeg2 into the FLV container using x264 as the video encoder. The command line:

Code: Select all

vlc /home/streamtest/mpeg2vid.mpeg2 --sout "#transcode{vcodec=x264,vb=500,acodec=aac,samplerate=22050}:std{access=http{mime=video/x-flv},dst=192.168.2.165:1234/stream.flv}" --loop
Gives the output:

Code: Select all

VLC media player 1.0.3 Goldeneye [0x9a438a8] main libvlc debug: VLC media player - version 1.0.3 Goldeneye - (c) 1996-2009 the VideoLAN team [0x9a438a8] main libvlc debug: libvlc was configured with ./configure '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--disable-rpath' '--enable-release' '--with-binary-version=1.0.3-1.fc10' '--with-tuning=no' '--enable-switcher' '--enable-lua' '--enable-live555' '--enable-dv' '--enable-opencv' '--enable-pvr' '--enable-gnomevfs' '--enable-cddax' '--enable-wma-fixed' '--disable-x264' '--enable-shine' '--enable-faad' '--disable-faac' '--enable-twolame' '--enable-real' '--enable-realrtsp' '--enable-flac' '--enable-tremor' '--enable-speex' '--enable-tarkin' '--enable-theora' '--enable-dirac' '--enable-libass' '--enable-shout' '--enable-xcb' '--enable-svg' '--enable-snapshot' '--enable-svgalib' '--enable-xvmc' '--enable-directfb' '--enable-aa' '--enable-caca' '--enable-jack' '--enable-portaudio' '--enable-pulse' '--enable-ncurses' '--enable-xosd' '--enable-fbosd' '--enable-galaktos' '--enable-lirc' '--enable-loader' '--enable-mozilla' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig' [0x9a438a8] main libvlc debug: translation test: code is "C" [0x9a438a8] main libvlc debug: checking plugin modules [0x9a438a8] main libvlc debug: loading plugins cache file /home/MAIAUser/.cache/vlc/plugins-04041e.dat [0x9a438a8] main libvlc debug: recursively browsing `/usr/lib/vlc' [0x9a438a8] main libvlc debug: module bank initialized (405 modules) [0x9a438a8] main libvlc debug: opening config file (/home/MAIAUser/.config/vlc/vlcrc) [0x9a438a8] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [0x9a438a8] main libvlc debug: looking for memcpy module: 3 candidates [0x9a438a8] main libvlc debug: using memcpy module "memcpymmxext" [0x9aef3c8] main input debug: Creating an input for 'Media Library' [0x9aef3c8] main input debug: Input is a meta file: disabling unneeded options [0x9aef3c8] main input debug: using timeshift granularity of 50 MBytes [0x9aef3c8] main input debug: using timeshift path '/tmp' [0x9aef3c8] main input debug: `file/xspf-open:///home/MAIAUser/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/MAIAUser/.local/share/vlc/ml.xspf' [0x9aef3c8] main input debug: creating demux: access='file' demux='xspf-open' path='/home/MAIAUser/.local/share/vlc/ml.xspf' [0x9ae8748] main demux debug: looking for access_demux module: 1 candidate [0x9ae8748] main demux warning: no access_demux module matching "file" could be loaded [0x9ae8748] main demux debug: TIMER module_need() : 0.713 ms - Total 0.713 ms / 1 intvls (Avg 0.713 ms) [0x9aef3c8] main input debug: creating access 'file' path='/home/MAIAUser/.local/share/vlc/ml.xspf' [0x9aedbc0] main access debug: looking for access module: 3 candidates [0x9aedbc0] access_file access debug: opening file `/home/MAIAUser/.local/share/vlc/ml.xspf' [0x9aedbc0] main access debug: using access module "access_file" [0x9aedbc0] main access debug: TIMER module_need() : 0.562 ms - Total 0.562 ms / 1 intvls (Avg 0.562 ms) [0x9aff090] main stream debug: Using AStream*Stream [0x9aff090] main stream debug: pre buffering [0x9aff090] main stream debug: received first data after 0 ms [0x9aff090] main stream debug: pre-buffering done 296 bytes in 0s - 14453 kbytes/s [0x9aff760] main stream debug: looking for stream_filter module: 4 candidates [0x9aff760] main stream debug: TIMER module_need() : 0.620 ms - Total 0.620 ms / 1 intvls (Avg 0.620 ms) [0x9aff760] main stream debug: looking for stream_filter module: 1 candidate [0x9aff760] main stream debug: using stream_filter module "stream_filter_record" [0x9aff760] main stream debug: TIMER module_need() : 0.170 ms - Total 0.170 ms / 1 intvls (Avg 0.170 ms) [0x9aef3c8] main input debug: creating demux: access='file' demux='xspf-open' path='/home/MAIAUser/.local/share/vlc/ml.xspf' [0x9af2ce0] main demux debug: looking for demux module: 1 candidate [0x9af2ce0] playlist demux debug: using XSPF playlist reader [0x9af2ce0] main demux debug: using demux module "playlist" [0x9af2ce0] main demux debug: TIMER module_need() : 0.271 ms - Total 0.271 ms / 1 intvls (Avg 0.271 ms) [0x9aef3c8] main input debug: `file/xspf-open:///home/MAIAUser/.local/share/vlc/ml.xspf' successfully opened [0x9af37c8] main xml debug: looking for xml module: 2 candidates [0x9af37c8] main xml debug: using xml module "xml" [0x9af37c8] main xml debug: TIMER module_need() : 0.490 ms - Total 0.490 ms / 1 intvls (Avg 0.490 ms) [0x9af2ce0] playlist demux debug: parsed 0 tracks successfully [0x9af37c8] main xml debug: removing module "xml" [0x9aef3c8] main input debug: EOF reached [0x9af2ce0] main demux debug: removing module "playlist" [0x9aff760] main stream debug: removing module "stream_filter_record" [0x9aedbc0] main access debug: removing module "access_file" [0x9aef3c8] main input debug: TIMER input launching for 'Media Library' : 6.491 ms - Total 6.491 ms / 1 intvls (Avg 6.491 ms) [0x9afcc08] main playlist debug: rebuilding array of current - root Playlist [0x9afcc08] main playlist debug: rebuild done - 0 items, index -1 [0x9afcc08] main playlist debug: Activated [0x9b01c18] main interface debug: looking for interface module: 1 candidate [0x9b01c18] main interface debug: using interface module "hotkeys" [0x9b01c18] main interface debug: TIMER module_need() : 0.324 ms - Total 0.324 ms / 1 intvls (Avg 0.324 ms) [0x9b01c18] main interface debug: thread started [0x9b01c18] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9b00288] main interface debug: looking for interface module: 1 candidate [0x9b00288] main interface debug: using interface module "inhibit" [0x9b00288] main interface debug: TIMER module_need() : 2.086 ms - Total 2.086 ms / 1 intvls (Avg 2.086 ms) [0x9b00288] main interface debug: thread started [0x9b00288] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9aff0f8] main interface debug: looking for interface module: 1 candidate [0x9aff0f8] main interface debug: using interface module "screensaver" [0x9aff0f8] main interface debug: TIMER module_need() : 0.219 ms - Total 0.219 ms / 1 intvls (Avg 0.219 ms) [0x9aff0f8] main interface debug: thread started [0x9aff0f8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9afcc08] main playlist debug: adding item `mpeg2vid.mpeg2' ( /home/streamtest/mpeg2vid.mpeg2 ) [0x9a43db0] main interface debug: looking for interface module: 1 candidate [0x9a43db0] main interface debug: using interface module "signals" [0x9a43db0] main interface debug: TIMER module_need() : 0.239 ms - Total 0.239 ms / 1 intvls (Avg 0.239 ms) [0x9a43db0] main interface debug: thread started [0x9a43db0] main interface debug: thread ended [0x9a43db0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9af5880] main interface debug: looking for interface module: 1 candidate [0x9af5880] main interface debug: using interface module "globalhotkeys" [0x9af5880] main interface debug: TIMER module_need() : 194.581 ms - Total 194.581 ms / 1 intvls (Avg 194.581 ms) [0x9af5880] main interface debug: thread started [0x9af5880] main interface debug: thread ended [0x9af5880] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9a438a8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0xb77005b8] main interface debug: looking for interface module: 6 candidates [0xb77005b8] main interface debug: using interface module "qt4" [0xb77005b8] main interface debug: TIMER module_need() : 167.228 ms - Total 167.228 ms / 1 intvls (Avg 167.228 ms) [0xb77005b8] main interface debug: thread started [0xb77005b8] main interface debug: thread ended [0xb77005b8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x9afcc08] main playlist debug: rebuilding array of current - root Playlist [0x9afcc08] main playlist debug: rebuild done - 1 items, index -1 [0x9afcc08] main playlist debug: processing request item null node Playlist skip 0 [0x9afcc08] main playlist debug: starting new item [0x9afcc08] main playlist debug: creating new input thread [0x9af6a28] main input debug: Creating an input for 'mpeg2vid.mpeg2' [0xb77005b8] qt4 interface debug: Error while initializing qt-specific localization [0x9af6a28] main input debug: thread started [0x9af6f00] main stream output debug: stream=`transcode' [0x9af7070] main stream out debug: looking for sout stream module: 1 candidate [0x9af6f00] main stream output debug: stream=`std' [0x9dd5b08] main stream out debug: looking for sout stream module: 1 candidate [0x9dd5b08] main stream out debug: set config option: sout-standard-access to http{mime=video/x-flv} [0x9dd5b08] main stream out debug: set config option: sout-standard-dst to 192.168.2.165:1234/stream.flv [0x9dd5b08] stream_out_standard stream out debug: creating `http{mime=video/x-flv}/(null)://192.168.2.165:1234/stream.flv' [0x9dd5b08] stream_out_standard stream out debug: extension is flv [0x9dd5b08] stream_out_standard stream out debug: extension -> mux=ffmpeg{mux=flv} [0x9dd5b08] stream_out_standard stream out debug: using `http{mime=video/x-flv}/ffmpeg{mux=flv}://192.168.2.165:1234/stream.flv' [0x9dd8e28] main access out debug: looking for sout access module: 1 candidate [0x9dd8e28] main access out debug: set config option: sout-http-mime to video/x-flv [0x9dd8e28] main access out: creating httpd [0x9dd8e28] main access out debug: net: listening to 192.168.2.165 port 1234 [0x9af6a28] main input debug: thread (input) created at priority 10 (input/input.c:230) [0x9dd8e28] main access out debug: using sout access module "access_output_http" [0x9dd8e28] main access out debug: TIMER module_need() : 1.409 ms - Total 1.409 ms / 1 intvls (Avg 1.409 ms) [0x9dd5b08] stream_out_standard stream out debug: access opened [0x9dda108] main mux debug: looking for sout mux module: 1 candidate [0x9dda108] main mux debug: set config option: ffmpeg-mux to flv [0x9dda108] main mux debug: using sout mux module "avformat" [0x9dda108] main mux debug: TIMER module_need() : 14.025 ms - Total 14.025 ms / 1 intvls (Avg 14.025 ms) [0x9dd5b08] stream_out_standard stream out debug: mux opened [0x9dd5b08] main stream out debug: using sout stream module "stream_out_standard" [0x9dd5b08] main stream out debug: TIMER module_need() : 17.233 ms - Total 17.233 ms / 1 intvls (Avg 17.233 ms) [0x9af7070] main stream out debug: set config option: sout-transcode-vcodec to x264 [0x9af7070] main stream out debug: set config option: sout-transcode-vb to 500 [0x9af7070] main stream out debug: set config option: sout-transcode-acodec to aac [0x9af7070] main stream out debug: set config option: sout-transcode-samplerate to 22050 [0x9af7070] stream_out_transcode stream out debug: codec audio=aac 22050Hz 0 channels 0Kb/s [0x9af7070] stream_out_transcode stream out debug: codec video=x264 0x0 scaling: 1.000000 500kb/s [0x9af7070] main stream out debug: using sout stream module "stream_out_transcode" [0x9af7070] main stream out debug: TIMER module_need() : 21.922 ms - Total 21.922 ms / 1 intvls (Avg 21.922 ms) [0x9af6a28] main input debug: using timeshift granularity of 50 MBytes [0x9af6a28] main input debug: using timeshift path '/tmp' [0x9af6a28] main input debug: `/home/streamtest/mpeg2vid.mpeg2' gives access `' demux `' path `/home/streamtest/mpeg2vid.mpeg2' [0x9af6a28] main input debug: creating demux: access='' demux='' path='/home/streamtest/mpeg2vid.mpeg2' [0x9dd5280] main demux debug: looking for access_demux module: 6 candidates [0x9dd5280] main demux debug: TIMER module_need() : 0.879 ms - Total 0.879 ms / 1 intvls (Avg 0.879 ms) [0x9af6a28] main input debug: creating access '' path='/home/streamtest/mpeg2vid.mpeg2' [0x9dede70] main access debug: looking for access module: 8 candidates [0x9dede70] vcd access debug: trying .cue file: /home/streamtest/mpeg2vid.cue [0x9dede70] vcd access debug: could not find .cue file [0x9dede70] access_file access debug: opening file `/home/streamtest/mpeg2vid.mpeg2' [0x9dede70] main access debug: using access module "access_file" [0x9dede70] main access debug: TIMER module_need() : 0.504 ms - Total 0.504 ms / 1 intvls (Avg 0.504 ms) [0x9decb80] main stream debug: Using AStream*Stream [0x9decb80] main stream debug: pre buffering [0x9decb80] main stream debug: received first data after 0 ms [0x9decb80] main stream debug: pre-buffering done 1024 bytes in 0s - 76923 kbytes/s [0x9ded438] main stream debug: looking for stream_filter module: 4 candidates [0x9ded438] main stream debug: TIMER module_need() : 0.058 ms - Total 0.058 ms / 1 intvls (Avg 0.058 ms) [0x9ded340] main stream debug: looking for stream_filter module: 1 candidate [0x9ded340] main stream debug: using stream_filter module "stream_filter_record" [0x9ded340] main stream debug: TIMER module_need() : 0.059 ms - Total 0.059 ms / 1 intvls (Avg 0.059 ms) [0x9af6a28] main input debug: creating demux: access='' demux='' path='/home/streamtest/mpeg2vid.mpeg2' [0x9ded528] main demux debug: looking for demux module: 51 candidates [0x9ded528] main demux debug: using demux module "ps" [0x9ded528] main demux debug: TIMER module_need() : 11.136 ms - Total 11.136 ms / 1 intvls (Avg 11.136 ms) [0x9af6a28] main input debug: looking for a subtitle file in /home/streamtest/ [0x9af6a28] main input debug: starting in async mode [0x9af6a28] main input debug: `/home/streamtest/mpeg2vid.mpeg2' successfully opened [0x9ded528] ps demux warning: garbage at input, trying to resync... [0x9ded528] ps demux warning: found sync code [0x9ded528] ps demux debug: we found a length of: 1906560000 [0x9af6a28] main input debug: selecting program id=0 [0x9defe50] main packetizer debug: looking for packetizer module: 21 candidates [0x9defe50] main packetizer debug: using packetizer module "packetizer_mpegvideo" [0x9defe50] main packetizer debug: TIMER module_need() : 1.940 ms - Total 1.940 ms / 1 intvls (Avg 1.940 ms) [0x9defe50] main packetizer debug: thread (decoder) created at priority 0 (input/decoder.c:315) [0x9defe50] main packetizer debug: thread started [0xb77005b8] qt4 interface debug: IM: Setting an input [0xb77005b8] qt4 interface debug: Updating the geometry [0xb77005b8] qt4 interface debug: Updating the geometry [0x9af6a28] main input debug: switching to sync mode [0x9defe50] packetizer_mpegvideo packetizer debug: size 720x576 fps=25.000 [0x9e29128] main packetizer debug: looking for packetizer module: 21 candidates [0x9e29128] main packetizer debug: using packetizer module "mpeg_audio" [0x9e29128] main packetizer debug: TIMER module_need() : 0.413 ms - Total 0.413 ms / 1 intvls (Avg 0.413 ms) [0x9e29128] main packetizer debug: thread started [0x9e29128] main packetizer debug: thread (decoder) created at priority 5 (input/decoder.c:315) [0x9af6a28] main input debug: Buffering 0% [0x9af6a28] main input debug: Buffering 0% [0x9af6a28] main input debug: Buffering 0% [0x9af6a28] main input debug: Buffering 0% [0x9af6a28] main input debug: Buffering 13% [0x9af6a28] main input debug: Buffering 13% [0x9af6a28] main input debug: Buffering 13% [0x9e29128] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:256 [0x9af6f00] main stream output debug: adding a new sout input (sout_input:0x9cdc8b0) [0x9af7070] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`aac ' [0x9e2e248] main decoder debug: looking for decoder module: 36 candidates [0x9af6a28] main input debug: Buffering 13% [0x9af6a28] main input debug: Buffering 13% [0x9af6a28] main input debug: Buffering 13% [0x9af6a28] main input debug: Buffering 13% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 26% [0x9af6a28] main input debug: Buffering 40% [0x9af6a28] main input debug: Buffering 40% [0x9af6a28] main input debug: Buffering 40% [0x9af6a28] main input debug: Buffering 40% [0x9af6a28] main input debug: Buffering 40% [0x9af6a28] main input debug: Buffering 53% [0x9af6a28] main input debug: Buffering 53% [0x9af6a28] main input debug: Buffering 53% [0x9af6a28] main input debug: Buffering 53% [0x9af6a28] main input debug: Buffering 53% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 66% [0x9af6a28] main input debug: Buffering 80% [0x9af6a28] main input debug: Buffering 80% [0x9af6a28] main input debug: Buffering 80% [0x9af6a28] main input debug: Buffering 80% [0x9af6a28] main input debug: Buffering 80% [0x9af6a28] main input debug: Buffering 93% [0x9af6a28] main input debug: Buffering 93% [0x9af6a28] main input debug: Buffering 93% [0x9af6a28] main input debug: Buffering 93% [0x9af6a28] main input debug: Buffering 93% [0x9af6a28] main input debug: Stream buffering done (320 ms in 17 ms) [0x9e2e248] main decoder debug: using decoder module "mpeg_audio" [0x9e2e248] main decoder debug: TIMER module_need() : 17.387 ms - Total 17.387 ms / 1 intvls (Avg 17.387 ms) [0x9e2eba8] main encoder debug: looking for encoder module: 12 candidates [0x9e2eba8] avcodec encoder debug: libavcodec initialized (interface 0x334700) [0x9af6f00] main stream output debug: adding a new sout input (sout_input:0x9cc3988) [0x9e2eba8] avcodec encoder debug: found encoder MPEG AAC Audio [0x9e2eba8] main encoder debug: using encoder module "avcodec" [0x9e2eba8] main encoder debug: TIMER module_need() : 17.195 ms - Total 17.195 ms / 1 intvls (Avg 17.195 ms) [0x9af7070] stream_out_transcode stream out debug: Looking for filter (mpga->s16l, channels 2->2, rate 48000->22050) [0x9e47428] main filter debug: looking for audio filter2 module: 8 candidates [0x9e47428] mpgatofixed32 filter debug: mpga->fl32, bits per sample: 0 [0x9e47428] main filter debug: using audio filter2 module "mpgatofixed32" [0x9e47428] main filter debug: TIMER module_need() : 1.259 ms - Total 1.259 ms / 1 intvls (Avg 1.259 ms) [0x9af7070] main stream out debug: Filter 'mpgatofixed32' (0x9e47428) appended to chain [0x9ec0538] main filter debug: looking for audio filter2 module: 8 candidates [0x9ec0538] bandlimited_resampler filter debug: fl32/48000KHz/2->fl32/22050KHz/2 [0x9ec0538] main filter debug: using audio filter2 module "bandlimited_resampler" [0x9ec0538] main filter debug: TIMER module_need() : 0.405 ms - Total 0.405 ms / 1 intvls (Avg 0.405 ms) [0x9af7070] main stream out debug: Filter 'bandlimited_resampler' (0x9ec0538) appended to chain [0x9ec7b28] main filter debug: looking for audio filter2 module: 8 candidates [0x9ec7b28] audio_format filter debug: fl32->s16l, bits per sample: 32->16 [0x9ec7b28] main filter debug: using audio filter2 module "audio_format" [0x9ec7b28] main filter debug: TIMER module_need() : 0.401 ms - Total 0.401 ms / 1 intvls (Avg 0.401 ms) [0x9af7070] main stream out debug: Filter 'audio_format' (0x9ec7b28) appended to chain [0x9af7070] stream_out_transcode stream out debug: Got complete audio filter chain [0x9dda108] main mux debug: adding a new input [0x9dda108] avformat mux debug: adding input [0x9af7070] stream_out_transcode stream out debug: creating video transcoding from fcc=`mpgv' to fcc=`x264' [0x9ec8e58] main decoder debug: looking for decoder module: 36 candidates [0x9ec8e58] main decoder debug: using decoder module "libmpeg2" [0x9ec8e58] main decoder debug: TIMER module_need() : 0.296 ms - Total 0.296 ms / 1 intvls (Avg 0.296 ms) [0x9ec91b0] main encoder debug: looking for encoder module: 12 candidates [0x9ec91b0] avcodec encoder debug: libavcodec already initialized [0x9ec91b0] avcodec encoder debug: found encoder H264 - MPEG-4 AVC (part 10) [0x9ec91b0] main encoder debug: using encoder module "avcodec" [0x9ec91b0] main encoder debug: TIMER module_need() : 3.131 ms - Total 3.131 ms / 1 intvls (Avg 3.131 ms) [0x9ec91b0] main encoder debug: removing module "avcodec" [0x9af6a28] main input debug: Decoder buffering done in 30 ms [0x9ec8e58] libmpeg2 decoder debug: 720x576 (display 720,576), aspect 576000, sar 16:15, 25.000 fps [0x9ec8e58] main decoder warning: dts != current_pts (-87546552566) [0x9ec8e58] main decoder warning: decoder synchro warning: pts != current_date (-40000) [0x9af7070] stream_out_transcode stream out debug: late picture skipped (3232) [0x9af7070] stream_out_transcode stream out debug: decoder aspect is 576000:432000 [0x9af7070] stream_out_transcode stream out debug: source pixel aspect is 1.066667:1 [0x9af7070] stream_out_transcode stream out debug: scaled pixel aspect is 1.066667:1 [0x9af7070] stream_out_transcode stream out debug: source 720x576, destination 720x576 [0x9af7070] stream_out_transcode stream out debug: encoder aspect is 576000:432000 [0x9af7070] stream_out_transcode stream out debug: destination (after video filters) 720x576 [0x9ec91b0] main encoder debug: looking for encoder module: 12 candidates [0x9ec91b0] avcodec encoder debug: libavcodec already initialized [0x9ec91b0] avcodec encoder debug: found encoder H264 - MPEG-4 AVC (part 10) [0x9ec91b0] main encoder debug: using encoder module "avcodec" [0x9ec91b0] main encoder debug: TIMER module_need() : 1.815 ms - Total 1.815 ms / 1 intvls (Avg 1.815 ms) [0x9dda108] main mux debug: adding a new input [0x9dda108] avformat mux debug: adding input [0x9e2e248] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:256 [0xb77005b8] qt4 interface debug: Updating the geometry [0xb77005b8] qt4 interface debug: Updating the geometry [0xb77005b8] qt4 interface debug: Updating the geometry [0xb77005b8] qt4 interface debug: Updating the geometry [0xb77005b8] qt4 interface debug: Updating the geometry [0x9dda108] avformat mux debug: writing header *** glibc detected *** vlc: munmap_chunk(): invalid pointer: 0x09fb86f0 *** ======= Backtrace: ========= /lib/libc.so.6[0x6bf394] /usr/lib/i686/libavutil.so.49(av_freep+0x16)[0xbde026] /usr/lib/i686/libavformat.so.52(ff_avc_parse_nal_units+0x151)[0x8a2cc11] /usr/lib/i686/libavformat.so.52[0x8a2b93d] /usr/lib/i686/libavformat.so.52(av_write_frame+0x32)[0x8a0a032] /usr/lib/vlc/demux/libavformat_plugin.so[0xb2cfd5] /usr/lib/libvlccore.so.2(sout_MuxSendBuffer+0xbb)[0x1cd2cb] /usr/lib/vlc/stream_out/libstream_out_standard_plugin.so[0x9a28c2] /usr/lib/vlc/stream_out/libstream_out_transcode_plugin.so[0xa8a3ea] /usr/lib/libvlccore.so.2[0x1cdd5e] /usr/lib/libvlccore.so.2[0x15fd07] /usr/lib/libvlccore.so.2[0x16078d] /usr/lib/libvlccore.so.2[0x1b4538] /lib/libpthread.so.0[0x7fe51f] /lib/libc.so.6(clone+0x5e)[0x73401e] ======= Memory map: ======== 00101000-0011e000 r-xp 00000000 fd:00 1340017 /usr/lib/libvlc.so.2.2.1 0011e000-0011f000 rw-p 0001c000 fd:00 1340017 /usr/lib/libvlc.so.2.2.1 0011f000-00120000 r-xp 00000000 fd:00 2204491 /usr/lib/vlc/codec/libt140_plugin.so 00120000-00121000 rw-p 00000000 fd:00 2204491 /usr/lib/vlc/codec/libt140_plugin.so 00121000-001fd000 r-xp 00000000 fd:00 1336078 /usr/lib/libvlccore.so.2.1.0 001fd000-00202000 rw-p 000db000 fd:00 1336078 /usr/lib/libvlccore.so.2.1.0 00202000-00211000 r-xp 00000000 fd:00 1337659 /usr/lib/libcddb.so.2.2.3 00211000-00212000 rw-p 0000f000 fd:00 1337659 /usr/lib/libcddb.so.2.2.3 00212000-00215000 r-xp 00000000 fd:00 2204457 /usr/lib/vlc/audio_output/liboss_plugin.so 00215000-00216000 rw-p 00002000 fd:00 2204457 /usr/lib/vlc/audio_output/liboss_plugin.so 00216000-0021b000 r-xp 00000000 fd:00 2204454 /usr/lib/vlc/audio_output/libalsa_plugin.so 0021b000-0021c000 rw-p 00004000 fd:00 2204454 /usr/lib/vlc/audio_output/libalsa_plugin.so 0021c000-0021f000 r-xp 00000000 fd:00 2204394 /usr/lib/vlc/access/libaccess_directory_plugin.so 0021f000-00220000 rw-p 00002000 fd:00 2204394 /usr/lib/vlc/access/libaccess_directory_plugin.so 00220000-00222000 r-xp 00000000 fd:00 2204400 /usr/lib/vlc/access/libaccess_mmap_plugin.so 00222000-00223000 rw-p 00001000 fd:00 2204400 /usr/lib/vlc/access/libaccess_mmap_plugin.so 00225000-00227000 r-xp 00000000 fd:00 2211861 /usr/lib/vlc/misc/libmemcpymmxext_plugin.so 00227000-00228000 rw-p 00001000 fd:00 2211861 /usr/lib/vlc/misc/libmemcpymmxext_plugin.so 00228000-0022a000 r-xp 00000000 fd:00 2204397 /usr/lib/vlc/access/libaccess_file_plugin.so 0022a000-0022b000 rw-p 00001000 fd:00 2204397 /usr/lib/vlc/access/libaccess_file_plugin.so 0022b000-0022d000 r-xp 00000000 fd:00 2211899 /usr/lib/vlc/stream_filter/libstream_filter_rar_plugin.so 0022d000-0022e000 rw-p 00001000 fd:00 2211899 /usr/lib/vlc/stream_filter/libstream_filter_rar_plugin.so 0022e000-00241000 r-xp 00000000 fd:00 3049844 /lib/libz.so.1.2.3 00241000-00242000 rw-p 00012000 fd:00 3049844 /lib/libz.so.1.2.3 00242000-00244000 r-xp 00000000 fd:00 2211900 /usr/lib/vlc/stream_filter/libstream_filter_record_plugin.so 00244000-00245000 rw-p 00001000 fd:00 2211900 /usr/lib/vlc/stream_filter/libstream_filter_record_plugin.so 00245000-00247000 r-xp 00000000 fd:00 2211868 /usr/lib/vlc/misc/libxml_plugin.so 00247000-00248000 rw-p 00001000 fd:00 2211868 /usr/lib/vlc/misc/libxml_plugin.so 00248000-0024a000 r-xp 00000000 fd:00 2211855 /usr/lib/vlc/misc/libinhibit_plugin.so 0024a000-0024b000 rw-p 00001000 fd:00 2211855 /usr/lib/vlc/misc/libinhibit_plugin.so 0024b000-0024d000 r-xp 00000000 fd:00 1377177 /usr/lib/gconv/UTF-16.so 0024d000-0024e000 r--p 00002000 fd:00 1377177 /usr/lib/gconv/UTF-16.so 0024e000-0024f000 rw-p 00003000 fd:00 1377177 /usr/lib/gconv/UTF-16.so 0024f000-0026b000 r-xp 00000000 fd:00 1338641 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.4 0026b000-0026c000 rw-p 0001b000 fd:00 1338641 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.4 0026c000-00287000 r-xp 00000000 fd:00 426163 /usr/lib/libatk-1.0.so.0.2409.1 00287000-00289000 rw-p 0001a000 fd:00 426163 /usr/lib/libatk-1.0.so.0.2409.1 00289000-002b2000 r-xp 00000000 fd:00 1338645 /usr/lib/libpangoft2-1.0.so.0.2201.0 002b2000-002b3000 rw-p 00029000 fd:00 1338645 /usr/lib/libpangoft2-1.0.so.0.2201.0 002b3000-002c1000 r-xp 00000000 fd:00 1608345 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so 002c1000-002c2000 rw-p 0000d000 fd:00 1608345 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so 002c3000-002e1000 r-xp 00000000 fd:00 524289 /usr/local/lib/libdvdread.so.4.1.2 002e1000-002e2000 rw-p 0001e000 fd:00 524289 /usr/local/lib/libdvdread.so.4.1.2 002e4000-002ef000 r-xp 00000000 fd:00 2204410 /usr/lib/vlc/access/libcddax_plugin.so 002ef000-002f0000 rw-p 0000a000 fd:00 2204410 /usr/lib/vlc/access/libcddax_plugin.so 002f0000-003cd000 r-xp 00000000 fd:00 3047931 /lib/libasound.so.2.0.0 003cd000-003d2000 rw-p 000dd000 fd:00 3047931 /lib/libasound.so.2.0.0 003d2000-004cf000 r-xp 00000000 fd:00 426149 /usr/lib/libX11.so.6.2.0 004cf000-004d2000 rw-p 000fd000 fd:00 426149 /usr/lib/libX11.so.6.2.0 004d2000-004d3000 rw-p 004d2000 00:00 0 004d4000-004df000 r-xp 00000000 fd:00 3047610 /lib/libnss_files-2.9.so 004df000-004e0000 r--p 0000a000 fd:00 3047610 /lib/libnss_files-2.9.so 004e0000-004e1000 rw-p 0000b000 fd:00 3047610 /lib/libnss_files-2.9.so 004e1000-00573000 r-xp 00000000 fd:00 1338649 /usr/lib/libgdk-x11-2.0.so.0.1400.4 00573000-00576000 rw-p 00092000 fd:00 1338649 /usr/lib/libgdk-x11-2.0.so.0.1400.4 00576000-00588000 r-xp 00000000 fd:00 1608314 /usr/lib/gtk-2.0/2.10.0/engines/libnodoka.so 00588000-00589000 rw-p 00011000 fd:00 1608314 /usr/lib/gtk-2.0/2.10.0/engines/libnodoka.so 00589000-0058c000 r-xp 00000000 fd:00 1336460 /usr/lib/libcanberra-gtk.so.0.0.4 0058c000-0058d000 rw-p 00002000 fd:00 1336460 /usr/lib/libcanberra-gtk.so.0.0.4 0058d000-005a3000 r-xp 00000000 fd:00 2204534 /usr/lib/vlc/demux/libplaylist_plugin.so 005a3000-005a4000 rw-p 00015000 fd:00 2204534 /usr/lib/vlc/demux/libplaylist_plugin.so 005a4000-005a8000 r-xp 00000000 fd:00 1608322 /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so 005a8000-005a9000 rw-p 00003000 fd:00 1608322 /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so 005a9000-005ab000 r-xp 00000000 fd:00 1342226 /usr/lib/libwacomcfg.so.0.0.1 005ab000-005ac000 rw-p 00001000 fd:00 1342226 /usr/lib/libwacomcfg.so.0.0.1 005ac000-005eb000 r-xp 00000000 fd:00 3049848 /lib/libdbus-1.so.3.4.0 005eb000-005ec000 r--p 0003e000 fd:00 3049848 /lib/libdbus-1.so.3.4.0 005ec000-005ed000 rw-p 0003f000 fd:00 3049848 /lib/libdbus-1.so.3.4.0 005ef000-00605000 r-xp 00000000 fd:00 3049849 /lib/libnsl-2.9.so 00605000-00606000 r--p 00016000 fd:00 3049849 /lib/libnsl-2.9.so 00606000-00607000 rw-p 00017000 fd:00 3049849 /lib/libnsl-2.9.so 00607000-00609000 rw-p 00607000 00:00 0 0060b000-00628000 r-xp 00000000 fd:00 1336596 /usr/lib/libdbus-glib-1.so.2.1.0 00628000-00629000 rw-p 0001d000 fd:00 1336596 /usr/lib/libdbus-glib-1.so.2.1.0 0062b000-0064b000 r-xp 00000000 fd:00 3049819 /lib/ld-2.9.so 0064c000-0064d000 r--p 00020000 fd:00 3049819 /lib/ld-2.9.so 0064d000-0064e000 rw-p 00021000 fd:00 3049819 /lib/ld-2.9.so 00650000-007be000 r-xp 00000000 fd:00 3049833 /lib/libc-2.9.so 007be000-007c0000 r--p 0016e000 fd:00 3049833 /lib/libc-2.9.so 007c0000-007c1000 rw-p 00170000 fd:00 3049833 /lib/libc-2.9.so 007c1000-007c4000 rw-p 007c1000 00:00 0 007c6000-007ed000 r-xp 00000000 fd:00 3049839 /lib/libm-2.9.so 007ed000-007ee000 r--p 00026000 fd:00 3049839 /lib/libm-2.9.so 007ee000-007ef000 rw-p 00027000 fd:00 3049839 /lib/libm-2.9.so 007f1000-007f4000 r-xp 00000000 fd:00 3049840 /lib/libdl-2.9.so 007f4000-007f5000 r--p 00002000 fd:00 3049840 /lib/libdl-2.9.so 007f5000-007f6000 rw-p 00003000 fd:00 3049840 /lib/libdl-2.9.so 007f8000-0080e000 r-xp 00000000 fd:00 3049836 /lib/libpthread-2.9.so 0080e000-0080f000 r--p 00015000 fd:00 3049836 /lib/libpthread-2.9.so 0080f000-00810000 rw-p 00016000 fd:00 3049836 /lib/libpthread-2.9.so 00810000-00812000 rw-p 00810000 00:00 0 00814000-0081b000 r-xp 00000000 fd:00 426385 /usr/lib/libcdio_cdda.so.0.0.3 0081b000-0081c000 rw-p 00006000 fd:00 426385 /usr/lib/libcdio_cdda.so.0.0.3 0081e000-00825000 r-xp 00000000 fd:00 426386 /usr/lib/libcdio_paranoia.so.0.0.2 00825000-00826000 rw-p 00006000 fd:00 426386 /usr/lib/libcdio_paranoia.so.0.0.2 00826000-0082b000 r-xp 00000000 fd:00 1662978 /usr/lib/qt4/plugins/imageformats/libqgif.so 0082b000-0082c000 rw-p 00004000 fd:00 1662978 /usr/lib/qt4/plugins/imageformats/libqgif.so 0082c000-00832000 r-xp 00000000 fd:00 1662980 /usr/lib/qt4/plugins/imageformats/libqico.so 00832000-00833000 rw-p 00005000 fd:00 1662980 /usr/lib/qt4/plugins/imageformats/libqico.so 00833000-00838000 r-xp 00000000 fd:00 1662982 /usr/lib/qt4/plugins/imageformats/libqmng.so 00838000-00839000 rw-p 00004000 fd:00 1662982 /usr/lib/qt4/plugins/imMultiple segmentation faults occurred; can't display error dialog
Notice that the configuration clearly includes "--disable-x264". Hmmm. Is this the problem, or just a red herring?

Code: Select all

$ vlc -l | grep 264
Gives:

Code: Select all

VLC media player 1.0.3 Goldeneye h264 H264 video demuxer packetizer_h264 H.264 video packetizer
No mention of x264.

Any ideas on this? I know I'm using obsolete software, but I'm limited to my current OS platform :(

Any alternative methods to transcode MPEG2 -> FLV( H264, AAC ) are weclome.

Apologies for the novel-length post!

Hypno

HypnoBeard
New Cone
New Cone
Posts: 5
Joined: 24 Nov 2010 03:04

Re: VLC 1.0.3 x264 encoder Installation

Postby HypnoBeard » 26 Nov 2010 00:44

Hi Guys,

Well, I solved my problem. I had to rebuild VLC from source (1.0.3), which included a whole host of yum installs of various library development modules.

I then had to run ./configure with the magic options:

Code: Select all

--enable-x264 --with-x264-tree=./extras/x264-fe83a90
the ./extras/x264.... path is a git repository of the x264 codec with a date just prior to the VLC 1.0.3 release.

A lot of messing around, but I've eventually got this to work on my Fedora system. I can now transcode into x264.

I've decided to go down the Wowza route for my overall implementation: i.e. MPEG2 file -> Transcode to MPEG-TS( H264, MP4A) -> Wowza server -> Flash video.

It might be possible to skip the Wowza server, but from the deafening silence this post received, I'm doubting it.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests