[FFmpeg-user] adding an ac3 stream to an a/v stream
Andrew RT
andrew2012 at flight.us
Thu Apr 4 00:35:20 CEST 2013
> On April 3, 2013 at 2:31 PM Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>
>
> Andrew RT <andrew2012 <at> flight.us> writes:
>
> > WARNING: library configuration mismatch
>
> There is nothing obviously wrong in your command line
> and the only thing in the output are these warnings,
> consider recompiling without --enable-shared.
>
> What produces the static that your hear? ffplay?
>
mplayer produces static. mplayer plays the solitary extra audio file just fine. It also plays the a/v avi file fine.
I tried ffplay; mine is silent, for any file I try (a/v files, this one and others, and this external ac3 audio track. I don't know how to operate ffplay, as I haven't been using it.)
I guess I'll try to recompile without the *.so's.
see mplayer, vlc, ffplay output below. (mplayer often spits out errors even if it plays everything OK). This is a truncated muxed file, but I think it's same as a full one (unless ffmpeg does something special at end of encoding. I *HAVE* tried going all the way to the end, the result is what I described)
------------------------------ mplayer: -----------------------------
Playing muxed_output.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
[aviheader] Audio stream found, -aid 2
AVI Ogg : Initial audio header is too small !!!!!
VIDEO: [XVID] 720x304 24bpp 23.976 fps 1061.3 kbps (129.6 kbyte/s)
Clip info:
Software: Lavf55.0.100
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 6 ch, s16le, 320.0 kbit/6.94% (ratio: 40000->576000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [jack] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [xv] 720x304 => 720x304 Planar YV12
A: 21.5 V: 1.2 A-V: 20.327 ct: 0.000 29/ 29 9% 5% 12.0% 1 0
A: 45.7 V: 28.0 A-V: 17.712 ct: 0.100 672/672 4% 0% 9.0% 1 0
-------------------------- vlc: -------------------------------------
[0x94e7668] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x986cce8] main decoder error: no suitable decoder module for fourcc `undf'.
VLC probably does not support this sound or video format.
[0x9882ab0] main decoder error: no suitable decoder module for fourcc `undf'.
VLC probably does not support this sound or video format.
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
------------------------- ffplay: -----------------------------------------
<snip>
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-shared
postproc configuration: --enable-version3 --enable-nonfree --enable-libtheora --enable-gpl --enable-postproc --enable-libvorbis --enable-libgsm --enable-libmp3lame --enable-libfaac --enable-libxvid --enable-pthreads --enable-libx264 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-shared
libavutil 52. 22.101 / 52. 22.101
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, avi, from 'muxed_output.avi':vq= 0KB sq= 0B f=0/0
Metadata:
encoder : Lavf55.0.100
Duration: 00:16:26.34, start: 0.000000, bitrate: 1844 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x304 [SAR 1:1 DAR 45:19], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 320 kb/s
Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list