[MPlayer-users] segmentation fault doing avi to dvd
Philip Walden
pwaldenlinux at pacbell.net
Mon Oct 24 01:55:04 CEST 2005
I am trying to create a DVD mpg file form the Star Wreck avi file and I
am getting a segmentation fault. I built the 1.0pre7-3.2.2 for my RH9. I
also built the current ffmpeg.
I seem to be able to use the 1.0pre7-3.2.2 for most other things
successfully. For example I can play the Star Wreack avi.
Here is the command line output:
===========================================================================
$ mencoder -v -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=16/9
-ofps 30000/1001 -o ~/starwreck.mpg ~/samba/My\
Videos/star_wreck_in_the_pirkinning_subtitled_xvid.avi
MEncoder 1.0pre7-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
File not found: 'frameno.avi'
Failed to open frameno.avi
init_freetype
get_path('font/font.desc') -> '/home/pwalden/.mplayer/font/font.desc'
font: can't open file: /home/pwalden/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 567558788 bytes
STREAM: [file] /home/pwalden/samba/My
Videos/star_wreck_in_the_pirkinning_subtitled_xvid.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x21d44284
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 155288 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 272
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0 Len: 155288
Suggested BufferSize: 65474
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 272
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 1044480
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 99383643
Suggested BufferSize: 8000
Quality 10000
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x4
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=155288)
list_end=0x2188703C
Found movie at 0x280C - 0x2188703C
Reading INDEX block, 310564 chunks for 155288 frames (fpos=0x21887044)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=460663882 (155288) audio size=99383643 (99383643)
VIDEO: [XVID] 640x272 24bpp 25.000 fps 593.3 kbps (72.4 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:640x272 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: Yes, original: No, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
PACKET SIZE: 2048 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480]
SwScale params: 720 x 480 (-1=no scaling)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[libaf] Adding filter lavcresample
[libaf] Removing filter lavcresample
Segmentation fault
[pwalden at walden4 pwalden]$ mencoder -v -oac lavc -ovc lavc -of mpeg
-mpegopts format=dvd -vf scale=720:480,harddup -srate 48000 -af
lavcresample=48000 -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=16/9
-ofps 30000/1001 -o ~/starwreck.mpg ~/samba/My\
Videos/star_wreck_in_the_pirkinning_subtitled_xvid.avi
MEncoder 1.0pre7-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
File not found: 'frameno.avi'
Failed to open frameno.avi
init_freetype
get_path('font/font.desc') -> '/home/pwalden/.mplayer/font/font.desc'
font: can't open file: /home/pwalden/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 567558788 bytes
STREAM: [file] /home/pwalden/samba/My
Videos/star_wreck_in_the_pirkinning_subtitled_xvid.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0 data: 0x0 - 0x21d44284
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 155288 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 272
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0 Len: 155288
Suggested BufferSize: 65474
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 272
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 1044480
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 99383643
Suggested BufferSize: 8000
Quality 10000
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x4
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=155288)
list_end=0x2188703C
Found movie at 0x280C - 0x2188703C
Reading INDEX block, 310564 chunks for 155288 frames (fpos=0x21887044)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=460663882 (155288) audio size=99383643 (99383643)
VIDEO: [XVID] 640x272 24bpp 25.000 fps 593.3 kbps (72.4 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:640x272 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: Yes, original: No, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
PACKET SIZE: 2048 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480]
SwScale params: 720 x 480 (-1=no scaling)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[libaf] Adding filter lavcresample
[libaf] Removing filter lavcresample
Segmentation fault
More information about the MPlayer-users
mailing list