[MPlayer-users] Aspect change in DVB stream

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Apr 21 01:37:21 CEST 2006


Hi!

Some TV channels I watch using DVB-C change aspect ratio from time to time.
Whenever this happens, mplayer "resets" the output window (it moves to the
center of the screen), but doesn't correct the aspect: See first output when
playing a recorded stream that should change aspect from 16/9 to 4/3 and back to
16/9 but actually never changes. 
Second output shows the same stream started with -sb 5000000: Now the stream
starts 4/3 and stays 4/3 ;-(
I see the same wrong behaviour when watching live streams.

Kaffeine/Xine correctly change the aspects whenever the aspect of the
transmission changes.

Is there a chance to fix this behaviour?

Thank you, Carl Eugen

mplayer /media/cdrecorder/neujahr21.ts
MPlayer dev-CVS-060420-19:12-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred
(Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing /media/cdrecorder/neujahr21.ts.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=2112)AUDIO A52(pid=2114) NO SUBS (yet)!  PROGRAM N. 1000
Opened TS demuxer, audio: 2000(pid 2114), video: 10000002(pid 2112)...POS=564,
PROBE=2000000
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  7000.0 kbps (875.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  256.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
xscreensaver_disable: Could not find XScreenSaver window.
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
alsa-uninit: pcm closed:  0.007 ct: -0.512 352/352 12%  2%  1.5% 0 0

Exiting... (Quit)

mplayer /media/cdrecorder/neujahr21.ts -sb 5000000
MPlayer dev-CVS-060420-19:12-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred
(Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing /media/cdrecorder/neujahr21.ts.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=2112)AUDIO A52(pid=2114) NO SUBS (yet)!  PROGRAM N. 0
Opened TS demuxer, audio: 2000(pid 2114), video: 10000002(pid
2112)...POS=5011704, PROBE=2000000
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  7000.0 kbps (875.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  256.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
xscreensaver_disable: Could not find XScreenSaver window.
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
alsa-uninit: pcm closed:  0.012 ct: -0.673 229/229 15%  2%  1.4% 0 0

Exiting... (Quit)





More information about the MPlayer-users mailing list