[MEncoder-users] Audio in DVR-MS not identified correctly
stattik
stattik at gmail.com
Fri Aug 18 16:17:43 CEST 2006
Hi,
I am trying to play a DVR-MS file so I can transcode it.
It was recorded off the air
ATSC 1920x1080 MPEG2 with AC3(5.1)
Here's the mplayer commands and output:
mplayer.exe -demuxer 35 %name% -identify -frames 0
MPlayer 1.0pre8-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1800+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
Playing G:\video\test file\test.dvr-ms.
libavformat file format detected.
ID_AUDIO_ID=0
ID_VIDEO_ID=1
VIDEO: [DVR ] 1920x1080 0bpp 29.970 fps 19392.8 kbps ( 2367.3 kbyte/s)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
ID_FILENAME=G:\video\test file\test.dvr-ms
ID_DEMUXER=lavf
ID_VIDEO_FORMAT=DVR
ID_VIDEO_BITRATE=19392800
ID_VIDEO_WIDTH=1920
ID_VIDEO_HEIGHT=1080
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=1.7778
ID_AUDIO_CODEC=pcm
ID_AUDIO_FORMAT=0
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=18.41
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
ID_VIDEO_CODEC=mpeg12
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Exiting... (End of file)
Here's the -v output when trying to play it.
G:\video\test file>D:\Progra~1\mplayer1.0pre8\mplayer "G:\video\test
file\test.d
vr-ms" -v -demuxer 35
MPlayer 1.0pre8-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1800+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 'D:/Progra~1/mplayer1.0pre8/mplayer/codecs.conf'
Reading D:/Progra~1/mplayer1.0pre8/mplayer/codecs.conf: Can't open
'D:/Progra~1/
mplayer1.0pre8/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: 'G:\video\test file\test.dvr-ms' '-v' '-demuxer' '35'
init_freetype
c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 'D:/Progra~1/mplayer1.0pre8/mplayer/input.conf'
Parsing input config file D:/Progra~1/mplayer1.0pre8/mplayer/input.conf
Input config file D:/Progra~1/mplayer1.0pre8/mplayer/input.conf parsed: 53
binds
get_path('G:\video\test file\test.dvr-ms.conf') ->
'D:/Progra~1/mplayer1.0pre8/m
player/G:\video\test file\test.dvr-ms.conf'
Playing G:\video\test file\test.dvr-ms.
get_path('sub/') -> 'D:/Progra~1/mplayer1.0pre8/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is 35982013 bytes
STREAM: [file] G:\video\test file\test.dvr-ms
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: asf format
libavformat file format detected.
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 0 (0x0)
Channels: 2
Samplerate: 48000
avg byte/sec: 192000
Block align: 0
bits/sample: 16
cbSize: 0
==========================================================================
==> Found video stream: 1
======= VIDEO Format ======
biSize 256
biWidth 1920
biHeight 1080
biPlanes 0
biBitCount 0
biCompression 542266948='DVR '
biSizeImage 0
Unknown extra header dump: [0] [0] [0] [0] [0] [0] [0] [0] [c0] [2] [0] [0]
[e0]
[1] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0]
[1b] [b7] [0] [0] [0] [0] [0] [b1] [8b] [2] [0] [0] [0] [0] [0] [0] [0] [0]
[0]
[0] [0] [0] [0] [10] [0] [0] [0] [9] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0
] [28] [0] [0] [0] [c0] [2] [0] [0] [e0] [1] [0] [0] [0] [0] [0] [0] [4d]
[50] [
45] [47] [0] [0] [0] [0] [d0] [7] [0] [0] [42] [d8] [0] [0] [0] [0] [0] [0]
[0]
[0] [0] [0] [c0] [27] [c8] [0] [4c] [0] [0] [0] [ff] [ff] [ff] [ff] [ff]
[ff] [f
f] [ff] [0] [0] [0] [0] [0] [0] [1] [b3] [2c] [1] [e0] [37] [1d] [4c] [23]
[81]
[10] [11] [11] [12] [12] [12] [13] [13] [13] [13] [14] [14] [14] [14] [14]
[15]
[15] [15] [15] [15] [15] [16] [16] [16] [16] [16] [16] [16] [17] [17] [17]
[17]
[17] [17] [17] [17] [18] [18] [18] [19] [18] [18] [18] [19] [1a] [1a] [1a]
[1a]
[19] [1b] [1b] [1b] [1b] [1b] [1c] [1c] [1c] [1c] [1e] [1e] [1e] [1f] [1f]
[21]
[0] [0] [0] [0] [0] [0] [0] [0]
===========================
LAVF: 1 audio and 1 video streams found
LAVF: build 3277824
VIDEO: [DVR ] 1920x1080 0bpp 29.970 fps 19392.8 kbps (2367.3 kbyte/s)
[V] filefmt:35 fourcc:0x20525644 size:1920x1080 fps:29.97 ftime:=0.0334
get_path('sub/') -> 'D:/Progra~1/mplayer1.0pre8/mplayer/sub/'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>10 BGR16 supported
<vo_directx><ERROR>Your card doesn't support overlay
<vo_directx><INFO>using backpuffer
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
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
ao_dsound: Output Devices:
0 Primary Sound Driver <--
1 Microsoft RDP Audio Driver (emulated)
ao_dsound: cannot create a DirectSound device
ao_win32: Samplerate:48000Hz Channels:2 Format:s16le
ao_win32: Buffersize:4096
ao_win32: unable to open wave mapper device (result=6)
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: Null audio output
AO: Author: Tobias Diedrich <ranma+mplayer at tdiedrich.de>
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x32315659)
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
REQ: flags=0x5 req=0x0
VO: [directx] 1920x1080 => 1920x1080 BGR 16-bit
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
aspect: Warning: no suitable new res found!
<vo_directx><INFO>back surface created
*** [scale] Allocating mp_image_t, 1920x1088x12bpp YUV planar, 3133440 bytes
*** [scale] Allocating mp_image_t, 1920x1088x12bpp YUV planar, 3133440 bytes
*** [vo] Allocating mp_image_t, 1920x1080x16bpp BGR packed, 4147200 bytes
Unicode font: 1418 glyphs.
Too many video packets in the buffer: (124 in 8410029 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
Too many video packets in the buffer: (124 in 8410029 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
*** [scale] Allocating mp_image_t, 1920x1088x12bpp YUV planar, 3133440 bytes
[asf @ 00A706F4]ff asf bad header 90 at:35981736
stream_seek: WARNING! Can't seek to 0x2260973 !
[asf @ 00A706F4]ff asf skip 65473 0
stream_seek: WARNING! Can't seek to 0x22609A6 !
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: libmpeg2
WINSOCK2 uninit
Exiting... (End of file)
It correctly plays the video but the audio is all static. In the above
output audio is flagged as PCM and not AC3.
It there a way to force mplayer/mencoder to decode the ac3 with the video?
I uploaded a small test sample to ftp://www.mplayerhq.hu
/MPlayer/incoming/DVR-MS_file/
Any help would be greatly appreciated.
Thanks,
--
steve
More information about the MEncoder-users
mailing list