[MPlayer-users] mencoder: failure to copy audio tracks on certain DVDs

Pascal Stumpf Pascal.Stumpf at cubes.de
Fri Feb 28 21:11:34 CET 2014


On Fri, 28 Feb 2014 20:29:32 +0100, Reimar =?iso-8859-1?Q?D=F6ffinger?= wrote:
> Yes, or exact command-lines. I tried something with mencoder
> and it worked, but I did maybe not test quite the same
> thing, and I certainly did not get a crash with lavf. So I'm
> afraid you'll have to instruct me how to reproduce these
> issues.

Okay, for starters, this is what happens now with the stream I provided
to you and mencoder.  mplayer -dumpstream works fine here.

./mencoder -v -nocache -noconfig all -aid 128 -o /tmp/audio.6N9ICX -ovc
copy -of rawaudio -oac copy /tmp/stream.dump

MEncoder SVN-r36844-4.2.1 (C) 2000-2014 MPlayer Team
get_path('codecs.conf') -> '/home/pascal/.mplayer/codecs.conf'
Reading optional codecs config file /home/pascal/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
get_path('font/font.desc') -> '/home/pascal/.mplayer/font/font.desc'
font: can't open file: /home/pascal/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Configuration: 
[file] File size is 7688192 bytes
STREAM: [file] /tmp/stream.dump
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x755000
libavformat version 55.33.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: MPEG-PS (MPEG-2 Program Stream)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /tmp/stream.dump ext: .dump
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND 86, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
MPEG-PS file format detected.
ds_fill_buffer: EOF reached (stream: audio)  
MPEG: No audio stream found -> no sound.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
[file] File size is 0 bytes
STREAM: [file] /tmp/audio.6N9ICX
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Ignoring video stream!
videocodec: framecopy (720x576 24bpp fourcc=10000002)
Muxer frame buffer sending 1 frame(s) to the muxer.
[...]
==> Found subtitle: 0
==> Found subtitle: 1
==> Found subtitle: 2
==> Found subtitle: 3
==> Found subtitle: 4
==> Found subtitle: 5
==> Found subtitle: 6
==> Found subtitle: 7
==> Found subtitle: 8
==> Found subtitle: 9
==> Found subtitle: 10
==> Found subtitle: 11
==> Found subtitle: 12
==> Found subtitle: 13
==> Found subtitle: 14
==> Found subtitle: 15
==> Found subtitle: 16
==> Found subtitle: 17
==> Found subtitle: 18
==> Found subtitle: 19
==> Found subtitle: 20
==> Found subtitle: 21
[...]
==> Found audio stream: 128
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
==> Found audio stream: 133
MPEG Stream reached EOF
[...]
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  

Video stream: 4914.042 kbit/s  (614255 B/s)  size: 6535676 bytes  10.640 secs  266 frames



For this particular DVD, mplayer -dumpaudio does not work.  I've
uploaded a 10mb sample that shows the problem for me.

./mplayer -v -dumpaudio -aid 131 /tmp/tng.nosound

Warning unknown option stop-xscreensaver at line 4
MPlayer SVN-r36844-4.2.1 (C) 2000-2014 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (Family: 6, Model: 58, Stepping: 9)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSE3 CMOV
get_path('codecs.conf') -> '/home/pascal/.mplayer/codecs.conf'
Reading optional codecs config file /home/pascal/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
get_path('font/font.desc') -> '/home/pascal/.mplayer/font/font.desc'
font: can't open file: /home/pascal/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Configuration: 
CommandLine: '-v' '-dumpaudio' '-aid' '131' '/tmp/tng.nosound'
Using nanosleep() timing
get_path('input.conf') -> '/home/pascal/.mplayer/input.conf'
Parsing input config file /home/pascal/.mplayer/input.conf
Input config file /home/pascal/.mplayer/input.conf parsed: 14 binds
get_path('tng.nosound.conf') -> '/home/pascal/.mplayer/tng.nosound.conf'

Playing /tmp/tng.nosound.
get_path('sub/') -> '/home/pascal/.mplayer/sub/'
[file] File size is 10424320 bytes
STREAM: [file] /tmp/tng.nosound
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:1677721  eof:0  
Cache fill:  0.00% (0 bytes)   

libavformat version 55.33.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: MPEG-PS (MPEG-2 Program Stream)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /tmp/tng.nosound ext: .nosound
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 65883, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 132
==> Found audio stream: 129
==> Found audio stream: 131
==> Found audio stream: 128
==> Found audio stream: 130
MPEG-PS file format detected.
ds_fill_buffer: EOF reached (stream: audio)  
MPEG: No audio stream found -> no sound.
demux: File doesn't contain the selected audio or video stream.
ds_fill_buffer: EOF reached (stream: audio)  
dump: 0 bytes written to 'stream.dump'.
Core dumped ;)

Exiting... (End of file)


More information about the MPlayer-users mailing list