OS/2, eCS & ArcaOS - Technical > Multimedia
mplayer - just stopped working...sort of...
Pete:
Hi
I'm not sure whether snap output is working or not.
If I play a video using smplayer with snap as output driver it plays fine, mplayer log displayed by smplayer shows:-
J:/Programs/Multimedia/mplayer/mplayer.exe -noquiet -slave -identify -nofs -sub-fuzziness 1 -vo kva:snap, -ao kai, -nodr -double -nomouseinput -nokeepaspect -wid 456 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles I:/USERS/PETER/HOME/.smplayer/styles.ass -subcp ISO-8859-1 -aid 0 -subpos 100 -volume 99 -ss 165 -osdlevel 0 -vf-add screenshot=\tmp\smplayer_screenshots/shot -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 L:/download/Caligula.mp4
MPlayer 1.5-9.1.0 (C) 2000-2022 MPlayer Team
Playing L:/download/Caligula.mp4.
libavformat version 59.17.102 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f4cf0]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] 938x480 24bpp 24.000 fps 901.7 kbps (110.1 kbyte/s)
Opening video filter: [ass auto=1]
[ass] auto-open
Opening video filter: [screenshot=\tmp\smplayer_screenshots/shot]
[ass] Shaper: FriBidi 0.19.7 (SIMPLE)
---------- snip -------
Towards end of log is this line
VO: [kva] 938x480 => 938x480 Planar YV12
The above seems to indicate snap output is working.
Trying to play the same video directly with mplayer from the command line using this command
mplayer -vo kva:snap -msglevel ao=9:vo=9 -quiet L:\download\Caligula.mp4 > mplayer.log 2>&1
results in no playback and this in the log:-
MPlayer 1.5-9.1.0 (C) 2000-2022 MPlayer Team
Playing L:\download\Caligula.mp4.
libavformat version 59.17.102 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f4cf0]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
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 938x480 24bpp 24.000 fps 901.7 kbps (110.1 kbyte/s)
KVA: Init failed!!!
Error opening/initializing the selected video_out (-vo) device.
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
encoder: Lavf60.3.100
If snap output works from smplayer why does it not work from the command line? - What am I missing?
Regards
Pete
KO Myung-Hun:
Hi/2.
I think SNAP mode should work on your machine.
How about trying to the following command like SMPlayer:
J:/Programs/Multimedia/mplayer/mplayer.exe -noquiet -slave -identify -nofs -sub-fuzziness 1 -vo kva:snap, -ao kai, -nodr -double -nomouseinput -nokeepaspect -wid 456 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles I:/USERS/PETER/HOME/.smplayer/styles.ass -subcp ISO-8859-1 -aid 0 -subpos 100 -volume 99 -ss 165 -osdlevel 0 -vf-add screenshot=\tmp\smplayer_screenshots/shot -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 L:/download/Caligula.mp4
Would you mind finding where snapwrap.dll is ? Is it in LIBPATH family when you launch mplayer.exe directly on command line ?
KO Myung-Hun
Pete:
Hi KO
The snapwrap.dll file is in the mplayer.exe directory - as is woverlay.dll which also fails when trying to use kva:wo.
I can answer my question: snap output is not working.
The mplayer log displayed by smplayer does not mention any problem with snap output but I found the smplayer log has these lines:-
[14:28:20:772] MplayerProcess::parseLine: 'KVA: Init failed!!!'
[14:28:20:803] MplayerProcess::parseLine: 'Opening video filter: [ass auto=1]'
[14:28:20:807] MplayerProcess::parseLine: '[ass] auto-open
I think the above indicates that mplayer could not initiate snap output and switched to "auto" video output.Not sure what causes mplayer to switch output...
I did try to copy'n'paste the mplayer command line from smplayer but I think the line is too long as it does not fully copy.
Regards
Pete
Dave Yeo:
You can always use sh.exe to get around the command line limit. Create mplayer.sh, paste the command line in and do "sh mplayer.sh" use / instead of \
KO Myung-Hun:
Hi/2.
MPlayer itself does not have the feature switching to auto mode, but I'm not sure SMPlayer does.
Can you post the full log of SMPlayer playing a clip which is not played by MPlayer with -vo kva:snap option?
KO Myung-Hun
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version