Opened 9 years ago

Closed 6 years ago

#4889 closed defect (fixed)

Audio in program stream not detected

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mpegps ac3 videolan
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

(videolan ticket 15446)
A vlc user uploaded a sample that plays audio with mplayer -demuxer mpegps and totem but not FFmpeg (and not vlc).

$ ffmpeg -i 10SEC.mpg
ffmpeg version N-75573-g1d0487f Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55.  2.100 / 55.  2.100
  libavcodec     57.  3.100 / 57.  3.100
  libavformat    57.  2.100 / 57.  2.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6.  9.100 /  6.  9.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mpeg, from '10SEC.mpg':
  Duration: 00:00:09.14, start: 0.988078, bitrate: 8960 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, max. 79975 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
At least one output file must be specified
$ mplayer -demuxer mpegps 10SEC.mpg
MPlayer SVN-r37520-4.7 (C) 2000-2015 MPlayer Team

Playing 10SEC.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  79975.2 kbps (9996.9 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.1.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
A:   0.9 V:   1.1 A-V: -0.181 ct: -0.010   7/  7 ??% ??% ??,?% 0 0
[VD_FFMPEG] DRI failure.
A:  10.0 V:  10.0 A-V: -0.069 ct: -0.201 275/275 11% 14%  0.3% 0 0


Exiting... (End of file)

Change History (2)

comment:2 by Elon Musk, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.