Code: Select all
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 151.8 kbit/9.88% (ratio: 18970->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Code: Select all
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
AE_FAAC, sample_input: 2048, max_bytes_output: 1536
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
======= WAVE Format =======
Format Tag: 28781 (0x706D)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1024
bits/sample: 0
cbSize: 0
==========================================================================
Code: Select all
mencoder -oac faac -faacopts object=1:tns:quality=100
Code: Select all
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: mp (706D)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 24
Rate: 48000/1024 = 46.875
Start: 4 Len: 63027
Suggested BufferSize: 7168
Quality 0
Sample size: 0
==========================
Found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 28781 (0x706D)
Channels: 2
Samplerate: 48000
avg byte/sec: 17386
Block align: 1024
bits/sample: 0
cbSize: 0
Code: Select all
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.
AAC_PROBE: 4608 bytes
AAC_PROBE: ret 0
FAAD: Decoder init done (4608Bytes)!
FAAD: Negotiated samplerate: 48000Hz channels: 2
FAAD: got 139kbit/s bitrate from MP4 header!
AUDIO: 48000 Hz, 2 ch, s16le, 139.1 kbit/9.06% (ratio: 17386->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Code: Select all
[00000309] avi demuxer debug: stream[0] rate:24000 scale:1001 samplesize:0
[00000309] avi demuxer debug: stream[0] video(h264) 576x432 24bpp 23.976024fps
[00000297] main input debug: selecting program id=0
[00000309] avi demuxer debug: stream[1] rate:48000 scale:1024 samplesize:0
[00000309] avi demuxer debug: stream[1] audio(0x706d) 2 channels 48000Hz 0bits
[00000309] avi demuxer debug: stream[0] created 32241 index entries
[00000309] avi demuxer debug: stream[1] created 63027 index entries
[00000309] avi demuxer debug: stream[0] length:1344 (based on index)
[00000309] avi demuxer debug: stream[1] length:1344 (based on index)
[00000309] main demuxer debug: using demux2 module "avi"
[00000297] main input debug: looking for a subtitle file in /home/joseph/
[00000311] main decoder debug: looking for decoder module: 23 candidates
[00000311] ffmpeg decoder debug: libavcodec initialized (interface 3352578 )
[00000311] ffmpeg decoder debug: postprocessing disabled
[00000311] ffmpeg decoder debug: ffmpeg codec (h264) started
[00000311] main decoder debug: using decoder module "ffmpeg"
[00000311] main decoder debug: thread 2977434512 (decoder) created at priority 0 (input/decoder.c:159)
[00000340] main decoder debug: looking for decoder module: 23 candidates
[00000340] main decoder error: no suitable decoder module for fourcc `undf'.
VLC probably does not support this sound or video format.
[00000340] main decoder debug: killing decoder fourcc `undf', 0 PES in FIFO
The file is playing fine in recent VLC 0.9.0 nightly builds for Windows thoughHowever, the audio is not played by VLC 0.8.6a (only windows version tested)
Happy to know it!The file is playing fine in recent VLC 0.9.0 nightly builds for Windows thoughHowever, the audio is not played by VLC 0.8.6a (only windows version tested)
MP4A
Audio
Channels: 2
48000 Hz
151 kb/s
Code: Select all
joseph-dt:~$ vlc get_smart_3_1_2.avi
VLC media player 0.9.0-svn Grishenko
[00000325] main playlist error: Reloading playlist not implemented.
[00000348] main decoder error: no suitable decoder module for fourcc `h264'.
VLC probably does not support this sound or video format.
[00000390] main decoder error: no suitable decoder module for fourcc `mp4a'.
VLC probably does not support this sound or video format.
joseph-dt:~$ vlc -l | grep aac
VLC media player 0.9.0-svn Grishenko
joseph-dt:~$ vlc -l | grep 264
VLC media player 0.9.0-svn Grishenko
x264 H.264/MPEG4 AVC encoder (using x264 library)
h264 H264 video demuxer
packetizer_h264 H.264 video packetizer
disable-faad means disable aac decoder !loading from today's svn i get the fourcc recognized, but neither video nor audio play:
i configured with --enable-aac and --enable-ffmpeg and --disable-faad (it would be great if faad compiled when it was enabled).Code: Select all
joseph-dt:~$ vlc get_smart_3_1_2.avi VLC media player 0.9.0-svn Grishenko [00000325] main playlist error: Reloading playlist not implemented. [00000348] main decoder error: no suitable decoder module for fourcc `h264'. VLC probably does not support this sound or video format. [00000390] main decoder error: no suitable decoder module for fourcc `mp4a'. VLC probably does not support this sound or video format. joseph-dt:~$ vlc -l | grep aac VLC media player 0.9.0-svn Grishenko joseph-dt:~$ vlc -l | grep 264 VLC media player 0.9.0-svn Grishenko x264 H.264/MPEG4 AVC encoder (using x264 library) h264 H264 video demuxer packetizer_h264 H.264 video packetizer
any more ideas?
thanks so much for your help, i hope i am close!
yes but ffmpeg supports aac, and you saw that ffmpeg was enabled. --enable-faad doesn't compile, either on 0.8.6b or svn trunk:disable-faad means disable aac decoder !
Code: Select all
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin faad` -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -MT libfaad_plugin_la-faad.lo -MD -MP -MF .deps/libfaad_plugin_la-faad.Tpo -c -o libfaad_plugin_la-faad.lo `test -f 'faad.c' || echo './'`faad.c
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DSYS_LINUX -I../../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib/vlc\" -O2 -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=faad -DMODULE_NAME_IS_faad -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -MT libfaad_plugin_la-faad.lo -MD -MP -MF .deps/libfaad_plugin_la-faad.Tpo -c faad.c -fPIC -DPIC -o .libs/libfaad_plugin_la-faad.o
faad.c: In function `Open':
faad.c:141: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type
faad.c: In function `DecodeBlock':
faad.c:217: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type
faad.c:233: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
faad.c:319: error: structure has no member named `ps'
faad.c:324: error: structure has no member named `ps'
faad.c:338: error: structure has no member named `ps'
make[4]: *** [libfaad_plugin_la-faad.lo] Error 1
make[4]: Leaving directory `/home/joseph/vlc/modules/codec'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/joseph/vlc/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/joseph/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joseph/vlc'
make: *** [all] Error 2
Code: Select all
[00000001] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libffmpeg_plugin.so' (/usr/local/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: sws_scale_ordered)
Don't compile ffmpeg with faad2, but compile VLC with faad.ok, i found faad2-20040923.tar.bz2 in the 0.8.5 extras/contrib dir, and vlc trunk compiles against it! but now the ffmpeg module doesn't load...
any idea how to get around this? i have recompiled vlc trunk and ffmpeg-0.4.9_p20070330. now i have sound but no video 8-(.Code: Select all
[00000001] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libffmpeg_plugin.so' (/usr/local/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: sws_scale_ordered)
this, unfortunately, gives the same result:Don't compile ffmpeg with faad2, but compile VLC with faad.
Code: Select all
# USE=-aac emerge -v ffmpeg
(blah, ^D...)
$ cd vlc-trunk
$ ./configure --enable-x264 --enable-ffmpeg --enable-faad
$ make -j3
$ sudo make install
$ /usr/local/bin/vlc -v get_smart_3_1_2.avi
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc warning: This doesn't look like a valid plugins cache
[00000001] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libffmpeg_plugin.so' (/usr/local/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: sws_scale_ordered)
[00000223] main playlist error: Reloading playlist not implemented.
Remote control interface initialized. Type `help' for help.
[00000230] main demuxer warning: no access_demux module matched "any"
[00000232] avi private warning: unknown chunk (not loaded)
[00000234] main decoder error: no suitable decoder module for fourcc `h264'.
VLC probably does not support this sound or video format.
Code: Select all
$ ./configure --enable-x264 --disable-ffmpeg --enable-faad
$ make -j3
$ sudo make install
$ sudo rm /usr/local/lib/vlc/codec/libffmpeg_plugin.so
$ rm -rf ~/.vlc
$ /usr/local/bin/vlc -v get_smart_3_1_2.avi
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc warning: could not open plugins cache file /home/joseph/.vlc/cache/plugins-04041e.dat for reading
[00000223] main playlist error: Reloading playlist not implemented.
Remote control interface initialized. Type `help' for help.
[00000230] main demuxer warning: no access_demux module matched "any"
[00000232] avi private warning: unknown chunk (not loaded)
[00000234] main decoder error: no suitable decoder module for fourcc `h264'.
VLC probably does not support this sound or video format.
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 27 guests