bongo icon indicating copy to clipboard operation
bongo copied to clipboard

VLC backend doesn't work on Win32

Open trollusk opened this issue 14 years ago • 5 comments

The Win32 version of vlc (vlc.exe) does not recognise the command line argument --rc-fake-tty. Additionally it does not like unix-style forward slashes in pathnames.

trollusk avatar Jun 09 '11 04:06 trollusk

So does it work if you remove that option and change the slashes to backslashes?

dbrock avatar Jun 09 '11 10:06 dbrock

If I modify the function 'bongo-start-vlc-player' to not use the --rc-fake-tty option and to replace / with \ in the filename, then the file plays and the "rew, pause, stop, ffwd" icons appear in the modeline. However none of them do anything apart from the stop button. Pressing space to pause the file in the buffer also does not do anything.

So it sort of works but not satisfactorily.

On 9 June 2011 22:44, dbrock [email protected] wrote:

So does it work if you remove that option and change the slashes to backslashes?

Reply to this email directly or view it on GitHub: https://github.com/dbrock/bongo/issues/1#comment_1333405

trollusk avatar Jun 09 '11 20:06 trollusk

Thanks for the report. Unfortunately, I’ve had so many remote control problems with both VLC and mplayer on Windows that I’m not really optimistic about solving those remaining problems in any reliable way. If I recall correctly, I believe --rc-fake-tty was actually put in place to make it work on Windows.

Anyway, if you have a patch for the stuff you fixed that doesn’t break non-Windows, I’d be happy to merge it.

dbrock avatar Jun 21 '11 20:06 dbrock

I have actually switched to mplayer as that works well for me with bongo on Windows. I don't think merging my changes would be a good idea as with them all bongo does is launch the VLC GUI - there is no way to control playback from within emacs.

Paul

PS if you are interested, what I've actually done is written an extension to org mode (http://orgmode.org) which allows org files to include hyperlinks to audio/video files, which start playing via bongo when the link is activated. The links can also contain a time, in which case playback will start at that position in the track.

The code is at: http://orgmode.org/worg/code/elisp/org-player.el

On 22 June 2011 08:15, dbrock [email protected] wrote:

Thanks for the report. Unfortunately, I’ve had so many remote control problems with both VLC and mplayer on Windows that I’m not really optimistic about solving those remaining problems in any reliable way. If I recall correctly, I believe --rc-fake-tty was actually put in place to make it work on Windows.

Anyway, if you have a patch for the stuff you fixed that doesn’t break non-Windows, I’d be happy to merge it.

Reply to this email directly or view it on GitHub: https://github.com/dbrock/bongo/issues/1#issuecomment-1413460

trollusk avatar Jun 21 '11 20:06 trollusk

Great to hear that mplayer works well on Windows now, thanks for reporting that.

I love the Org mode integration! :D I don't use Org mode myself, but I've realized that lots of people do.

Daniel Brockman, partner & developer Go Interactive http://gointeractive.se Twitter: http://twitter.com/dbrock Telephone: +46706880739

dbrock avatar Jun 30 '11 17:06 dbrock