View previous topic :: View next topic |
Author |
Message |
pgu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 30 Jul 2009 Posts: 721 Location: Oslo, Norway
|
Posted: Sun Jan 13, 2013 4:44 pm Post subject: Command line encoding of DVD ISO files |
|
|
I've ripped my DVD collection into ISO files.
I'm looking for a way to encode the files so that:
- all languages and sound track formats are maintained
- all subtitles are maintained
- encoded into a format so that it can be played using xbmc and andoid media players
- quality is more important (both for audio and video) than high level of compression
- encoding must be done using the command line (no GUI SW), presumably using mencoder or similar software which is easily available under Gentoo
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pgu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 30 Jul 2009 Posts: 721 Location: Oslo, Norway
|
Posted: Sun Jan 13, 2013 4:47 pm Post subject: |
|
|
BTW:
I've tried the following:
Code: | base=$(basename $iso .iso)
mencoder dvd://1/"$iso" -ovc x264 x264encopts=threads=auto:crf=20:subq=7:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b -oac mp3lame -lameopts cbr:br=256 -alang no,sv,en,dk,es,fr,ge -slang no,sv,dk,en,es,fr,ge -vobsubout "$base" -o "${base}.avi" |
But I don't seem to get the audio subtitles in such a manner that they can be shown on xbmc. Using mkv for as the final container format might help, but I don't know how to generate it using the cli tools. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pgu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 30 Jul 2009 Posts: 721 Location: Oslo, Norway
|
Posted: Sun Jan 13, 2013 9:28 pm Post subject: |
|
|
Thank you, but I can't figure out how to run mkvmerge to achieve what I've described above. Is there a wiki somewhere? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Jan 13, 2013 10:42 pm Post subject: |
|
|
Sorry, can't answer that, you have to get creative to combine decoding, encoding and muxing. I assume you need CLI because there is a number of files to process. There is another option. Avidemux can do CLI batch processing. I see you want to use AVC, for this I suggest you use 2.6 which is not in portage yet, grab it from GIT repo. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pgu l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 30 Jul 2009 Posts: 721 Location: Oslo, Norway
|
Posted: Tue Jan 15, 2013 1:59 pm Post subject: |
|
|
I managed to create a mkv file which contained everything I wanted and was playable using xbmc. However, the audio, video, and subtitles were all out of sync I even tried to use the copy option to -oac -ovc but still all files were out of sync in the resulting mkv file. I also tried the -vf harddup option without any luck. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|