Jump to content

Mplayer.exe Slave mode (Commands and Settings)


Belini
 Share

Recommended Posts

I am using Mplayer.exe in Slave mode and I can not exchange the video that is playing for another, does anyone know which command to use in slave mode?

 

; loadfile <file|url> <append> ==> I tried this command but did not switch to another video

$s_media_location = @ScriptDir & '\test.mpg'
StdinWrite($i_mplayer_pid, "loadfile "  & '"' & $s_media_location & '"' & @LF)

 

Edited by Belini
Link to comment
Share on other sites

Reading Stdout it seems like the path backslash needs to be escaped:

$s_ media_location = StringReplace($s_ media_location,"\","/\")

 

Simple debugger:

AdlibRegister("_ReadStdout",250)
Func _ReadStdout()
    ConsoleWrite(StdoutRead($i_mplayer_pid) & @crlf)
EndFunc

Link to comment
Share on other sites

This is exactly what I needed, thanks for the tip.

Edited by Belini
Link to comment
Share on other sites

Now I am trying to disable all messages on the display eg Mute: Enable, Mute: Disable ... but I have not found any command to disable messages on the screen, does anyone have a tip which command should I use?

EDITED:  I found what I was looking for  -osdlevel 0

Edited by Belini
Link to comment
Share on other sites

I need the list of commands to define the codec that the player will use, I searched and found only 4 commands, does anyone have the complete list of commands to change codec's

I just found these:
 

Quote

-vo directx:noaccel
-vo direct3d
-vo directx
-vo gl2

 

Edited by Belini
Link to comment
Share on other sites

I typed mplayer -vo help and was shown to me the drivers I have available, is it possible to have more codec's in the program folder so you don't have to install codec's when running the program on another pc that doesn't have codec's installed?

Return I had when I typed mplayer -vo help

Quote

MPlayer Redxii-SVN-r37871-4.9.3 (i686) (C) 2000-2016 MPlayer Team
FFmpeg version: N-80185-gbb3388f
Build date: 2016-06-04 17:38:35 EDT
Available video output drivers:
    directx    Directx DDraw YUV/RGB/BGR renderer
    direct3d    Direct3D 9 Renderer
    gl_nosw    OpenGL no software rendering
    sdl    SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
    gl    OpenGL
    gl_tiled    X11 (OpenGL) - multiple textures version
    matrixview    MatrixView (OpenGL)
    caca    libcaca
    null    Null video output
    mpegpes    MPEG-PES file
    yuv4mpeg    yuv4mpeg output for mjpegtools
    png    PNG file
    jpeg    JPEG file
    gif89a    animated GIF output
    tga    Targa output
    pnm    PPM/PGM/PGMYUV file
    md5sum    md5sum of each frame

 

Edited by Belini
Link to comment
Share on other sites

Latest MPlayer build r38152 shows the same output for me.

MPlayer uses generic codecs, here's a package available, but the latest version is from 2007...

http://www.mplayerhq.hu/design7/dload.html

I'm currently investigating on mpv.io, seems more future proof. Using the JSON IPC and pipes via _WinAPI_CreateFile() works just fine for remote control. Everything a little different from MPlayer, but still under development, MPlayer currently seems to suffer a slow death.

Link to comment
Share on other sites

I also wanted to use mpv but I need the player to run on windows xp and the latest version of mpv that works on xp is from 2015-11-10 so I opted for mplayer as the current version runs on windows xp and above

Link to comment
Share on other sites

@kafu unfortunately did not work with mplayer either because a .mp4 file format makes the video very slow on older pc's, I'm looking for other players that work in slave mode and are xp compatible, if you have any suggestions please post here: 

 

Link to comment
Share on other sites

It is windows xp x86 but I need to run well on it because my program will run on jukeboxes and karaoke that mostly have xp x86 installed, they are weaker machines that people use to make their assembly cheaper.

When I try to open the video through MPUI.exe I get these messages.

command line:
F:\Mplayer\mplayer.exe -slave -identify -noquiet -wid 458968 -colorkey
0x101010 -nokeepaspect -framedrop -autosync 100 -vf screenshot -font
C:\WINDOWS\Fonts\Arial.ttf -priority abovenormal -ao dsound:device=0
-vo direct3d -lavdopts threads=2 F:\Mplayer\200.mp4

MPlayer Redxii-SVN-r37871-4.9.3 (i686) (C) 2000-2016 MPlayer Team
FFmpeg version: N-80185-gbb3388f
Build date: 2016-06-04 17:38:35 EDT
Setting process priority: abovenormal

parse error at line 16
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 6: invalid attribute 'xmlns:its'
Fontconf
Playing F:\Mplayer\200.mp4.
libavformat version 57.37.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 016e1020]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  854x480  24bpp  24.000 fps  806.4 kbps (98.4 kbyte/s)
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.44.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Clip info:
major_brand: isom
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=isom
minor_version: 1
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=1
compatible_brands: isom
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isom
creation_time: 2019-11-12 00:25:41
ID_CLIP_INFO_NAME3=creation_time
ID_CLIP_INFO_VALUE3=2019-11-12 00:25:41
ID_CLIP_INFO_N=4
Load subtitles in F:\Mplayer\
Load subtitles in F:/Mplayer/mplayer/sub/
ID_FILENAME=F:\Mplayer\200.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=806448
ID_VIDEO_WIDTH=854
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=24.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=159640
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=146.66
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 159.6 kbit/5.66% (ratio: 19955->352800)
ID_AUDIO_BITRATE=159640
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffaac
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
[swscaler @ 0193c5e0]bicubic scaler, from yuv420p to bgra using MMXEXT
[swscaler @ 0193c5e0]using unscaled yuv420p -> bgra special converter
VO: [direct3d] 854x480 => 856x480 BGRA
ig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/70-no-bitmaps.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/70-yes-bitmaps.conf", line 8: unknown element "description"
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
VO: [direct3d] 854x480 => 856x480 BGRA
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
VO: [direct3d] 854x480 => 856x480 BGRA
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
VO: [direct3d] 854x480 => 856x480 BGRA
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
VO: [direct3d] 854x480 => 856x480 BGRA
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
VO: [direct3d] 854x480 => 856x480 BGRA
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7833
VO: [direct3d] 854x480 => 856x480 BGRA
<vo_direct3d>Allocating OSD texture in system RAM failed.
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)
ID_EXIT=EOF

