[MPlayer-dvb] mplayer and dvb aspect ratio
Ermanno
erm67 at yahoo.it
Fri Oct 6 01:56:55 CEST 2006
I am a user of vdr a nice program to turn the pc into a video-recorder,
it creates .vdr files from a dvb card (probably simply saves to a file
what the card generates), to trasform this files to avi I use the vdrrip
plugin which in turn uses mplayer to do the job. The problem is that the
latest versions of mplayer always returns ID_VIDEO_ASPECT=0.0000 for the
files generated by vdr and the plugin relies on this value to compute
the correct resize values. Most channels are 4:3 so a with quick&dirty
patch to the plugin I fixed the aspect ratio to 1.33333 but it would be
nice if mplayer could again detect the correct aspect ratio. tcprobe (to
quote a competing product :-) correctly detects the aspect ratio of the
files (see #2). In the file used by me the resolution is 544x576 but the
aspect ratio is 4:3 and so the real resolution is 720x576 as detected by
tcprobe.
#1:
vdr01 vdrrip-0.3.0 # mplayer -msglevel identify=6 -vo null -ao
null /video/Un_boss_sotto_stress/2005-10-17.21.04.50.99.rec/001.vdr
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Model: 8, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
93 audio & 211 video codecs
Setting up LIRC support...
Playing /video/Un_boss_sotto_stress/2005-10-17.21.04.50.99.rec/001.vdr.
ID_VIDEO_ID=0
ID_AUDIO_ID=0
MPEG-PES file format detected.
VIDEO: MPEG2 544x576 (aspect 2) 25.000 fps 15000.0 kbps (1875.0
kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
ID_FILENAME=/video/Un_boss_sotto_stress/2005-10-17.21.04.50.99.rec/001.vdr
ID_DEMUXER=mpegpes
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=15000000
ID_VIDEO_WIDTH=544
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=1118.64
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 544 x 576 (preferred colorspace: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 544x576 => 544x576 Mpeg PES
Selected video codec: [mpegpes] vfm: mpegpes (MPEG-PES output (.mpg or
DXR3/DVB card))
==========================================================================
ID_VIDEO_CODEC=mpegpes
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
#2:
vdr01 vdrrip-0.3.0 # tcprobe
-i /video/Un_boss_sotto_stress/2005-10-17.21.04.50.99.rec/001.vdr
[tcprobe] MPEG packetized elementary stream (PES)
[tcprobe] summary
for /video/Un_boss_sotto_stress/2005-10-17.21.04.50.99.rec/001.vdr, (*)
= not default, 0 = not detected
import frame size: -g 544x576 [720x576] (*)
aspect ratio: 4:3 (*)
frame rate: -f 25.000 [25.000] frc=3
PTS=35715.0035, frame_time=40 ms, bitrate=15000 kbps
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000]
(*)
PTS=35714.6040, bitrate=192 kbps
-D 9 --av_fine_ms 39 (frames & ms) [0] [0]
vdr01 vdrrip-0.3.0 #
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
More information about the MPlayer-dvb
mailing list