maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Trouble passing mencoder options via tablet-encode (Unable to get movie info) (https://talk.maemo.org/showthread.php?t=19890)

grog 2008-05-08 09:57

Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
Hi all. I've got a whole bunch of dvd's of tv episodes that I'm trying to use tablet-encode on, but it seems I'm having troubles when I try to pass specific mencoder options. I'm doing this mainly because I've got two dvd drives that I want to use in tandem to speed up the process, so not only do I have to point mencoder to the correct drive, but with using two-pass encoding I have to specify different log file outputs so they don't collide. Lastly I want mencoder to boost the volume so I can actually hear the video when I'm riding on a bus or plane.

Here's my command line & the error I keep getting:

Code:

tablet-encode --original-aspect --two-pass --preset=best --mencoder="-af volume=10" --mencoder="-passlogfile passlog1.log" --mencoder="-dvd-device /dev/hda" dvd://1 Show-S01E01.tablet.avi
Unable to get movie info.

If I don't specify any of the mencoder options it works fine. Any ideas? TX

bubieyehyeh 2008-05-08 12:30

Re: Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
If you want to pass "-af 10" I think you need to do -maf -m10 or something like that I seem to remember. Or possibly -m-af -m10.

grog 2008-05-08 14:45

Re: Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
Quote:

Originally Posted by bubieyehyeh (Post 179191)
If you want to pass "-af 10" I think you need to do -maf -m10 or something like that I seem to remember. Or possibly -m-af -m10.

That worked. And after finally getting it to work, I realized that I can forget the passlogfile switch as well, because tablet-encode already does that based on the output file name.

Thanks for the tip.

Jaffa 2008-05-14 12:19

Re: Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
Sorry, the documentation on this could be clearer. Suggestions (and patches) welcome :-)

grog 2008-05-14 14:23

Re: Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
Quote:

Originally Posted by Jaffa (Post 181459)
Sorry, the documentation on this could be clearer. Suggestions (and patches) welcome :-)

No troubles. I guess my suggestion would be to allow one long string to be passed to mencoder so that multiple options or options with qualifiers can be passed with one -mencoder switch.

Given the time I'd offer a patch, but that's in very short supply right now (time that is, not patches :)).

TX

Jaffa 2008-05-16 13:27

Re: Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
Quote:

Originally Posted by grog (Post 181499)
No troubles. I guess my suggestion would be to allow one long string to be passed to mencoder so that multiple options or options with qualifiers can be passed with one -mencoder switch.

Trouble with this is you rapidly get into the problem of implementing your own shell command-line parsing (split on space, unless it's in a string, or escaped, ...)

Having said that, it may be necessary.

Quote:

Given the time I'd offer a patch, but that's in very short supply right now (time that is, not patches :)).
Heh, tell me about it.

grog 2008-05-16 13:43

Re: Trouble passing mencoder options via tablet-encode (Unable to get movie info)
 
Quote:

Originally Posted by Jaffa (Post 182344)
Trouble with this is you rapidly get into the problem of implementing your own shell command-line parsing (split on space, unless it's in a string, or escaped, ...)

Having said that, it may be necessary.

I know what you mean. I've tried doing that for several shell scripts & it gets real messy pretty quick. The current work-around does just that, works. Don't sweat trying to make it pretty :).

Thanks again for the great tool. Converting a whole bunch of Babylon 5's right now & enjoying them greatly!


All times are GMT. The time now is 14:48.

vBulletin® Version 3.8.8