![]() |
Tablet-encode & mencoder
Andrew,
These are my results using current svn version of tablet-encode as compared to 'straight' mencoder. I may well not have used tablet-encode to it's best advantage. Code:
|
Re: Tablet-encode & mencoder
Thanks very much for this.
Is this being played back on an N800? Using OS2007 or OS2008? When you say "only playable with mplayer", do you mean it plays back well with mplayer or that it suffers from the problems you describe and Media Player won't touch it at all? If the latter, does it give an error message? |
Re: Tablet-encode & mencoder
I'm using OS2008 on an N800.
The file won't play at all with the Nokia media player, but oddly enough no error message. Media player goes into zoom mode, but the video never starts. Playback with mplayer gives alightly jerky video and the sound is badly out of sync with the video. |
Re: Tablet-encode & mencoder
I remember having problems with '-noidx' option in some older version of 770-encode.pl script. After removing this option, everything got much better. Is it really needed?
|
Re: Tablet-encode & mencoder
Quote:
Code:
# push @params, ($options{"index"} ? '-forceidx' : '-noidx'); |
Re: Tablet-encode & mencoder
Yeah, I removed the '-noidx' option too, because else I couldn't skip in the videos.
|
Re: Tablet-encode & mencoder
One other change...
I changed: Code:
push @params, '-ffourcc', 'DIVX'; Code:
push @params, '-ffourcc', 'FMP4'; |
Re: Tablet-encode & mencoder
Interesting. Thanks for all the comments, I'll integrate these changes in the next version. I can't remember why -noidx was in there. It won't be any longer :-)
Jeff, did you see a difference in playback performance between the two FOURCCs? |
Re: Tablet-encode & mencoder
Jeff,
Could you do me a favour, and also `dd if=the_counter_clock_incident.tb.avi of=fragment.avi bs=1M count=20' and send me the result? If you need somewhere to FTP it, let me know. Many thanks in advance, Andrew |
Re: Tablet-encode & mencoder
Quote:
BTW, tablet-encode just did an excellent job on ST2:Wrath of Khan. 400Mb and the aspect ratio/playback is perfect. |
Re: Tablet-encode & mencoder
Quote:
|
Re: Tablet-encode & mencoder
Thanks. I'll do some more playing and include this all in v2.01.
Many thanks, Andrew |
Re: Tablet-encode & mencoder
Thanks for -c ! Works great!
|
Re: Tablet-encode & mencoder
I am trying to get the latest version of mplayer installed on a N800 with OS800 beta on it. It says it is missing the libmad0 packages. Can you explain where this package is installed from? Thanks!
|
Re: Tablet-encode & mencoder
The latest version in svn now features all the requirements and requests in this thread, comments and testing welcome:
https://garage.maemo.org/plugins/scm...iautils&rev=48 The only feature holding up a proper release is taking general DVD requests and turning that into the longest title using `mplayer -identify'. Hopefully done this weekend. @ranasing: there are other threads discussing mplayer on OS2008, I suggest you try there :-) |
Re: Tablet-encode & mencoder
Thanks for your work on this useful tool Andrew!
|
Re: Tablet-encode & mencoder
Ok, I did do a search for mplayer, but this was one of the few threads I found. Can you direct me to any specific threads. Thanks!
|
Re: Tablet-encode & mencoder
Code:
Package: libmad0 |
Re: Tablet-encode & mencoder
I tried installing that package and it won't let me. I get a "incompatible application package" error. I don't know if is related to having OS2008 beta on my N800. It seems like other people have been able to get it, mplayer, to install on a N800 with OS2008. Any assistance would be greatly appreciated. Thanks!
|
Re: Tablet-encode & mencoder
Ok, success! I don't know what happened, but I got it to finally install. Now on to UKMP! ;)
|
Re: Tablet-encode & mencoder
Just as an end-note for this thread, I just tested the newest version of tablet-encode.
My verdict: Excellent! Thanks, Andrew :) |
Re: Tablet-encode & mencoder
FWIW, the latest version which Jeff mentions has now been properly released:
https://garage.maemo.org/frs/?group_id=455 Full details at: https://garage.maemo.org/frs/shownot...elease_id=1223 |
Re: Tablet-encode & mencoder
Small 'bug': If the resolution of the movie is smaller than that of the preset, it gets upscaled.
|
Re: Tablet-encode & mencoder
Quote:
|
Re: Tablet-encode & mencoder
Quote:
There is a bug on the maemo garage site [#1900] tablet-encode produces videos unplayable on a 770 (audio codec not supported) I modified tablet-encode, and changed back to DIVX. And files now work, however best doesn't work in Nokia player (maybe only mplayer not yet checked) Wierd that changing the fourcc, gives a audio codec error in 770's nokia media player! Any chance of a 770 option in tablet encode Andrew? |
Re: Tablet-encode & mencoder
Yep, 2.18 is under development and adds a '--770' option for a 770-compatible FOURCC, brings back a very high spec profile for mplayer and will (when it's finished) have the ability to read additional profiles from your home directory.
More info can be seen in the Subversion commit log: https://garage.maemo.org/plugins/scm...utils&view=log |
Re: Tablet-encode & mencoder
Quote:
I've been using 770-encode (v1.35) for a while. I noticed the bitrates have increased with tablet-encoder for presets with the same name. Are they now optimized for the 800/810? The "best" preset in tablet-encoder won't play on nokia media player on 770 due to too high a resolution. Would it be better to readjust the presets to lower values when the --770 is used? Heres a comparison using grep... tablet-encode: smallest => { abitrate => 32, vbitrate => 80, width => 240 }, tablet-encode: small => { abitrate => 96, vbitrate => 150, width => 240 }, tablet-encode: average => { abitrate => 128, vbitrate => 350, width => 320, fps => 30 }, tablet-encode: good => { abitrate => 160, vbitrate => 600, width => 352, fps => 30 }, tablet-encode: best => { abitrate => 192, vbitrate => 768, width => 400, height => 240, fps => 30 }, 770-encode.pl: smallest => { abitrate => 32, vbitrate => 80, width => 240 }, 770-encode.pl: small => { abitrate => 96, vbitrate => 96, width => 240 }, 770-encode.pl: average => { abitrate => 96, vbitrate => 200, width => 320 }, 770-encode.pl: good => { abitrate => 128, vbitrate => 240, width => 320 }, 770-encode.pl: best => { abitrate => 128, vbitrate => 400, width => 352, fps => 25 }, 770-encode.pl: mplayer => { abitrate => 128, vbitrate => 420, width => 400, height => 240, fps => 30 }, |
Re: Tablet-encode & mencoder
Quote:
I'm not particularly keen on having two sets of presets. I may have anything above "average" raise a warning if --770 is set; but v2.18 allows you to define your own presets in ~/.tablet-encode.conf - or even change the ones that are present. |
Re: Tablet-encode & mencoder
Quote:
Quote:
Thanks for 770-encode/tablet-encode it has been fanastic for long train journeys! |
Re: Tablet-encode & mencoder
Quote:
Quote:
Quote:
|
Re: Tablet-encode & mencoder
Quote:
http://www.maemopeople.org/index.php...uch_improved_d To set the default preset and to always enable 770-compatibility mode, create ~/.tablet-encode.conf and put in it: Code:
$options{770} = 1; Let me know if you have any problems. |
Re: Tablet-encode & mencoder
Is it possible to add few more parameters for the tablet-encode? I tried to use "--mencoder=ARGn" but couldn't get it working.
I have some kung-fu DVDs which have English audio set as a default and when I make conversion, tablet-encode selects it. However I would like to have original Chinese audio with English subtitles. I have also used few other parameters with my own script (based to ones found on maemo.org wiki) which I would like to see also in tablet-encode. One of those is possibility to keep original aspect ratio and still crop black borders away. Videos will be 400 pixels (or whatever is set as resolution) wide and height will be automatically calculated based on aspect ratio. At least mplayer plays these videos correctly and black borders aren't encoded at all. These are the mencoder parameters I would like to see in tablet-encode: #Audio language e.g "zh" -alang <lang code> #Subtitle language e.g "en" -slang <lang code> #Subtitle font and its size -subfont-text-scale 7 -spuaa 3 -subcp latin1 #Crop value and scaling to correct aspect ratio. -vf crop <x:x:x:x>,scale=400:-10 I have used "mplayer dvd://$TITLE -vf cropdetect" to get correct crop value. Crop value can be different in the start of the movie so I have selected manually a position which I would like to use as a crop value and then I have then put it as a parameter for "-vf crop". Here is the script I have used to convert my DVDs. It's bit rough edged but it has been working just fine for me :) Code:
#!/bin/bash |
Re: Tablet-encode & mencoder
mve, thanks for the feedback.
* Auto-cropping using cropdetect is possible, but why've you got videos with encoded black bars in them anyway? ;-) I'll look into it for the next version. * Original aspect ratio can be maintained with --original-aspect (-o). * -alang is passed through for auto-detected DVDs, based on $LANG. I'll look at doing it more often. * --mencoder=ARGn should work, e.g.: Code:
tablet-encode -o -m-alang -mzh -m-slang -men in.avi out.avi Hope that helps, Andrew |
Re: Tablet-encode & mencoder
Quote:
Quote:
|
Re: Tablet-encode & mencoder
Quote:
|
Re: Tablet-encode & mencoder
Tablet-encode is awesome!
I wanted to set it up to automatically encode all the files I download with azureus... not there yet, but I ran into a bug with mencoder and mkvs that I've run into before, where it cuts short mkv files while encoding randomly. My point is, I found where someone wrote up a workaround for it, and the way you can pass any mencoder option to tablet encode via -m let me use it really easily. Thanks a ton for this great program! :) (The other awesome part about tablet encode to me? I can launch a progress bar for my conversion from the command line, meaning I can automate things with visual feedback. And if I put it inside screen first, I can get remote console feedback on the progress of files, too! :)) |
Re: Tablet-encode & mencoder
If the option is something which could always be passed for *.mkv files without any problems, let me know and I'll stick it in by default.
|
Re: Tablet-encode & mencoder
That'd be great! It could be passed without issue; the way I do it does add a bit of extra time (about 10 seconds on my machine) to the process up front, though. I know there are better ways to do it -- you can extract the audio first -- I just haven't bothered.
The bug can be summed up as: mencoder has trouble with mkvs when it has to also decode the audio for some reason; I know nothing of the technical details. The workaround I use is a bash script; I thought about modifying tablet-encode, but I know almsot no perl. Problem with how I do it is, what if you are not on a Linux system? I don't know if other systems work the same way or how to adapt it. Here's what I do, without the stuff specific to me: Code:
#!/bin/bash |
Re: Tablet-encode & mencoder
Quote:
-nyu2 |
Re: Tablet-encode & mencoder
Quote:
For the above command line options, put this in ~/.tablet-encode.conf: Code:
$options{'original-aspect'} = 1; Hope that helps, Andrew |
All times are GMT. The time now is 00:58. |
vBulletin® Version 3.8.8