Re: New, renamed version of 770-encode video converter now available
On Dec 5, 2007 11:41 AM, Luca Olivetti: Hi, I sent you off list a couple of patches for mediaserv and tablet-encode. Received, with thanks. Once I get caught up with my email, I'll review and merge these into the next versions. Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Andrew Flegg wrote: [snip] This is now implemented in the latest v2.10 release: https://garage.maemo.org/frs/?group_id=455 You can do: tablet-encode dvd: myfilm.avi ...and it'll rip the longest track (identified using mplayer, rather than lsdvd). Also in this release are a simplified set of presets, and generally higher output quality overall through some fiddling of mencoder options. The full changelog is at: https://garage.maemo.org/frs/shownotes.php?release_id=1223 Feedback, as ever, welcome. Fantastic, many thanks. I ripped the entire LOTR for my recent flights over the pond, and that kept me quiet :-) Q. How would you specify that subtitles (eg during the dialog in Elvish) should be preserved? Do you need to know the language or channel being used? ///Peter ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Andrew Flegg ha escrit: Many of you use my script 770-encode to transcode videos for your Hi, I sent you off list a couple of patches for mediaserv and tablet-encode. Since I got no feedback (but then these last 2 days my adsl connection doesn't last for more than 5 minutes at a time) I fear they ended in your spam folder. Did you receive them? Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Dec 2, 2007 8:36 PM, Jonathan Greene [EMAIL PROTECTED] wrote: As always, awesome work! Thanks :-) Are there any benchmarks of timing on the use of table-encode vs other tools? Not that I know of, although I'd love to see some. Given that they all, AFAIK, apart from Nokia's Internet Tablet Video Converter use mencoder, I'd expect the results to be fairly comparable. Having said that, tablet-encode v2.10 is *slightly* slower by the application of a sharpening filter to the output, to improve the image quality. If this turns out to be too painful, I'll make it an optional feature. Obviously these figures would be very dependent on the system on which they were run, so they'd all have to be done on the same video with roughly the same output quality (and/or the defaults for the app) on the same machine. I know Ricky Cadden was looking at doing something like that for his tablet blog, but I've not heard any further on it. Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Great -- Minor detail -- where is the file available for download? Andrew Flegg wrote: On Dec 2, 2007 8:36 PM, Jonathan Greene [EMAIL PROTECTED] wrote: As always, awesome work! Thanks :-) Are there any benchmarks of timing on the use of table-encode vs other tools? Not that I know of, although I'd love to see some. Given that they all, AFAIK, apart from Nokia's Internet Tablet Video Converter use mencoder, I'd expect the results to be fairly comparable. Having said that, tablet-encode v2.10 is *slightly* slower by the application of a sharpening filter to the output, to improve the image quality. If this turns out to be too painful, I'll make it an optional feature. Obviously these figures would be very dependent on the system on which they were run, so they'd all have to be done on the same video with roughly the same output quality (and/or the defaults for the app) on the same machine. I know Ricky Cadden was looking at doing something like that for his tablet blog, but I've not heard any further on it. Cheers, Andrew -- Always, Dr Fred C [EMAIL PROTECTED] ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 21, 2007 1:16 PM, Peter Flynn [EMAIL PROTECTED] wrote: Andrew Flegg wrote: [improved DVD ripping in tablet-encode] I think the best way, TBH, would be to allow a syntax like: tablet-encode dvd:// myfilm.avi or tablet-encode /media/cdrom0 myfilm.avi or tablet-encode /dev/dvd myfilm.avi ...and have it a) detect it as a DVD, b) call lsdvd to find the longest track and generate an appropriate URL of the form dvd://track. That sounds ideal. This is now implemented in the latest v2.10 release: https://garage.maemo.org/frs/?group_id=455 You can do: tablet-encode dvd: myfilm.avi ...and it'll rip the longest track (identified using mplayer, rather than lsdvd). Also in this release are a simplified set of presets, and generally higher output quality overall through some fiddling of mencoder options. The full changelog is at: https://garage.maemo.org/frs/shownotes.php?release_id=1223 Feedback, as ever, welcome. Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Andrew - As always, awesome work! Are there any benchmarks of timing on the use of table-encode vs other tools? On Dec 2, 2007 3:25 PM, Andrew Flegg [EMAIL PROTECTED] wrote: On Nov 21, 2007 1:16 PM, Peter Flynn [EMAIL PROTECTED] wrote: Andrew Flegg wrote: [improved DVD ripping in tablet-encode] I think the best way, TBH, would be to allow a syntax like: tablet-encode dvd:// myfilm.avi or tablet-encode /media/cdrom0 myfilm.avi or tablet-encode /dev/dvd myfilm.avi ...and have it a) detect it as a DVD, b) call lsdvd to find the longest track and generate an appropriate URL of the form dvd://track. That sounds ideal. This is now implemented in the latest v2.10 release: https://garage.maemo.org/frs/?group_id=455 You can do: tablet-encode dvd: myfilm.avi ...and it'll rip the longest track (identified using mplayer, rather than lsdvd). Also in this release are a simplified set of presets, and generally higher output quality overall through some fiddling of mencoder options. The full changelog is at: https://garage.maemo.org/frs/shownotes.php?release_id=1223 Feedback, as ever, welcome. Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users -- Jonathan Greene +1.914.750.8740 AIM / iChat - atmasphere gtalk / jabber - [EMAIL PROTECTED] Skype / Gizmo - JonathanGreene blogs - http://www.atmasphere.net/wp / http://www.maemoapps.com ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 24, 2007 12:27 AM, Luca Olivetti [EMAIL PROTECTED] wrote: too bad, it means there's no suitable option that can be used as a default valid for every case. For the VDR files,the audio stream info is contained in the info.vdr IIRC. For DVDs, parsing lsdvd (if available) could provide the info. Then, some -aid list and -aid id support could be added; defaulting to the first audio track which is found, and always explicitly passing -aid to mencoder. This'd've fixed Brad's DVD problem, and should help towards Luca's. Thoughts? Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Andrew the alang param can take a list of languages and choose your most preferred language that is available. Two-letter tags here only work for dvd, but the list could probably have both 2- and 3- letter variations for the languages you're interested in. is there a case this wouldn't cover? Brad On Nov 24, 2007 2:09 AM, Andrew Flegg [EMAIL PROTECTED] wrote: On Nov 24, 2007 12:27 AM, Luca Olivetti [EMAIL PROTECTED] wrote: too bad, it means there's no suitable option that can be used as a default valid for every case. For the VDR files,the audio stream info is contained in the info.vdr IIRC. For DVDs, parsing lsdvd (if available) could provide the info. Then, some -aid list and -aid id support could be added; defaulting to the first audio track which is found, and always explicitly passing -aid to mencoder. This'd've fixed Brad's DVD problem, and should help towards Luca's. Thoughts? Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users -- Brad ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 24, 2007 4:03 PM, Brad Midgley [EMAIL PROTECTED] wrote: the alang param can take a list of languages and choose your most preferred language that is available. Two-letter tags here only work for dvd, but the list could probably have both 2- and 3- letter variations for the languages you're interested in. is there a case this wouldn't cover? Where would it come from? Possibilities include: * ~/.tablet-encoderc [lang=en,eng,...] * $LANG (but this wouldn't help with mapping en - eng) * $TABLET_ENCODE_LANG = en,eng,... Luca, does VDR provide the languages through to mencoder, so that -alang ... works as well as -aid ...? (BTW, the svn version of tablet-encode now supports VDR recordings properly :-)) Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Andrew Flegg ha escrit: Luca, does VDR provide the languages through to mencoder, so that -alang ... works as well as -aid ...? Nope, I tried with -alang es and -alang esl (esl is the dvb encoding for es) but I got the english soundtrack. -aid 0 gives me the spanish soundtrack. Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Brad Midgley ha escrit: Hey I'll reask since I meant to ask on-list. dvd://1 and dvd://2 get the english audio, but for some reason dvd://3 and dvd://4 came out spanish. This disk has csi-ny tv series... I had the same problem with vdr recordings, maybe some weirdness in the way mencoder select the audio track if none is specified. For the time being I hard encoded the parameter -aid 0 in 770-encode. Don't know if that would work with a dvd. Maybe the proper solution would be to add a parameter to the new tablet-encode to specify the audio track, and if none is specified default to -aid 0. Then add language selection to mediaserv. Then I can try to add vdr support to mediaserv ;-) (no seriously, I hadn't time to look at it yet, but I'll try, the only problem is, I don't know when :-( ) Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Brad Midgley ha escrit: Marius That was a good idea to look at mencoder. For some reason it gets the wrong audio track sometimes. I think this might be best for a dvd and it works on that problematic title: tablet-encode -m -alang -m en -2 -p average dvd://4 out.avi could you try -m -aid -m 0 instead of -m -alang -m en ? Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Brad Midgley ha escrit: Luca could you try -m -aid -m 0 instead of -m -alang -m en ? the result was no audio... the audio id was 128 on the title I noticed. Not sure if that's typical. too bad, it means there's no suitable option that can be used as a default valid for every case. Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Marius That was a good idea to look at mencoder. For some reason it gets the wrong audio track sometimes. I think this might be best for a dvd and it works on that problematic title: tablet-encode -m -alang -m en -2 -p average dvd://4 out.avi Brad On Nov 23, 2007 6:54 AM, Luca Olivetti [EMAIL PROTECTED] wrote: En/na Marius Gedminas ha escrit: Well, in my case it isn't: I have some vdr recordings that are spanish (first language) and english (second), and with no track specified mencoder selects the second one (english). Hard coding -aid 0 solved my problem. I'm just wondering, does mencoder read ~/.mplayer/config? And do you perchance have alang = en in it? I hadn't thought of that, but, no, neither /etc/mplayer/mplayer.conf nor ~/.mplayer/config have an alang option (well, the first one it has, as an example, but it is commented out). And even if it'd matter for dvds, I doubt it would for vdr recordings since I don't think that the recording itself carries information about the language name, just the ids (I may be wrong though). Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users -- Brad ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Marius Gedminas ha escrit: Well, in my case it isn't: I have some vdr recordings that are spanish (first language) and english (second), and with no track specified mencoder selects the second one (english). Hard coding -aid 0 solved my problem. I'm just wondering, does mencoder read ~/.mplayer/config? And do you perchance have alang = en in it? I hadn't thought of that, but, no, neither /etc/mplayer/mplayer.conf nor ~/.mplayer/config have an alang option (well, the first one it has, as an example, but it is commented out). And even if it'd matter for dvds, I doubt it would for vdr recordings since I don't think that the recording itself carries information about the language name, just the ids (I may be wrong though). Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Fri, Nov 23, 2007 at 12:01:41PM +0100, Luca Olivetti wrote: En/na Andrew Flegg ha escrit: I'd try -aid 0 as a default (just to check if it works). Presumably this is what mencoder is doing already though? I might have to dig through its code and find its default aid selection algorithm - a quick Google isn't being particularly helpful. Well, in my case it isn't: I have some vdr recordings that are spanish (first language) and english (second), and with no track specified mencoder selects the second one (english). Hard coding -aid 0 solved my problem. I'm just wondering, does mencoder read ~/.mplayer/config? And do you perchance have alang = en in it? Marius Gedminas -- Never trust a smiling Gates. signature.asc Description: Digital signature ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Andrew Flegg ha escrit: I'd try -aid 0 as a default (just to check if it works). Presumably this is what mencoder is doing already though? I might have to dig through its code and find its default aid selection algorithm - a quick Google isn't being particularly helpful. Well, in my case it isn't: I have some vdr recordings that are spanish (first language) and english (second), and with no track specified mencoder selects the second one (english). Hard coding -aid 0 solved my problem. Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 23, 2007 10:37 AM, Luca Olivetti [EMAIL PROTECTED] wrote: En/na Andrew Flegg ha escrit: However, you /don't/ need to hack the script. You can use the -m option on tablet-encode to pass things through to mencoder: tablet-encode -m-aid -m1 dvd://3 ep3.avi well, in that case I would have had to hack mediaserv instead, so no big difference ;-) Yeah, there's still that to do to let it be selectable on a per-file basis. I'd try -aid 0 as a default (just to check if it works). Presumably this is what mencoder is doing already though? I might have to dig through its code and find its default aid selection algorithm - a quick Google isn't being particularly helpful. I should probably create a user's list on the mediautils project and this discussion should be moved there. (Although maemo-users isn't particularly high-volume) Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
En/na Andrew Flegg ha escrit: However, you /don't/ need to hack the script. You can use the -m option on tablet-encode to pass things through to mencoder: tablet-encode -m-aid -m1 dvd://3 ep3.avi well, in that case I would have had to hack mediaserv instead, so no big difference ;-) There's also -alang, but the value is dependent on the container. For DVDs you can use 'en', for other sources it could be something else. I'd try -aid 0 as a default (just to check if it works). Bye -- Luca ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 23, 2007 4:25 AM, Brad Midgley [EMAIL PROTECTED] wrote: I'll reask since I meant to ask on-list. dvd://1 and dvd://2 get the english audio, but for some reason dvd://3 and dvd://4 came out spanish. This disk has csi-ny tv series... It's odd since according to your lsdvd output there doesn't seem to be a difference. tablet-encode isn't doing anything clever here (perhaps it could[1]) but one solution is to specifically pass the audioid flag to mencoder, as Luca Olivetti mentions. However, you /don't/ need to hack the script. You can use the -m option on tablet-encode to pass things through to mencoder: tablet-encode -m-aid -m1 dvd://3 ep3.avi There's also -alang, but the value is dependent on the container. For DVDs you can use 'en', for other sources it could be something else. HTH, Andrew [1] Perhaps use the first two characters of $LANG to find the appropriate language to use by default? -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Luca could you try -m -aid -m 0 instead of -m -alang -m en ? the result was no audio... the audio id was 128 on the title I noticed. Not sure if that's typical. -- Brad ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Hey I'll reask since I meant to ask on-list. dvd://1 and dvd://2 get the english audio, but for some reason dvd://3 and dvd://4 came out spanish. This disk has csi-ny tv series... $ lsdvd -a Disc Title: DVD_VIDEO Title: 01, Length: 00:40:48.120 Chapters: 06, Cells: 06, Audio streams: 02, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80 Audio: 2, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81 Title: 02, Length: 00:43:07.243 Chapters: 06, Cells: 06, Audio streams: 02, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80 Audio: 2, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81 Title: 03, Length: 00:41:19.210 Chapters: 06, Cells: 06, Audio streams: 02, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80 Audio: 2, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81 Title: 04, Length: 00:42:20.133 Chapters: 06, Cells: 06, Audio streams: 02, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80 Audio: 2, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81 Title: 05, Length: 00:22:12.166 Chapters: 02, Cells: 02, Audio streams: 03, Subpictures: 01 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80 Audio: 2, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81 Audio: 3, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x82 Title: 06, Length: 00:00:05.000 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80 Title: 07, Length: 00:00:05.000 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80 Title: 08, Length: 00:00:05.000 Chapters: 02, Cells: 02, Audio streams: 02, Subpictures: 00 Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80 Audio: 2, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81 Brad ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 20, 2007 10:40 PM, Peter Flynn [EMAIL PROTECTED] wrote: [how to know what DVD title to rip] As Brad Midgley says, lsdvd and dvdinfo are your best bets. These should tell you the titles on the disc. Both of these are broken in Ubuntu Gutsy, unfortunately. $ lsdvd *** libdvdread: CHECK_VALUE failed in ifo_read.c:1539 *** *** for info_length % sizeof(cell_adr_t) == 0 *** Googling for this error turned up this, hopefully it'll help: http://ubuntuforums.org/showthread.php?t=299113 *Usually* the main feature is title 1, so you can do: tablet-encode -p best dvd://1 myfilm.avi Failed to get movie info. This is probably related to your DVD issues also affecting lsdvd and dvdinfo. What's dvd://? I've never seen that method of a URI before. Inserting a DVD in my Inspiron 4150 automounts it as /media/cdrom0 dvd://title is mplayer/mencoder's syntax for accessing DVDs. Some more information on the complete syntax is available here: http://www.mplayerhq.hu/DOCS/HTML/en/dvd.html Will it then encode just one VOB file, or will it somehow know that the movie is split across eight or nine of them? VOB files are just containers. You don't need to deal with them directly. Background info available here: http://club.cdfreaks.com/f72/tutorial-dvd-video-file-structure-77646/#post476300 I may well, at some point, do a Gtk+ GUI which shows DVD thumbnails and chapter information to make this easier; but if anyone got there before me, I'd be *very* happy to give them svn access to mediautils.garage.maemo.org. Better, given that there is usually only one movie per DVD, add an option that says table-encode -p whatever -fromdvd myfilm.avi Possibly. This'd introduce a dependency on lsdvd to find the largest title, but it's certainly doable. I'll add it to the TODO list. If you're doing this from a DVD, which I assume is by far and away the most common scenario, is it possible to make tablet-encode work out what file to start at? Personally, I use the DVD ripping less than I use it for re-encoding videos I've already got. I think the best way, TBH, would be to allow a syntax like: tablet-encode dvd:// myfilm.avi or tablet-encode /media/cdrom0 myfilm.avi or tablet-encode /dev/dvd myfilm.avi ...and have it a) detect it as a DVD, b) call lsdvd to find the longest track and generate an appropriate URL of the form dvd://track. Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Andrew Flegg wrote: On Nov 20, 2007 10:40 PM, Peter Flynn [EMAIL PROTECTED] wrote: [how to know what DVD title to rip] [...] Googling for this error turned up this, hopefully it'll help: http://ubuntuforums.org/showthread.php?t=299113 Aha. Thanks: running $ sudo /usr/share/doc/libdvdread3/install-css.sh installed the missing libdvdcss2 and now lsdvd works. WTF this isn't automatic is anyone's guess :-) *Usually* the main feature is title 1, so you can do: tablet-encode -p best dvd://1 myfilm.avi Failed to get movie info. This is probably related to your DVD issues also affecting lsdvd and dvdinfo. Yep. Encoding away happily now. Very many thanks for your help. Looks like Ubuntu still has a little way to go before DVDs can be considered playable. Totem still says it has no codec for this DVD (the movie Amelie) despite me having installed *all* those available. Will it then encode just one VOB file, or will it somehow know that the movie is split across eight or nine of them? VOB files are just containers. You don't need to deal with them directly. OK, so one of them *is* a driver for the actual movie, and the VOBs must just get #include'd somehow. Possibly. This'd introduce a dependency on lsdvd to find the largest title, but it's certainly doable. I'll add it to the TODO list. From the look of it you'd better not, if lsdvd is dependent on a libdvdcss2 which is not automatically installed. If you're doing this from a DVD, which I assume is by far and away the most common scenario, is it possible to make tablet-encode work out what file to start at? Personally, I use the DVD ripping less than I use it for re-encoding videos I've already got. This is probably true in the USA, where bandwidth and availability means you can download movies fairly easily. Possibly not so elsewhere. I think the best way, TBH, would be to allow a syntax like: tablet-encode dvd:// myfilm.avi or tablet-encode /media/cdrom0 myfilm.avi or tablet-encode /dev/dvd myfilm.avi ...and have it a) detect it as a DVD, b) call lsdvd to find the longest track and generate an appropriate URL of the form dvd://track. That sounds ideal. ///Peter ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 21, 2007 1:16 PM, Peter Flynn [EMAIL PROTECTED] wrote: Andrew Flegg wrote: http://ubuntuforums.org/showthread.php?t=299113 Aha. Thanks: running $ sudo /usr/share/doc/libdvdread3/install-css.sh installed the missing libdvdcss2 and now lsdvd works. Cool, glad you've got it working. Personally, I use the DVD ripping less than I use it for re-encoding videos I've already got. This is probably true in the USA, where bandwidth and availability means you can download movies fairly easily. Possibly not so elsewhere. I'm not in the USA though ;-) I just happen to have ripped a lot of my own DVDs already for playback on my Freevo box, or am transcoding recordings from Freeview (usually Thomas the Tank Engine to provide a Portable Toddler Entertainment Device :-)) Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Mon, 2007-11-19 at 08:49 +, Andrew Flegg wrote: Hi, Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: Hi Andrew, I gave it a go last night on a DVB stream that I had recorded from MythTV and it worked great. Watched it on the way to work this morning with no problems. Thank you very, very much for all you hard work on this. john ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 19, 2007 5:27 PM, DrFredC.com [EMAIL PROTECTED] wrote: Great job. Now do you think you could spend some time to describe your product and what it does in bubba English? As you may, or may not, be aware; the Nokia Internet Tablets can't generally play any random video which you may have on your computer. They typically need converting, re-encoding or (to use the proper term) transcoding to another format; typically DivX at a resolution at or lower than 400x240, not too high a bitrate etc. tablet-encode is a script which does this process for you, allowing you to convert DVDs, PVR recordings, download YouTube videos and other random videos you might have to a format suitable for playing back on the tablet. It uses a system of presets to allow you to choose, on an individual basis, whether you want a high-quality conversion (obviously taking more time and space) or a small, quick conversion. Further to the last email, it's URL is - due to a change at garage.mamo.org - now: http://mediautils.garage.maemo.org/tablet-encode.html If you've got any further questions, please don't hesitate to ask. Hope that helps, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Andrew Flegg wrote: Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: This looks really excellent, many thanks. One small query, however, from someone who knows absolutely zilch about video files...if I insert a DVD into my Ubuntu Gutsy laptop, how do I know *which* file[s] to give as arguments to tablet-encode? The listing of /media/cdrom0 says there's an AUDIO_TS directory (empty) and a VIDEO_TS directory (full): $ ls -l /media/cdrom0/VIDEO_TS/ total 7430712 -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 VIDEO_TS.BUP -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 VIDEO_TS.IFO -r--r--r-- 1 4294967295 4294967295 10364928 2002-03-20 11:23 VIDEO_TS.VOB -r--r--r-- 1 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.BUP -r--r--r-- 1 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.IFO -r--r--r-- 1 4294967295 4294967295 379172864 2002-03-20 11:25 VTS_01_0.VOB -r--r--r-- 1 4294967295 4294967295 1073725440 2002-03-20 11:32 VTS_01_1.VOB -r--r--r-- 1 4294967295 4294967295 1073266688 2002-03-20 11:40 VTS_01_2.VOB -r--r--r-- 1 4294967295 4294967295 1073688576 2002-03-20 11:47 VTS_01_3.VOB -r--r--r-- 1 4294967295 4294967295 1073670144 2002-03-20 11:54 VTS_01_4.VOB -r--r--r-- 1 4294967295 4294967295 1073338368 2002-03-20 12:02 VTS_01_5.VOB -r--r--r-- 1 4294967295 4294967295 1073418240 2002-03-20 12:09 VTS_01_6.VOB -r--r--r-- 1 4294967295 4294967295 778203136 2002-03-20 12:14 VTS_01_7.VOB $ What do I need to list as arguments? VOB files? BUP files? IFO files? (By the same token, although unrelated here, for the --copy-audio option, how would one know if the audio track is already MP3 or not) Is there some way a self-detecting shell can be built around table-encode that will sniff at the mounted DVD and see what files are needed? ///Peter ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Tuesday 20 November 2007 01:30:51 pm Peter Flynn wrote: Andrew Flegg wrote: Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: This looks really excellent, many thanks. One small query, however, from someone who knows absolutely zilch about video files...if I insert a DVD into my Ubuntu Gutsy laptop, how do I know *which* file[s] to give as arguments to tablet-encode? The listing of /media/cdrom0 says there's an AUDIO_TS directory (empty) and a VIDEO_TS directory (full): $ ls -l /media/cdrom0/VIDEO_TS/ total 7430712 -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 VIDEO_TS.BUP -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 VIDEO_TS.IFO -r--r--r-- 1 4294967295 4294967295 10364928 2002-03-20 11:23 VIDEO_TS.VOB -r--r--r-- 1 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.BUP -r--r--r-- 1 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.IFO -r--r--r-- 1 4294967295 4294967295 379172864 2002-03-20 11:25 VTS_01_0.VOB -r--r--r-- 1 4294967295 4294967295 1073725440 2002-03-20 11:32 VTS_01_1.VOB -r--r--r-- 1 4294967295 4294967295 1073266688 2002-03-20 11:40 VTS_01_2.VOB -r--r--r-- 1 4294967295 4294967295 1073688576 2002-03-20 11:47 VTS_01_3.VOB -r--r--r-- 1 4294967295 4294967295 1073670144 2002-03-20 11:54 VTS_01_4.VOB -r--r--r-- 1 4294967295 4294967295 1073338368 2002-03-20 12:02 VTS_01_5.VOB -r--r--r-- 1 4294967295 4294967295 1073418240 2002-03-20 12:09 VTS_01_6.VOB -r--r--r-- 1 4294967295 4294967295 778203136 2002-03-20 12:14 VTS_01_7.VOB $ What do I need to list as arguments? VOB files? BUP files? IFO files? (By the same token, although unrelated here, for the --copy-audio option, how would one know if the audio track is already MP3 or not) Is there some way a self-detecting shell can be built around table-encode that will sniff at the mounted DVD and see what files are needed? ///Peter Peter, The VOB files are the ones. VOB stands for DVD Video OBject. The VOB file is one of the core files found on DVD-Video discs and contains multiplexed Dolby Digital audio. James ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
lsdvd give some useful output here too. On Nov 20, 2007 2:35 PM, James Sparenberg [EMAIL PROTECTED] wrote: On Tuesday 20 November 2007 01:30:51 pm Peter Flynn wrote: Andrew Flegg wrote: Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: This looks really excellent, many thanks. One small query, however, from someone who knows absolutely zilch about video files...if I insert a DVD into my Ubuntu Gutsy laptop, how do I know *which* file[s] to give as arguments to tablet-encode? The listing of /media/cdrom0 says there's an AUDIO_TS directory (empty) and a VIDEO_TS directory (full): $ ls -l /media/cdrom0/VIDEO_TS/ total 7430712 -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 VIDEO_TS.BUP -r--r--r-- 1 4294967295 4294967295 12288 2002-03-20 11:23 VIDEO_TS.IFO -r--r--r-- 1 4294967295 4294967295 10364928 2002-03-20 11:23 VIDEO_TS.VOB -r--r--r-- 1 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.BUP -r--r--r-- 1 4294967295 4294967295 88064 2002-03-20 11:23 VTS_01_0.IFO -r--r--r-- 1 4294967295 4294967295 379172864 2002-03-20 11:25 VTS_01_0.VOB -r--r--r-- 1 4294967295 4294967295 1073725440 2002-03-20 11:32 VTS_01_1.VOB -r--r--r-- 1 4294967295 4294967295 1073266688 2002-03-20 11:40 VTS_01_2.VOB -r--r--r-- 1 4294967295 4294967295 1073688576 2002-03-20 11:47 VTS_01_3.VOB -r--r--r-- 1 4294967295 4294967295 1073670144 2002-03-20 11:54 VTS_01_4.VOB -r--r--r-- 1 4294967295 4294967295 1073338368 2002-03-20 12:02 VTS_01_5.VOB -r--r--r-- 1 4294967295 4294967295 1073418240 2002-03-20 12:09 VTS_01_6.VOB -r--r--r-- 1 4294967295 4294967295 778203136 2002-03-20 12:14 VTS_01_7.VOB $ What do I need to list as arguments? VOB files? BUP files? IFO files? (By the same token, although unrelated here, for the --copy-audio option, how would one know if the audio track is already MP3 or not) Is there some way a self-detecting shell can be built around table-encode that will sniff at the mounted DVD and see what files are needed? ///Peter Peter, The VOB files are the ones. VOB stands for DVD Video OBject. The VOB file is one of the core files found on DVD-Video discs and contains multiplexed Dolby Digital audio. James ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users -- Brad ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
On Nov 20, 2007 9:30 PM, Peter Flynn [EMAIL PROTECTED] wrote: Andrew Flegg wrote: Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: This looks really excellent, many thanks. Glad it looks useful to you :-) One small query, however, from someone who knows absolutely zilch about video files...if I insert a DVD into my Ubuntu Gutsy laptop, how do I know *which* file[s] to give as arguments to tablet-encode? The listing of /media/cdrom0 says there's an AUDIO_TS directory (empty) and a VIDEO_TS directory (full): As Brad Midgley says, lsdvd and dvdinfo are your best bets. These should tell you the titles on the disc. *Usually* the main feature is title 1, so you can do: tablet-encode -p best dvd://1 myfilm.avi I may well, at some point, do a Gtk+ GUI which shows DVD thumbnails and chapter information to make this easier; but if anyone got there before me, I'd be *very* happy to give them svn access to mediautils.garage.maemo.org. Hope that helps, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
James Sparenberg wrote: The VOB files are the ones. VOB stands for DVD Video OBject. The VOB file is one of the core files found on DVD-Video discs and contains multiplexed Dolby Digital audio. OK, thanks. But there's one small one and a bunch of big ones: -r--r--r-- 1 4294967295 10364928 2002-03-20 11:23 VIDEO_TS.VOB -r--r--r-- 1 4294967295 379172864 2002-03-20 11:25 VTS_01_0.VOB -r--r--r-- 1 4294967295 1073725440 2002-03-20 11:32 VTS_01_1.VOB -r--r--r-- 1 4294967295 1073266688 2002-03-20 11:40 VTS_01_2.VOB -r--r--r-- 1 4294967295 1073688576 2002-03-20 11:47 VTS_01_3.VOB -r--r--r-- 1 4294967295 1073670144 2002-03-20 11:54 VTS_01_4.VOB -r--r--r-- 1 4294967295 1073338368 2002-03-20 12:02 VTS_01_5.VOB -r--r--r-- 1 4294967295 1073418240 2002-03-20 12:09 VTS_01_6.VOB -r--r--r-- 1 4294967295 778203136 2002-03-20 12:14 VTS_01_7.VOB Does it need them all or is there trailer crud I can avoid? ///Peter ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Great job. Now can you put in Andrew Flegg wrote: Hi, Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: http://mediautils.garage.maemo.org/tablet-encode.php It shares the project with mediaserv (my web-based on-demand transcoding solution) and hopefully other stuff in future (suggestions and little sub-projects welcome). tablet-encode v2.00 includes many new features: * Rename to tablet-encode. * Include optional vrcbufsize and vrcmaxrate (suggested by sveinan). * Limit video bitrate to maximum of preset and equivalent bitrate of original file, when applicable (provided by Benjamin Reveille). * Do the same for audio (suggested by mplawner). * Modify --sample option to allow to chose sample length (provided by Benjamin Reveille). * Add --index option to force index generation (provided by Benjamin Reveille). * Add --list option to allow processing multiple files (provided by Benjamin Reveille). * Add support for command lines like `cp', so that multiple files and a directory can be specified. * Bump up quality on good/best/mplayer presets. Of particular usefulness (IMHO) is the new ability to process multiple files. Feedback and comments are, as ever, welcome. Thanks in advance, Andrew -- Always, Dr Fred C [EMAIL PROTECTED] ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: New, renamed version of 770-encode video converter now available
Great job. Now do you think you could spend some time to describe your product and what it does in bubba English? Andrew Flegg wrote: Hi, Many of you use my script 770-encode to transcode videos for your Nokia Internet Tablet. This name is obviously an anachronism, so to go along with the imminent availability of the N810, it's now been renamed tablet-encode and moved to a Garage project: http://mediautils.garage.maemo.org/tablet-encode.php It shares the project with mediaserv (my web-based on-demand transcoding solution) and hopefully other stuff in future (suggestions and little sub-projects welcome). tablet-encode v2.00 includes many new features: * Rename to tablet-encode. * Include optional vrcbufsize and vrcmaxrate (suggested by sveinan). * Limit video bitrate to maximum of preset and equivalent bitrate of original file, when applicable (provided by Benjamin Reveille). * Do the same for audio (suggested by mplawner). * Modify --sample option to allow to chose sample length (provided by Benjamin Reveille). * Add --index option to force index generation (provided by Benjamin Reveille). * Add --list option to allow processing multiple files (provided by Benjamin Reveille). * Add support for command lines like `cp', so that multiple files and a directory can be specified. * Bump up quality on good/best/mplayer presets. Of particular usefulness (IMHO) is the new ability to process multiple files. Feedback and comments are, as ever, welcome. Thanks in advance, Andrew -- Always, Dr Fred C [EMAIL PROTECTED] ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users