I'm using the MPV video player and I put in a line of code in the config file to define a hotkey that sends the currently showing subtitle text to Windows clipboard:
Ctrl+x run "cmd.exe" "/d" "/c" "echo ${sub-text}|clip"
NOTE: ${sub-text} is the current subtitle text property in MPV video player.
While watching a video I can press Ctrl+x to send the current subtitle to clipboard but the problem is it only works for English (ansi). For Japanese subtitles, only a series of question marks are copied to clipboard, even though the player displays the Japanese characters correctly.
Anything I need to change so that the properly encoded text can be sent to clipboard?
(System:Windows 7)
Thanks!!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
Marsia MarinerGuest
I am no mpv expert, but apparently /probably you'll need to tell it to «export text as Unicode».
Even though you should not have to do that.
On Windows 7 and higher any decently-written application calls an appropriate font when the default / chosen font does not include the requested character set(s). Because Windows itself and TTF/OTF files use Unicode internally since ages ago.Last edited by Marsia Mariner; 31st Jul 2017 at 11:06. Reason: clarity (or at least I hope so)
Similar Threads
-
Please help on my 2-pass (Windows) ffmpeg cmd (SOLVED)
By SameSelf in forum Video ConversionReplies: 2Last Post: 26th May 2017, 13:41 -
sending text through email as an option
By vhelp in forum ComputerReplies: 7Last Post: 16th Sep 2015, 13:22 -
cmd prompt freeze in windows 10, 32 and 64bit?
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 8th Sep 2015, 10:08 -
cmd.exe
By blinky88 in forum Newbie / General discussionsReplies: 10Last Post: 15th Mar 2015, 10:36 -
Windows XP3 - cmd.exe
By blinky88 in forum Newbie / General discussionsReplies: 1Last Post: 10th Mar 2015, 04:36