[MEncoder-users] "MPEG: No audio stream found -> no sound." problem for mpg file with sound

Volker Quetschke vquetschke at googlemail.com
Wed Dec 3 23:16:43 CET 2014


I recently updated my mplayer/mencoder version from r34401 to current versions and I found the the
new mencoder versions are not able anymore to find audio streams in mpg files. As a result the
encoding fails, see stdout/stderr below.

I used the following command line:
$ mencoder.exe "i:\example.mpg" -ovc xvid -xvidencopts fixed_quant=4 -oac mp3lame -o "i:\example.avi"

The example file can be found here:
https://www.dropbox.com/sc/qqwz0yl1k4zvcjv/AADt33oSBYKQUjQ9dqD4Sc5sa

System info: Windows XP/SP3, 32 bit.
mencoder files from the "official" links from the download section for binaries (for windows) from
mplayerhq.hu <http://mplayerhq.hu>

I did not update since 34401 and that version worked fine.  I tried various version from this year
(36573 was the oldest I could find), but they all have the same problem.

  Volker

Console output:
MEncoder sherpya-r37260+g8c63a0d-4.9-win32 (C) 2000-2014 MPlayer Team
success: format: 0  data: 0x0 - 0x989680
libavformat version 56.3.100 (internal)
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  74374.4 kbps (9296.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:1920x1080  fps:29.970  ftime:=0.0334
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 56.1.100 (internal)
Unknown/missing audio format -> no sound
ADecoder init failed :(
Requested audio codec family [a52] (afm=liba52) not available.
Enable it at compilation.
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
AC3/DTS sync failed
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [spdif] libavformat/spdifenc audio pass-through decoder.
AUDIO: 48000 Hz, 2 ch, ac3le, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [spdifac3] afm: spdif (libavformat/spdifenc AC-3 pass-through decoder)
==========================================================================
xvid: using library version 1.3.2 (build xvid-1.3.2)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
MP3 audio selected.
[format] Sample format little-endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
[libaf] Unable to setup filter system can not meet sound-card demands, please send a bug report.
Couldn't find matching filter/ao format!

Exiting...



More information about the MEncoder-users mailing list