> Date: Tue, 18 Aug 2009 20:59:03 +0400
> From: goga777@bk.ru
> CC: vdr@linuxtv.org
> Subject: Re: [vdr] mplayer plugin - INFO: Source Video has Resolution of 0 x 0
>
> > > I couldn't play with mplayer plugin the ts-files recorded on VDR 178
> >
> > > Jul 11 17:36:29 arvdr logger: *** DEBUG: MPLAYER_RETURN: "0"
> >
> > > Jul 11 17:36:30 arvdr logger: *** INFO: Source Video has Resolution of 0 x 0 ...
> > > Jul 11 17:36:30 arvdr logger: *** FATAL: something went wrong analyzing the video; check your mplayer version ...
> > >
> > > any ideas ?
> >
> > Try to use a number > 0 for the -frames parameter in line 277 of the
> > mplayer.sh script, e.g. 10. Does this help?
>
> sorry, currently I can't check - I uninstalled mplayer plugin and moved to XBMC + VDR
>
> Goga
>

hello,

i'm not using xbmc, but have a similar problem. out of a native vdr (it's 1.7.0) mplayer/mp3-plugin gives me the same error in syslog:
------------------------------------------------------------------------
Aug 19 22:18:10 vdr vdr: [8005] mplayer: player thread started (pid=7303)
Aug 19 22:18:10 vdr vdr: [8004] mplayer: mplayer child started (pid=8004)
Aug 19 22:18:10 vdr logger: *** Starting mplayer.sh Version 0.8.7
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable CFGFIL has value "/usr/local/bin/mplayer.sh.conf"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable USEAC3 has value "false"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable AC3AOUT has value "-ac hwac3"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable TV_ASPECT has value "16/9"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable PAL has value "true"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable NTSC has value "true"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable USE_SPEED has value "false"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable VOP has value "lavc=9000"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable VO has value "vdpau"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable AO has value "alsa"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable CACHE has value "8192"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable CACHESTR has value "-cache 8192"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable FRAMEDROP has value "false"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable FDSTR has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable LIRCRC has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable LIRCSTR has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc"
Aug 19 22:18:10 vdr logger: *** Use Option USERDEF at your own risk!
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable USERDEF has value "-vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 704 720 1280"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable XResNTSC has value "352 480 512 544 640 704 720 1280"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable SLOW_CPU has value "false"
Aug 19 22:18:10 vdr logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable DVDFiles has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: *** Option DVD not set correctly! You will not be able to play VCD/DVD ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable DVD has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable DVDLANG has value "en"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable DVDOPTIONS has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable VCDOPTIONS has value ""
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable MPEG_DIRECT has value "true"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable SUFFIX has value "m2ts"
Aug 19 22:18:10 vdr logger: *** DEBUG: Variable MPLAYER_V1 has value "true"
Aug 19 22:18:10 vdr logger: *** DEBUG: Calling getvidxy function to analyze source video stream ...
Aug 19 22:18:12 vdr logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=4113 ID_AUDIO_ID=4352 ID_AUDIO_ID=4608 ID_FILENAME=/video1/BACKUP/SonyCam/4Giga-Stick/09.07.2009/20081122105541.m2ts ID_DEMUXER=mpegts ID_VIDEO_FORMAT=0x10000005 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=0 ID_VIDEO_HEIGHT=0 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=8192 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=0.00 ID_SEEKABLE=1 ID_CHAPTERS=0 ID_VIDEO_CODEC=ffh264 ID_AUDIO_BITRATE=448000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_AUDIO_CODEC=a52 ID_VIDEO_ASPECT=1.7778 ID_EXIT=EOF"
Aug 19 22:18:12 vdr logger: *** DEBUG: MPLAYER_RETURN:  "0"
Aug 19 22:18:12 vdr logger: *** DEBUG: parsed output for ORIG_X: "0"
Aug 19 22:18:12 vdr logger: *** DEBUG: parsed output for ORIG_Y: "0"
Aug 19 22:18:12 vdr logger: *** DEBUG: parsed output for ORIG_FPS: "25.000"
Aug 19 22:18:12 vdr logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000"
Aug 19 22:18:12 vdr logger: *** DEBUG: parsed output for VIDEO_FORMAT: "0x10000005"
Aug 19 22:18:12 vdr logger: *** DEBUG: parsed output for AUDIO_CODEC: "a52"
Aug 19 22:18:12 vdr logger: *** INFO: Source Video has Resolution of 0 x 0 ...
Aug 19 22:18:12 vdr logger: *** FATAL: something went wrong analyzing the video; check your mplayer version ...
Aug 19 22:18:13 vdr vdr: [8005] mplayer: player thread ended (pid=7303)


it's a 1440x1080 (interlaced) camcorder-ts (packed in a m2ts/avchd container) file.
you can get a simple 2min sample on: http://private.urban-online.at/users/fluss/20090818193013.m2ts

user: fluss
pass: pferd

a user on vdr-portal adviced me to use "MediaInfo" to look inside the container - here is it's output from a sample of the camcorder:
------------------------------------------------------------------------
General
ID : 0
Complete name : /video1/BACKUP/SonyCam/16Giga-Stick/15.07.2009/20090418143621.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 65.1 MiB
Duration : 1mn 26s
Overall bit rate : 6 287 Kbps
Maximum Overall bit rate : 18.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Duration : 1mn 26s
Bit rate : 5 579 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.143
Stream size : 57.6 MiB (89%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1mn 26s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 4.64 MiB (7%)

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Duration : 1mn 26s
------------------------------------------------------------------------

> [..]
> > Try to use a number > 0 for the -frames parameter in line 277 of the
> > mplayer.sh script, e.g. 10. Does this help?

no, no chance - i changed the value of this parameter as showed above.

just to mention - directly under X i can start the sample and it's playing more or less (interlacing-steps, ..) ok.

ffmpeg is: svn from 20090818
mplayer is: r29540 svn from 20090819

mplayer.sh.conf looks like this:
------------------------------------------------------------------------
MPLAYER="/usr/bin/mplayer"
VOP="lavc=9000"
VO="vdpau"
AO="alsa"
XResPAL=(352 480 528 544 704 720 1280)
XResNTSC=(352 480 512 544 640 704 720 1280)
PAL="true"
NTSC="true"
AC3AOUT="-ac hwac3"
TV_ASPECT="16/9"
MPLAYER_V1="true"
CACHE="8192"
USERDEF="-vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau"
DEBUG="true"
------------------------------------------------------------------------

output: TV/LCD is connected via "nvidia/vdpau/720p"




thanks, ciax


Hol dir noch heute die neue Beta des Windows Live Messengers! Hier klicken!