[MPlayer-users] No mpeg1codec?
Andrew Konosky
TerranAce007 at comcast.net
Thu Jul 29 17:45:03 CEST 2004
Giacomo Comes wrote:
>>>Also, what widescreen and standard resolutions should I shoot for in
>>>order to be compatible with most DVD players?
>>>
>>>
>>>
>>352x288 @ 4/3
>>
>>
>>
>352x288 @ 4/3 PAL
>352x240 @ 4/3 NTSC
>
>Giacomo
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
>
Here is my log file from AcidRip:
========================
AcidRip message - AcidRip 0.12, "Written" by C.Phillips
<acid_kewpie at users.sf.net>
AcidRip message - Loading DVD... please wait
$VAR1 = {'track' => [{'width' => 720,'chapter' => [{'length' =>
'433.3','startcell' => 1,'ix' => 1},{'length' => '336.176','startcell'
=> 2,'ix' => 2},{'length' => '278.01','startcell' => 3,'ix' =>
3},{'length' => '290.186','startcell' => 4,'ix' => 4},{'length' =>
'569','startcell' => 5,'ix' => 5},{'length' => '254.186','startcell' =>
6,'ix' => 6},{'length' => '195.176','startcell' => 7,'ix' =>
7},{'length' => '401.266','startcell' => 8,'ix' => 8},{'length' =>
'242.32','startcell' => 9,'ix' => 9},{'length' => '190.176','startcell'
=> 10,'ix' => 10},{'length' => '314.186','startcell' => 11,'ix' =>
11},{'length' => '455.01','startcell' => 12,'ix' => 12},{'length' =>
'536.01','startcell' => 13,'ix' => 13},{'length' => '378.52','startcell'
=> 14,'ix' => 14},{'length' => '470','startcell' => 16,'ix' =>
15},{'length' => '290','startcell' => 17,'ix' => 16},{'length' =>
'329.266','startcell' => 18,'ix' => 17},{'length' => '277','startcell'
=> 19,'ix' => 18},{'length' => '247','startcell' => 20,'ix' =>
19},{'length' => '238.176','startcell' => 21,'ix' => 20},{'length' =>
'353','startcell' => 22,'ix' => 21},{'length' => '293.01','startcell' =>
23,'ix' => 22},{'length' => '375','startcell' => 24,'ix' =>
23},{'length' => '254','startcell' => 25,'ix' => 24},{'length' =>
'302.01','startcell' => 26,'ix' => 25},{'length' =>
'262.176','startcell' => 27,'ix' => 26},{'length' => '254','startcell'
=> 28,'ix' => 27},{'length' => '464.2','startcell' => 29,'ix' =>
28},{'length' => '1','startcell' => 30,'ix' => 29}],'audio' =>
[{'channels' => 6,'language' => 'English','content' =>
'Undefined','frequency' => 48000,'format' => 'ac3','quantization' =>
'drc','ap_mode' => 0,'langcode' => 'en','ix' => 1},{'channels' =>
6,'language' => 'English','content' => 'Undefined','frequency' =>
48000,'format' => 'dts','quantization' => 'drc','ap_mode' =>
0,'langcode' => 'en','ix' => 2},{'channels' => 2,'language' =>
'English','content' => 'Undefined','frequency' => 48000,'format' =>
'ac3','quantization' => 'drc','ap_mode' => 0,'langcode' => 'en','ix' =>
3},{'channels' => 2,'language' => 'English','content' =>
'Undefined','frequency' => 48000,'format' => 'ac3','quantization' =>
'drc','ap_mode' => 0,'langcode' => 'en','ix' => 4}],'vts' => 1,'df' =>
'Letterbox','cell' => [{'length' => '433.3','ix' => 1},{'length' =>
'336.176','ix' => 2},{'length' => '278.01','ix' => 3},{'length' =>
'290.186','ix' => 4},{'length' => '569','ix' => 5},{'length' =>
'254.186','ix' => 6},{'length' => '195.176','ix' => 7},{'length' =>
'401.266','ix' => 8},{'length' => '242.32','ix' => 9},{'length' =>
'190.176','ix' => 10},{'length' => '314.186','ix' => 11},{'length' =>
'455.01','ix' => 12},{'length' => '536.01','ix' => 13},{'length' =>
'88.21','ix' => 14},{'length' => '290.31','ix' => 15},{'length' =>
'470','ix' => 16},{'length' => '290','ix' => 17},{'length' =>
'329.266','ix' => 18},{'length' => '277','ix' => 19},{'length' =>
'247','ix' => 20},{'length' => '238.176','ix' => 21},{'length' =>
'353','ix' => 22},{'length' => '293.01','ix' => 23},{'length' =>
'375','ix' => 24},{'length' => '254','ix' => 25},{'length' =>
'302.01','ix' => 26},{'length' => '262.176','ix' => 27},{'length' =>
'254','ix' => 28},{'length' => '464.2','ix' => 29},{'length' => '1','ix'
=> 30}],'ix' => 1,'subp' => [{'language' => 'English','content' =>
'Undefined','langcode' => 'en','ix' => 1}],'vts_id' =>
'DVDVIDEO-VTS','aspect' => '16/9','height' => 480,'length' =>
'9289.186','format' => 'NTSC','fps' => '29.97','ttn' => 1,'angles' =>
1},{'width' => 720,'chapter' => [{'length' => '23.033','startcell' =>
1,'ix' => 1},{'length' => '1','startcell' => 2,'ix' => 2}],'audio' =>
[{'channels' => 2,'language' => 'English','content' =>
'Undefined','frequency' => 48000,'format' => 'ac3','quantization' =>
'drc','ap_mode' => 0,'langcode' => 'en','ix' => 1},{'channels' =>
6,'language' => 'English','content' => 'Undefined','frequency' =>
48000,'format' => 'dts','quantization' => 'drc','ap_mode' =>
0,'langcode' => 'en','ix' => 2}],'vts' => 2,'df' => 'Letterbox','cell'
=> [{'length' => '23.033','ix' => 1},{'length' => '1','ix' => 2}],'ix'
=> 2,'subp' => [],'vts_id' => 'DVDVIDEO-VTS','aspect' => '16/9','height'
=> 480,'length' => '24.033','format' => 'NTSC','fps' => '29.97','ttn' =>
1,'angles' => 1},{'width' => 720,'chapter' => [{'length' =>
'20','startcell' => 1,'ix' => 1},{'length' => '1','startcell' => 2,'ix'
=> 2}],'audio' => [{'channels' => 2,'language' => 'English','content' =>
'Undefined','frequency' => 48000,'format' => 'ac3','quantization' =>
'drc','ap_mode' => 0,'langcode' => 'en','ix' => 1},{'channels' =>
6,'language' => 'English','content' => 'Undefined','frequency' =>
48000,'format' => 'dts','quantization' => 'drc','ap_mode' =>
0,'langcode' => 'en','ix' => 2}],'vts' => 2,'df' => 'Letterbox','cell'
=> [{'length' => '20','ix' => 1},{'length' => '1','ix' => 2}],'ix' =>
3,'subp' => [],'vts_id' => 'DVDVIDEO-VTS','aspect' => '16/9','height' =>
480,'length' => '21','format' => 'NTSC','fps' => '29.97','ttn' =>
2,'angles' => 1}],'vmg_id' => 'DVDVIDEO-VMG','title' =>
'GLADIATOR','provider_id' => '','longest_track' => 1,'device' =>
'/dev/dvd'};
AcidRip message - DVD read ok
AcidRip message - ********************
MPEG container selected. Please note that you MUST use a compatible
mpeg1 video stream, select lavc video output, using vcodec=mpeg1video.
For a useful output you will probably want to choose a suitable encoding
matrix.for example, create a kvcd file with
vcodec=mpeg1video:keyint=25:mbd=2:vrc_minrate=300:vrc_maxrate=2400:vrc_buf_size=320:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
And don't forget to set VALID scale values etc...
********************
AcidRip message - Filetype changed to .mpg - READ DEBUG COMMENT! --->
AcidRip message - video_options has been set to
vcodec=mpeg4:vhq:v4mv:vqmin=2
AcidRip message - video_options has been set to
codec=mpeg1video:keyint=25:mbd=2:vrc_minrate=300:vrc_maxrate=2400:vrc_buf_size=320:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
AcidRip message - video_passes has been set to 2
AcidRip message - video_passes has been set to 2
AcidRip message - total_blocks has been set to 2
AcidRip message - Error setting bitrate
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - total_blocks has been set to 2
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - info_name has been set to Gladiator
AcidRip message - video_options has been set to
vcodec=mpeg1video:keyint=25:mbd=2:vrc_minrate=300:vrc_maxrate=2400:vrc_buf_size=320:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
AcidRip message - Crop detection in progress... please wait
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Running mplayer -vf cropdetect dvd://1 -dvd-device
/dev/dvd -nosound -vo null -frames 10 -sstep 310 -nocache
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
MPlayer 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1534 MHz
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/andrew/.mplayer/config
Reading /home/andrew/.mplayer/codecs.conf: Can't open
'/home/andrew/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf':
No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/andrew/.mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Using usleep() timing
Can't open input config file /home/andrew/.mplayer/input.conf: No such
file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000258
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00004405
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001e5e2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003dbcd8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003dbcdc
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
Opening video filter: [cropdetect]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 720x480 => 854x480 Mpeg PES
V: 0.0 1 0% 0% 0.0% 0 0 0% V: 0.3 2 0% 0% 0.0% 0 0 0%
V: 450.6 3 0% 0% 0.0% 0 0 0% crop area: X: 0..717 Y: 53..419
(-vf crop=718:366:0:54)
V: 855.5 4 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:1300.3 5 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:1824.2 6 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:2366.5 7 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:2778.8 8 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:3182.1 9 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:3568.8 10 0% 0% 0.0% 0 0 0% crop area: X: 0..718 Y: 53..420
(-vf crop=718:366:0:54)
V:3955.0 11 0% 0% 0.0% 0 0 0%
Exiting... (End of file)
AcidRip message - Crop detection completed
AcidRip message - scale_width has been set to 403
AcidRip message - scale_width has been set to 352
AcidRip message - scale_height has been set to 240
AcidRip message - scale_height has been set to 288
AcidRip message - scale_height has been set to 288
AcidRip message - scale_height has been set to 288
AcidRip message - Pushed events onto queue
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Blocks: 1=[1-14] 2=[15-29]
AcidRip message - Playlist contains 7 item(s)
AcidRip message - Running unlink frameno.avi 2> /dev/null
AcidRip message - Removing frameno.avi if it exists
AcidRip message - Running mencoder dvd://1 -dvd-device /dev/dvd -chapter
1-14 -alang English -info srcform="DVD ripped by
acidrip.sf.net":name="Gladiator" -oac lavc -lavcopts
acodec=mp3:abitrate=128 -ovc lavc -lavcopts
vcodec=mpeg1video:keyint=25:mbd=2:vrc_minrate=300:vrc_maxrate=2400:vrc_buf_size=320:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44:vbitrate=1048:vpass=1
-vf pp=de,crop=718:366:0:54,scale=352:288 -of mpeg -o "/dev/null"
AcidRip message - Encoding film, Block 1 of 2, 1st pass...
MEncoder 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1534 MHz
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
Reading /home/andrew/.mplayer/codecs.conf: Can't open
'/home/andrew/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/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 /home/andrew/.mplayer/mencoder: No such file or
directory
font: can't open file: /home/andrew/.mplayer/font/font.desc
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000258
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00004405
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001e5e2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003dbcd8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003dbcdc
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
No matching DVD audio language found!
success: format: 0 data: 0x0 - 0xFADC3000
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [scale w=352 h=288]
Opening video filter: [crop w=718 h=366 x=0 y=54]
Crop: 718 x 366, 0 ; 54
Opening video filter: [pp=de]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Limiting audio preload to 0.4s
Increasing audio density to 4
Writing AVI header...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 10 -> 8
SwScaler: reducing / aligning filtersize 10 -> 8
SwScaler: reducing / aligning filtersize 7 -> 5
SwScaler: reducing / aligning filtersize 7 -> 5
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
[mpeg1video @ 0x8496228]Warning min_rate > 0 but min_rate != max_rate
isnt recommanded!
[mpeg1video @ 0x8496228]MPEG1/2 doesnt support 2997/100 fps
Could not open codec.
FATAL: Cannot initialize video driver.
videocodec: libavcodec (352x288 fourcc=3167706d [mpg1])
High quality encoding selected (non real time)!
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
AcidRip message - Clearing 5 remaining playlist items
AcidRip message - Mencoder exited with an error code 139
========================
If possible, could you tell me what the command line version would be to
encode the DVD in an MPEG1 VCD format, creating two <700mb halves with a
.mpg filetype?
More information about the MPlayer-users
mailing list