You are here

MPlayerPortable Command Line

3 posts / 0 new
Last post
pross
pross's picture
Offline
Last seen: 16 years 3 months ago
Joined: 2007-03-20 05:54
MPlayerPortable Command Line

It appears that the portable version doesn't handle command lines appropriately (not sure it was inteneded to do so - but I thought I'd report it in case your intent was to do so). I was attempting to take audio from a DVD so I could create an audio CD. Essentially converting the AC3 audio to WAV. I saw where MPlayer's command line would let me do this and using the following works to get the audio from the first chapter of a DVD when using Mplayer:

E:\PortableApps\MPlayerPortable\App\mplayer\mplayer -vc dummy -vo null -af resample=44100:0:0 -ao pcm:file=foo.wav -chapter 1-1 dvd://1

However if I use the following with MPlayerPortable, the GUI shows that it is unable to play media

E:\PortableApps\MPlayerPortable\MPplayerPortable -vc dummy -vo null -af resample=44100:0:0 -ao pcm:file=foo.wav -chapter 1-1 dvd://1

By the way this works the first command line works great - my old method required multiple tools and lots of time.

sum1
Offline
Last seen: 15 years 11 months ago
Joined: 2006-02-01 09:38
The following steps should

The following steps should work:

- Copy MPlayerPortable.ini from PortableApps\MPlayerPortable\Other\MPlayerPortableSource to PortableApps\MPlayerPortable
- Add "-vc dummy..." (without quotes) to the AdditionalParameters section of the ini file and run MPlayerPortable.exe

pross
pross's picture
Offline
Last seen: 16 years 3 months ago
Joined: 2007-03-20 05:54
Correction?

Actually it may not necessarily be the launcher. It looks like the launcher calls MPUI (and then MPUI calls mplayer). It appears that MPUI is not handling the command line parameters. I get the same failure mode when I bypass the launcher and pass parameters staright to MPUI.

Thanks for the input sum1, but I believe if I do what you are indicating then everytime I run mplayer from the menu it will want to extract the audio from whatever DVD is in the drive. I can deal with pointing to mplayer...I really just wanted to provide feedback just in case the intention was for the launcher to be able to deal with parameters passed to it from the command line.

Log in or register to post comments