[MPlayer-users] dvpro detection/csc problem

Andy Furniss andyqos at ukfsn.org
Mon Mar 5 01:44:41 CET 2012


Years ago I ripped some camcorder tapes using 50mbit dvpro format as an 
intermediate using mencoder.

It seems that current mplayer mis-detects these as dvsd and treats them 
as 420 instead of 422 so they play but don't render properly.

This happens with all -vo I tried (vdpau,xv,x11,gl)

Current ffplay + ffmpeg git works OK. Outputs from both below.

bash-3.2$ ffplay hi8-yuy2-10.raw-422p.dv
ffplay version N-38549-g2af8f2c Copyright (c) 2003-2012 the FFmpeg 
developers
   built on Mar  5 2012 00:21:27 with gcc 4.2.3
   configuration: --prefix=/usr --enable-gpl --enable-shared 
--enable-pthreads --enable-postproc
   libavutil      51. 41.100 / 51. 41.100
   libavcodec     54.  8.100 / 54.  8.100
   libavformat    54.  2.100 / 54.  2.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 63.100 /  2. 63.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  7.100 /  0.  7.100
   libpostproc    52.  0.100 / 52.  0.100
[dv @ 0x9ee9a40] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'hi8-yuy2-10.raw-422p.dv':
   Metadata:
     timecode        : 00:00:00:00
   Duration: 00:00:10.32, start: 0.000000, bitrate: 57600 kb/s
     Stream #0:0: Video: dvvideo, yuv422p, 720x576, 57600 kb/s, SAR 
16:15 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
[buffersink @ 0x9eeb280] auto-inserting filter 'auto-inserted scale 0' 
between the filter 'src' and the filter 'out'
[scale @ 0x9ef2680] w:720 h:576 fmt:yuv422p -> w:720 h:576 fmt:yuv420p 
flags:0x4
    7.24 A-V:  0.000 fd=   0 aq=    0KB vq= 1687KB sq=    0B f=0/0   0/0
bash-3.2$
bash-3.2$
bash-3.2$ mpn -v hi8-yuy2-10.raw-422p.dv
MPlayer SVN-r34799-4.2.3 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Phenom(tm) II X4 965 Processor (Family: 16, Model: 4, Stepping: 3)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/andy/.mplayer/codecs.conf'
Reading optional codecs config file /home/andy/.mplayer/codecs.conf: No 
such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: 
No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andy/.mplayer/fonts'
Configuration: --enable-debug --enable-xvmc 
--extra-cflags=-I/home/andy/Src/Xorg-git/modular/include 
--extra-libs=-L/home/andy/Src/Xorg-git/modular/lib 
--extra-libs-mplayer=-L/home/andy/Src/Xorg-git/modular/lib
CommandLine: '-ao' 'alsa' '-v' 'hi8-yuy2-10.raw-422p.dv'
Using nanosleep() timing
get_path('input.conf') -> '/home/andy/.mplayer/input.conf'
Reading optional input config file /home/andy/.mplayer/input.conf: No 
such file or directory
Reading optional input config file /usr/local/etc/mplayer/input.conf: No 
such file or directory
Falling back on default (hardcoded) input config
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.
get_path('hi8-yuy2-10.raw-422p.dv.conf') -> 
'/home/andy/.mplayer/hi8-yuy2-10.raw-422p.dv.conf'

Playing hi8-yuy2-10.raw-422p.dv.
get_path('sub/') -> '/home/andy/.mplayer/sub/'
[file] File size is 74304000 bytes
STREAM: [file] hi8-yuy2-10.raw-422p.dv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.2.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: DV video format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename hi8-yuy2-10.raw-422p.dv ext: .dv
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 7
AVS: avs_check_file - attempting to open file hi8-yuy2-10.raw-422p.dv
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 67743, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=7943 size=4185487729
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 
0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 124432, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 
0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 321110, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: DV video format
libavformat file format detected.
[dv @ 0x89c1a00]All info found
[dv @ 0x89c1a00]Estimating duration from bitrate, this may be inaccurate
==> Found video stream: 0
======= VIDEO Format ======
   biSize 40
   biWidth 720
   biHeight 576
   biPlanes 0
   biBitCount 0
   biCompression 1685288548='dvsd'
   biSizeImage 0
===========================
[lavf] stream 0: video (dvvideo), -vid 0
LAVF: 0 audio and 1 video streams found
LAVF: build 3539556
VIDEO:  [dvsd]  720x576  0bpp  25.000 fps  57600.0 kbps (7031.2 kbyte/s)
[V] filefmt:35  fourcc:0x64737664  size:720x576  fps:25.000  ftime:=0.0400
Clip info:
  timecode: 00:00:00:00
Load subtitles in ./
get_path('sub/') -> '/home/andy/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1920x1080 with depth 24 and 32 bpp (":0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.8.100 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 2)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [vdpau] 720x576 => 768x576 Planar YV12
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra at nvidia.com> and others
[vdpau] Updating CSC matrix for BT.601
*** [vo] Allocating mp_image_t, 736x576x12bpp YUV planar, 635904 bytes
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 2)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [vdpau] 720x576 => 768x576 Planar YV12
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra at nvidia.com> and others
[vdpau] Updating CSC matrix for BT.601
Unicode font: 5103 glyphs.
Unicode font: 5103 glyphs.
V:   3.4   0/  0 22%  2%  0.0% 0 0
Uninit video: ffmpeg
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list