VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 28 of 28
Thread
  1. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    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)
    Last edited by Belini; 15th Nov 2019 at 10:35.
    Quote Quote  
  2. looking at http://www.mplayerhq.hu/DOCS/tech/slave.txt 'loadfile' should be the correct call:
    loadfile <file|url> <append>
    Load the given file/URL, stopping playback of the current file/URL.
    If <append> is nonzero playback continues and the file/URL is
    appended to the current playlist instead.
    but also reading
    ]All commands can be prefixed with one of "pausing ", "pausing_keep ", or "pausing_toggle ". "pausing " tells MPlayer to pause as soon as possible after processing the command. "pausing_keep " tells MPlayer to do so only if it was already in paused mode. "pausing_toggle " tells MPlayer to do so only if it was not already in paused mode. Please note that "as soon as possible" can be before the command is fully executed. As a temporary hack, there is also the _experimental_ "pausing_keep_force " prefix, with which MPlayer will not exit the pause loop at all. Like this you can avoid the "frame stepping" effect of "pausing_keep " but most commands will either not work at all or behave in unexpected ways.
    For "set_mouse_pos" and "key_down_event", "pausing_keep_force" is the default since other values do not make much sense for them.

    Various tips and tricks (please help expand it!):

    - Try using something like
    pausing_keep_force pt_step 1
    get_property pause
    to switch to the next file. It avoids audio playback starting to play the old file for a short time before switching to the new one.
    - To ensure the user can't control MPlayer "behind your back" use something like -input nodefault-bindings -noconfig all
    you might have to prefix it with pausing_keep_force.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    Thanks for the tips @selur, 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

    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
    Last edited by Belini; 25th Nov 2019 at 20:37.
    Quote Quote  
    • '-vo' sets the video output interface which is detected depending on the graphic card, available drivers and frameworks, it has nothing to do with any codecs and you can't add such stuff to mplayer. For normal playback not setting vo is usually a good choice.
    • Only thing that can be shipped with mplayer are vfw codecs assuming mplayer is properly configured; Usually this is a legacy thing and unless you handle some really old formats I wouldn't recommend to mess with it.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  4. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I will follow your advice, thanks again
    Quote Quote  
  5. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I have problems with some .mp4 videos and have already installed codec's and tested several versions of Mplayer and couldn't solve

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

    Code:
    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

    Code:
    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
    Quote Quote  
  6. Have you tried removing
    Code:
    -priority abovenormal
    and
    Code:
     -ao dsound:device=0 -vo direct3d
    ?
    Allocating OSD texture in system RAM failed.
    FATAL: Cannot initialize video driver.
    Sounds like there is some problem with drivers and RAM is another application also using direct3d?



    Ps.: You can look at the command line call Hybrid uses when using MPlayer for Preview in it's DebugOutput (assuming debug output level is 6 or higher)
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  7. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I think the problem is in the format of the files because 90% of the videos work perfectly and only 10% give this problem and it is always the same that give this error and 100% of the files run perfectly in windows media player, I am sending a file that gives the error and another that works in mplayer, maybe you will find something that can explain the error

    https://mega.nz/#!5Mdm1CjB!nNB3tbZay-q3xu-JIBh1Q3C2fnUvB1ldx_ey-c04UG8
    Quote Quote  
  8. Opened the video with Hybrid and checked the preview which used:
    Code:
     "I:\Hybrid\64bit\mplayer.exe" -slave "C:\Users\Selur\Desktop\Video ERROR.mp4" -forcedsubsonly -nosub -noautosub -mc 0 -nocache -aid 0  -ao win32 -wid 527480 -vo direct3d -lavdopts threads=8  -aspect 1.78272:1
    and had no problem jumping through the video, playback worked fine
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  9. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    This happens with windows xp 32 bit, now i am testing mpv and with it this same video works fine on windows xp 32 bit
    Quote Quote  
  10. So it might simply be an issue with you mplayer build and may be dated libraries.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  11. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I tested with several older versions of Mplayer and the problem is the same, mpv runs fine but I can't send commands to it in slave mode.
    Quote Quote  
  12. You would need a newer MPlayer build not older once,... MPV probably works since it uses a newer libav version.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  13. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I am testing MPV version 2.0.0.0 from 2015-11-10 which was the last one that works on windows xp and in this version the same video that gives problems in mplayer works perfectly in MPV so I decided to test older versions of Mplayer too but without success.
    Quote Quote  
  14. Since I stopped using WinXP years ago, I can't really tell what the problem is, but I can tell you that the 'Video ERROR.mp4' file plays fine for me on Win10 64bit using a current mplayer build.

    Does the file play properly for you when not using slave mode?
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  15. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    Gives the problem using slave mode or not using slave gives the same problem in this video, others working well in slave mode and without using slave mode, if not for this problem I would already be using Mplayer because the code is all set and everything is working but not being compatible with this video format already makes using Mplayer unfeasible so I am trying to use MPV now.
    Quote Quote  
  16. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I made a video of the tests I did on windows average player, MPV and Mplayer.

    https://youtu.be/F-2UefAkCr4

    Just another one in Mplayer using MPUI.exe

    https://youtu.be/kwHD76Wylic

    Both videos run perfectly on Windows average player and MPV but in Mplayer only runs one of them the other gives problem of getting stuck and only closes by the task manager and using MPUI.exe nor loads the video.

    Code:
    command line:
    F:\_MPlayerMEncoder-SB65\mplayer.exe -slave -identify -noquiet -wid
    590104 -colorkey 0x101010 -nokeepaspect -framedrop -autosync 100 -vf
    screenshot -font C:\WINDOWS\Fonts\Arial.ttf -priority abovenormal -ao
    dsound:device=0 "F:\_Video_test\Video ERROR.mp4"
    
    MPlayer SB65 (C) 2000-2016 MPlayer Team
    Custom build by SubJunk, http://www.spirton.com
    
    Setting process priority: abovenormal
    Scanning dir C:/WINDOWS/fonts
    
    
    Playing F:\_Video_test\Video ERROR.mp4.
    libavformat version 56.19.100 (internal)
    libavformat file format detected.
    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)
    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:\_Video_test\
    ID_FILENAME=F:\_Video_test\Video ERROR.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 video filter: [screenshot]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 56.20.100 (internal)
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ID_VIDEO_CODEC=ffh264
    ==========================================================================
    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...
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    [swscaler @ 0162cec0]bicubic scaler, from yuv420p to rgb24 using MMXEXT
    [swscaler @ 0162cec0]using unscaled yuv420p -> rgb24 special converter
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    ID_VIDEO_ASPECT=1.7792
    VO: [directx] 854x480 => 854x480 Planar YV12
    <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
    FATAL: Cannot initialize video driver.
    
    FATAL: Could not initialize video filters (-vf) or video output (-vo).
    
    
    Exiting... (End of file)
    ID_EXIT=EOF
    Quote Quote  
  17. can't use overlay mode: please use -vo directx:noaccel
    did you try that ?
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  18. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    Yes I had already tested and also tested with all other Video Output Devices too, with -vo directx: noaccel and -vo gl the video opens but the audio is normal and the video is super slow.

    Only with these two the video opens but is very slow
    Code:
    F:\_MPlayerMEncoder-SB65\mplayer.exe -slave -wid <window ID> -nokeepaspect -vo directx:noaccel "F:\_Video_test\Video ERROR.mp4"
    
    F:\_MPlayerMEncoder-SB65\mplayer.exe -slave -wid <window ID> -nokeepaspect -vo gl "F:\_Video_test\Video ERROR.mp4"
    With WMP2 and MPV the video works normal and only gives problems using Mplayer, I've spent several hours researching and testing and have not been successful so far, would it be possible to have more codecs in the folder of Mplayer to be able to do more tests?
    Quote Quote  
  19. MPlayer mainly uses libav for decoding the codecs folder is meant for vfw codecs and won't help with h.264 decoding.
    It is probably since no hardware acceleration is used (and the pc is probably to slow to software decode the content) for either the video overlay nor for the video decoding itself.
    Old hardware decoding required mod16 video which 854 isn't.
    Which is why when direct3d was used:
    "VO: [direct3d] 854x480 => 856x480 BGRA"
    was tried, but failed. On my system with direct3d I get "VO: [direct3d] 854x480 => 856x480 Planar YV12" which works fine.
    On my system the old SubJunk SB65 build also plays the file fine without a problem.
    And reports:
    Code:
    [swscaler @ 0201cec0]bicubic scaler, from yuv420p to bgra using MMXEXT
    [swscaler @ 0201cec0]using unscaled yuv420p -> bgra special converter
    VO: [directx] 854x480 => 854x480 BGRA
    So my guess is something with your system setup and that version of mplayer causes the problem.

    -> don't see any way to use another decoder in mplayer which would help with the playback.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  20. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    If there was a way to have codecs in the Mplayer folder that could be set by command line and put WMP2 or MPV codecs in it could work because it works with WMP2 and MPV, you know any version that can use codecs other than codecs used by Mplayer?
    Quote Quote  
  21. WMP2 <- don't know that player
    WMP = Windows Media Player uses DirectShow-Filters, no vfw codecs.
    MPV uses libav and additional libraries. (MPV dropped slave mode and support for vfw codecs.)
    MPlayer uses libav and additional libraries.
    Since MPlayer is basically abandoned for years, I have no hope for it to support DirectShow-Filters for decoding.
    If MPlayer doesn't work on your system using MPV is probably the next best thing.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  22. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    I really can't have Mplayer because of this problem and I'm not able to use MPV either because I can't put it in slave mode or send commands to the player, but I can embed MPV in my program window, you know How to send commands to MPV when it is embedded in the program window?

    How does Smplayer use embedded MPV and send commands to it?

    WMP2 = is windows average player 2 or average player classic
    Quote Quote  
  23. Member stax76's Avatar
    Join Date
    Nov 2009
    Location
    Chamber 36
    Search PM
    I think Smplayer uses mpv out of process, there are 2-3 ways to communicate with it but the out of process approach is garbage I think.

    Embedding libmpv is relatively easy, I had a great experience doing it. libmpv allows to get/set properties via function call so for pausing you would set the property pause to yes but alternatively you can send an input command (also via function call) as used in the input.conf file, for pausing this command would be 'set pause yes'.
    Quote Quote  
  24. See https://github.com/mpv-player/mpv-examples/tree/master/libmpv#methods-of-embedding-the-video-window on how to embed mpv into a window.
    Early versions of mpv still had the slave mode.
    How SMPlayer uses MPV can be looked up in the source code https://app.assembla.com/spaces/smplayer/subversion/source/HEAD/smplayer/trunk/src (mpvprocess.cpp is probably the main interesting class)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  25. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    Originally Posted by stax76 View Post
    Embedding libmpv is relatively easy, I had a great experience doing it.
    @stax76 I don't know how to embed libmpv in my code using Autoit.

    Originally Posted by Selur View Post
    Early versions of mpv still had the slave mode.
    @Selur that's a big problem, I can't find the old version of MPV that works in slave mode, do you know where to find this version?
    Quote Quote  
  26. do you know where to find this version?
    No.
    You probably need versions before 0.5 (12 Aug 2014), since videohelp started adding mpv 2016 iirc. you probably would have to compile an old version (with all the dependencies you need) yourself. But going that far back in the versions might break your playback,...

    No clue about AutoIt.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  27. Member Belini's Avatar
    Join Date
    Aug 2011
    Location
    Brazil
    Search Comp PM
    So old version of MPV I think I can not and the best is to try to learn how to use libraries, thanks for the tips.
    Quote Quote  



Similar Threads