[FFmpeg-user] AC3 encoding problem - wrong audio tag?

Stefan Gofferje ffmpeg-user at home.gofferje.net
Fri Jul 13 09:27:32 CEST 2012


Hi,

I have recently changed my home video editing to Linux (kdenlive) to get
finally completely rid of Windows. Now I'm trying to encode some
home-video with ac3 sound. I do the testing/playing with a Pinnacle
Showcenter network media player which is connected via fiber-optic cable
to a Haman Kardon amplifier.

When I play my the encoded file, the amp show "Dolby 2/0" and is silent.
The Showcenter shows as audio type "Ogg". File shows

RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD,
audio: (6 channels, 48000 Hz)

If I check older files that work on the Showcenter, the output of file is:

RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD,
audio: Dolby AC3 (stereo, 48000 Hz)

So in my encoding, the "Dolby AC3" tag seems to be missing.

I use

ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 15 2012 15:33:11 with gcc 4.5.1 20101208 [gcc-4_5-branch
revision 167585]
  configuration: --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib64 --shlibdir=/usr/lib64 --disable-stripping
--enable-pthreads --enable-shared --enable-avfilter --disable-static
--enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libx264
--enable-nonfree --enable-postproc --enable-shared --enable-libdc1394
--enable-libtheora --enable-libschroedinger --enable-libvpx --enable-gpl
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3
--enable-x11grab
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100

and my command-line is like

ffmpeg -i video.mp4 -i left.wav -i right.wav -i surr_left.wav -i
surr_right.wav -i center-wav -i lfe-wav -vcodec libxvid -s 624x352 -b:v
1100k -acodec ac3 -ar 48000 -ab 448k video.avi

Any hints?

-Stefan

-- 
 (o_   Stefan Gofferje            | SCLT, MCP, CCSA
 //\   Reg'd Linux User #247167   | VCP #2263
 V_/_  Heckler & Koch - the original point and click interface


--------------------------------------------------------------------------------
This mail was scanned for malware by ClamAV (http://www.clamav.net/)
--------------------------------------------------------------------------------



More information about the ffmpeg-user mailing list