With another .mp4 video works fine

command line:
F:\Mplayer\mplayer.exe -slave -identify -noquiet -wid 2361018 -colorkey
0x101010 -nokeepaspect -framedrop -autosync 100 -vf screenshot -font
C:\WINDOWS\Fonts\Arial.ttf -priority abovenormal -ao dsound:device=0
-vo direct3d -lavdopts threads=2 F:\Mplayer\03205.mpg

MPlayer Redxii-SVN-r37871-4.9.3 (i686) (C) 2000-2016 MPlayer Team
FFmpeg version: N-80185-gbb3388f
Build date: 2016-06-04 17:38:35 EDT
Setting process priority: abovenormal

parse error at line 16
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-autohint.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-full.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-medium.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-none.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-no-sub-pixel.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-bgr.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-rgb.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vbgr.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-sub-pixel-vrgb.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/10-unhinted.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-default.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-legacy.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/11-lcdfilter-light.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "F:\Mplayer\fonts\conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 4: unknown element "its:rules"
Fontconfig warning: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 5: invalid attribute 'translate'
Fontconfig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 5: invalid attribute 'selector'
Fontconfig error: "F:\Mplayer\fonts\conf.d/65-khmer.conf", line 6: invalid attribute 'xmlns:its'
Fontconf
Playing F:\Mplayer\03205.mpg.
libavformat version 57.37.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 016e1020]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1280x720  24bpp  30.000 fps  1539.8 kbps (188.0 kbyte/s)
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.44.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Clip info:
major_brand: isom
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=isom
minor_version: 512
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=512
compatible_brands: isomiso2avc1mp41
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isomiso2avc1mp41
title: 03205
ID_CLIP_INFO_NAME3=title
ID_CLIP_INFO_VALUE3=03205
date: 2017-11-11
ID_CLIP_INFO_NAME4=date
ID_CLIP_INFO_VALUE4=2017-11-11
encoder: Lavf58.12.100
ID_CLIP_INFO_NAME5=encoder
ID_CLIP_INFO_VALUE5=Lavf58.12.100
ID_CLIP_INFO_N=6
Load subtitles in F:\Mplayer\
Load subtitles in I:/Mplayer/mplayer/sub/
ID_FILENAME=F:\Mplayer\03205.mpg
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=1539800
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=129000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_START_TIME=-0.02
ID_LENGTH=37.76
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 129.0 kbit/4.57% (ratio: 16125->352800)
ID_AUDIO_BITRATE=129000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffaac
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
[swscaler @ 0193c5e0]bicubic scaler, from yuv420p to rgb24 using MMXEXT
[swscaler @ 0193c5e0]using unscaled yuv420p -> rgb24 special converter
VO: [direct3d] 1280x720 => 1280x720 Planar YV12

both videos play perfectly when running through windows media player

Edited by Belini
Link to comment
Share on other sites

On 11/26/2019 at 9:16 AM, KaFu said:

I'm currently investigating on mpv.io, seems more future proof.

@Kafu I'm testing MPV version 2.0.0.0 for xp but I can't send commands to it, how do you send commands to MPV.io and use it in slave mode?

Link to comment
Share on other sites

@Kafu thanks for posting but it didn't work on the old version that works on windows xp and I needed it to work on it.

I have more than 30,000 files and I will only know which ones do not play when trying to run and fail there is no way for me to separate to encode again, I'm currently testing on libvlc posted by @Genius257 and it seems to be working.

Edited by Belini
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...