Hi,
I am using VDR-1.4.1-1 with mplayer-plugin 0.9.15pre10. The primary card is a FF card (Hauppauge Rev 1.3). The CPU is an Athlon 2000+, with 512Mb of RAM.
I can read most video files, but some don't work.The screen stays black during a few seconds, then the live TV program is displayed again.
I have enabled the DEBUG option of the plugin, and here is the log :
Aug 22 09:03:17 vdr logger: *** Starting mplayer.sh Version 0.8.6 Aug 22 09:03:17 vdr logger: *** DEBUG: Variable CFGFIL has value "/etc/vdr/plugins/mplayer/mplayer.sh.conf" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable USEAC3 has value "false" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable TV_ASPECT has value "16/9" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable PAL has value "true" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable NTSC has value "true" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable USE_SPEED has value "true" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable VOP has value "lavc=5000" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable VO has value "mpegpes" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable AO has value "mpegpes" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable CACHE has value "4096" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable CACHESTR has value "-cache 4096" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable FRAMEDROP has value "true" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable FDSTR has value "-framedrop" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable LIRCRC has value "/etc/lircd.conf" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable LIRCSTR has value "-lircconf /etc/lircd.conf" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable AUDIO has value "" Aug 22 09:03:17 vdr logger: *** Use Option USERDEF at your own risk! Aug 22 09:03:17 vdr logger: *** DEBUG: Variable USERDEF has value "-quiet" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable SLOW_CPU has value "false" Aug 22 09:03:17 vdr logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD "" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable DVDFiles has value "" Aug 22 09:03:17 vdr logger: *** DEBUG: *** Option DVD not set correctly! You will not be able to play VCD/DVD "" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable DVD has value "" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable DVDLANG has value "fr" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable VCDOPTIONS has value "" Aug 22 09:03:17 vdr logger: *** DEBUG: Variable MPEG_DIRECT has value "true" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable SUFFIX has value ".avi" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable MPLAYER_V1 has value "true" Aug 22 09:03:18 vdr logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Aug 22 09:03:18 vdr logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_CLIP_INFO_NAME0=Software ID_CLIP_I NFO_VALUE0=VirtualDubMod 1.5.10.1 (build 2366/release) ID_CLIP_INFO_N=1 ID_FILENAME=/var/vdr/divx/Documentaire - Inde Des Di eux Et Des Hommes - La Derniere Vie De Nirvala.avi ID_DEMUXER=avi ID_VIDEO_FORMAT=DX50 ID_VIDEO_BITRATE=796408 ID_VIDEO_WIDT H=320 ID_VIDEO_HEIGHT=240 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE= 128000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_LENGTH=3169.96 ID_VIDEO_CODEC=ffodivx" Aug 22 09:03:18 vdr logger: *** DEBUG: MPLAYER_RETURN: "0" Aug 22 09:03:18 vdr logger: *** DEBUG: parsed output for ORIG_X: "320" Aug 22 09:03:18 vdr logger: *** DEBUG: parsed output for ORIG_Y: "240" Aug 22 09:03:18 vdr logger: *** DEBUG: parsed output for ORIG_FPS: "25.000" Aug 22 09:03:18 vdr logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000" Aug 22 09:03:18 vdr logger: *** DEBUG: parsed output for VIDEO_FORMAT: "DX50" Aug 22 09:03:18 vdr logger: *** DEBUG: parsed output for AUDIO_CODEC: "mp3" Aug 22 09:03:18 vdr logger: *** INFO: Source Video has Resolution of 320 x 240 ... Aug 22 09:03:18 vdr logger: *** DEBUG: PAL or unknown "25.000" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable MAX_X has value "512" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable NEW_Y has value "384" Aug 22 09:03:18 vdr logger: *** INFO: For Sqare Pixels we would scale to 512 x 384 ... Aug 22 09:03:18 vdr logger: *** DEBUG: Variable XResTEMP has value "352 480 528 544 688 704 720" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "7" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable NEW_X has value "352" Aug 22 09:03:18 vdr logger: *** DEBUG: setting REAL_Y = HALF_Y "" Aug 22 09:03:18 vdr logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:2 5,expand=352:288:-1:-1:1,scale=352:384 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 -quiet "
Any help would be appreciated.
Thanks, Jean-Claude
On 22 Aug 2006 Jean-Claude Repetto jean-claude.repetto@libertysurf.fr wrote:
I have enabled the DEBUG option of the plugin, and here is the log :
You should look at the console output which includes original mplayer output as well.
Regards.
Stefan Huelswitt wrote:
On 22 Aug 2006 Jean-Claude Repetto jean-claude.repetto@libertysurf.fr wrote:
I have enabled the DEBUG option of the plugin, and here is the log :
You should look at the console output which includes original mplayer output as well.
Regards.
Thanks, now the error message appears : DVB: height=384 not supported (try 240/480 (ntsc) or 288/576 (pal)
It seems that the plug-in tries to expand the format to 352/384, but the DVB card does not support the new format. Here is the whole log :
logger: *** Starting mplayer.sh Version 0.8.6 logger: *** DEBUG: Variable CFGFIL has value "/etc/vdr/plugins/mplayer/mplayer.sh.conf" logger: *** DEBUG: Variable USEAC3 has value "false" logger: *** DEBUG: Variable AC3AOUT has value "-ao alsa9 -ac hwac3" logger: *** DEBUG: Variable TV_ASPECT has value "16/9" logger: *** DEBUG: Variable PAL has value "true" logger: *** DEBUG: Variable NTSC has value "true" logger: *** DEBUG: Variable USE_SPEED has value "true" logger: *** DEBUG: Variable DETC_FILTER has value "detc=dr=2:am=1" logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer" logger: *** DEBUG: Variable VOP has value "lavc=5000" logger: *** DEBUG: Variable VO has value "mpegpes" logger: *** DEBUG: Variable AO has value "mpegpes" logger: *** DEBUG: Variable CACHE has value "4096" logger: *** DEBUG: Variable CACHESTR has value "-cache 4096" logger: *** DEBUG: Variable FRAMEDROP has value "true" logger: *** DEBUG: Variable FDSTR has value "-framedrop" logger: *** DEBUG: Variable LIRCRC has value "/etc/lircd.conf" logger: *** DEBUG: Variable LIRCSTR has value "-lircconf /etc/lircd.conf" logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30" logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc" logger: *** DEBUG: Variable AUDIO has value "" logger: *** Use Option USERDEF at your own risk! logger: *** DEBUG: Variable USERDEF has value "-quiet" logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720" logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720" logger: *** DEBUG: Variable SLOW_CPU has value "false" logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD "" logger: *** DEBUG: Variable DVDFiles has value "" logger: *** DEBUG: *** Option DVD not set correctly! You will not be able to play VCD/DVD "" logger: *** DEBUG: Variable DVD has value "" logger: *** DEBUG: Variable DVDLANG has value "fr" logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170" logger: *** DEBUG: Variable VCDOPTIONS has value "" logger: *** DEBUG: Variable MPEG_DIRECT has value "true" logger: *** DEBUG: Variable SUFFIX has value ".avi" logger: *** DEBUG: Variable MPLAYER_V1 has value "true" logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_CLIP_INFO_NAME0=Software ID_CLIP_INFO_VALUE0=VirtualDubMod 1.5.10.1 (build 2366/release) ID_CLIP_INFO_N=1 ID_FILENAME=/var/vdr/divx/Documentaire - Inde Des Dieux Et Des Hommes - La Derniere Vie De Nirvala.avi ID_DEMUXER=avi ID_VIDEO_FORMAT=DX50 ID_VIDEO_BITRATE=796408 ID_VIDEO_WIDTH=320 ID_VIDEO_HEIGHT=240 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_LENGTH=3169.96 ID_VIDEO_CODEC=ffodivx" logger: *** DEBUG: MPLAYER_RETURN: "0" logger: *** DEBUG: parsed output for ORIG_X: "320" logger: *** DEBUG: parsed output for ORIG_Y: "240" logger: *** DEBUG: parsed output for ORIG_FPS: "25.000" logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000" logger: *** DEBUG: parsed output for VIDEO_FORMAT: "DX50" logger: *** DEBUG: parsed output for AUDIO_CODEC: "mp3" logger: *** INFO: Source Video has Resolution of 320 x 240 ... logger: *** DEBUG: PAL or unknown "25.000" logger: *** DEBUG: Variable MAX_X has value "512" logger: *** DEBUG: Variable NEW_Y has value "384" logger: *** INFO: For Sqare Pixels we would scale to 512 x 384 ... logger: *** DEBUG: Variable XResTEMP has value "352 480 528 544 688 704 720" logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "7" logger: *** DEBUG: Variable NEW_X has value "352" logger: *** DEBUG: setting REAL_Y = HALF_Y "" logger: *** DEBUG: Variable CMDLINE has value "/usr/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25,expand=352:288:-1:-1:1,scale=352:384 -framedrop -cache 4096 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30 -quiet " MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) XP (Family: 6, Model: 8, Stepping: 0) MMX2 supported but disabled SSE supported but disabled 3DNow supported but disabled 3DNowExt supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled with runtime CPU detection.
93 audio & 211 video codecs
PLAYING /var/vdr/divx/Documentaire - Inde Des Dieux Et Des Hommes - La Derniere Vie De Nirvala.avi Cache fill: 2.93% (122880 bytes) AVI file format detected. VIDEO: [DX50] 320x240 24bpp 25.000 fps 796.4 kbps (97.2 kbyte/s) Clip info: Software: VirtualDubMod 1.5.10.1 (build 2366/release) ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Opening /dev/dvb/adapter0/video0+audio0 Opening video filter: [lavc=5000:25] Opening video filter: [expand w=352 h=288 x=-1 y=-1 osd=1] Expand: 352 x 288, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 Opening video filter: [scale w=352 h=384] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== AO: [mpegpes] 48000Hz 2ch s16le (2 bytes per sample) PLAYBACK STARTED mplayer: volume=100 mpVolume=100 mpMute=0 mplayer: slave cmd: get_time_length mplayer: slave cmd: get_percent_pos VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX [mpeg1video @ 0x8582be8]removing common factors from framerate VO: [mpegpes] 352x384 => 512x384 Mpeg PES DVB: height=384 not supported (try 240/480 (ntsc) or 288/576 (pal) FATAL: Cannot initialize video driver.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file) mplayer: POLLOUT POLLERR in MPlayerControl mplayer: slave cmd: get_time_length mplayer: cmd pipe is broken mplayer: slave cmd: get_percent_pos mplayer: cmd pipe is broken mplayer: slave cmd: get_time_length mplayer: cmd pipe is broken mplayer: slave cmd: get_percent_pos mplayer: cmd pipe is broken mplayer: slave cmd: get_time_length mplayer: cmd pipe is broken mplayer: slave cmd: get_percent_pos
Regards, Jean-Claude
On 23 Aug 2006 Jean-Claude Repetto jean-claude.repetto@libertysurf.fr wrote:
Thanks, now the error message appears : DVB: height=384 not supported (try 240/480 (ntsc) or 288/576 (pal)
It seems that the plug-in tries to expand the format to 352/384, but the DVB card does not support the new format.
Well, actualy it's the mplayer.sh script which fails here. The plugin only calls the script.
Regards.
Stefan Huelswitt wrote:
On 23 Aug 2006 Jean-Claude Repetto jean-claude.repetto@libertysurf.fr wrote:
Thanks, now the error message appears : DVB: height=384 not supported (try 240/480 (ntsc) or 288/576 (pal)
It seems that the plug-in tries to expand the format to 352/384, but the DVB card does not support the new format.
Well, actualy it's the mplayer.sh script which fails here. The plugin only calls the script.
Regards.
Hi,
Sorry, I thought that mplayer.sh was part of the mplayer plug-in project. I have contacted the author of mplayer.sh, and he solved my problem by suggesting to set the TV_ASPECT to the value 4/3 instead of 16/9.
Regards, Jean-Claude