[MPlayer-users] mencoder DV -oac copy coredumps
Steven M. Schultz
sms at 2BSD.COM
Wed Nov 19 22:20:28 CET 2003
Hi !
This used to work and I'm not sure exactly when it ceased working but
mencoder coredumps when -oac copy is used with a raw DV file (the
audio was going to be replaced later with aac or vorbis so -oac
seemed more efficient than encoding to mp3).
mencoder -v -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000 -o foo.avi redhotridinghood.dv
This is with the freshest cvs versions of ffmpeg/libavcode and
MPlayer.
Script started on Wed 19 Nov 2003 01:17:34 PM PST
wx98.1-> mencoder -v -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000 -o foo.avi redhotridinghood.dv
MEncoder dev-CVS-031119-13:05-3.2.2 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2000 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading /u/sms/.mplayer/codecs.conf: Can't open '/u/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /u/sms/.mplayer/mencoder: No such file or directory
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 1555440000 bytes
STREAM: [file] redhotridinghood.dv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x5CB62180
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84d2ac8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84d2ac8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84d2ac8
Checking for REAL
DEMUXER: freeing demuxer at 0x84d2ac8
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84d2ac8
DEMUXER: freeing demuxer at 0x84d3468
Searching demuxer type for filename redhotridinghood.dv ext: .dv
Checking for MOV
DEMUXER: freeing demuxer at 0x84d3468
Checking for VIVO
header block 1 size: 7
DEMUXER: freeing demuxer at 0x84d3468
DEMUXER: freeing demuxer at 0x84d3468
DEMUXER: freeing demuxer at 0x84d3468
DEMUXER: freeing demuxer at 0x84d3468
DEMUXER: freeing demuxer at 0x84d3468
DEMUXER: freeing demuxer at 0x84d3468
DEMUXER: freeing demuxer at 0x84d3468
Checking for PVA
DEMUXER: freeing demuxer at 0x84d3468
Checking for MPEG-TS...
TRIED UP TO POSITION 69316, FOUND 47, packet_size= 0, SEEMS A TS? 0
DEMUXER: freeing demuxer at 0x84d3468
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 678 p101: 1 p1B6: 0 p12x: 834 sli: 61 a: 108 b: 55 c: 0 idr: 51 sps: 0 pps: 17 PES: 51 MP3: 1380
Checking for DV
RAWDV file format detected.
demux_open_rawdv() end_pos 1555440000
==> Found video stream: 0
demux_open_rawdv() frame_size: 120000 w: 720 h: 480 dif_seq: 10 system: 1
demux_open_rawdv() seek to 0, size: 120000, dv_dec->frame_size: 120000
==> Found audio stream: 0
demux_open_rawdv() chan: 2 samplerate: 48000
[V] filefmt:22 fourcc:0x44535644 size:720x480 fps:29.97 ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Requested video codec family [qdv] (vfm=dshow) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm:ffmpeg (FFmpeg DV decoder)
==========================================================================
audiocodec: framecopy (format=4152 chans=2 rate=48000 bits=16 bps=3596399 sample=54464)
Writing AVI header...
Segmentation fault (core dumped)
That 'bps=' on the audiocodec: line looks very weird doesn't it?
MPlayer can play the raw DV file fine - it seems that mencoder's the
part that is having problems the audio data.
Steven Schultz
More information about the MPlayer-users
mailing list