View previous topic :: View next topic |
Author |
Message |
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sat Mar 06, 2004 5:57 pm Post subject: the perfect DVD encode (to avi) with mencoder (tutorial) |
|
|
Hi all,
after having gathered much knowledge about mencoder and mplayer
I discovered (I just think it is) the perfect encoding method (special options).
If you wanna have a look, visit my tutorial website whose URL is as follows:
http://wave.prohosting.com/srlclan0/linux/mencoder.html
By the way, later I am going to add the link to this page on my homepage: www.srl.de.vu
[edit] it's linked now => menu > tutorials > linux [/edit]
I tried to do my best, even to make it suitable for beginners,
so how do you like the encoding tutorial? _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
Angrybob Guru
Joined: 19 Apr 2003 Posts: 575
|
Posted: Sat Mar 06, 2004 8:33 pm Post subject: |
|
|
nice, but that bit about working out cropping values with a ruler is just silly
A nicer way to do it is this:-
First use mplayer's autocrop feature to get some rough values to start with
Code: |
mplayer -nosound -vo null -vop cropdetect=50 -ss <some_time_value> <filename>
|
That will print out some values that it has detected, now pass then to the rectangle filter to get a graphical representation of that cropping rectangle
Code: |
gmplayer -nosound -ss <some_time_value> -vop rectangle=width:height:topleftX:topleftY <filename>
|
now just plug those values straight into the crop filter |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sat Mar 06, 2004 9:27 pm Post subject: |
|
|
thanks, I will correct it
when I have tested it getting a perfect result
just another option I did not found,
anyway it is a silly work-around, indeed
and also extraordinary, despite of being another solving way
but it worked all time, just up to 2 or 3 pixel deviation,
sometimes exact crop, although it's a strange method _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sat Mar 06, 2004 9:43 pm Post subject: |
|
|
ok, perfect ..
I tried the following:
Code: | mplayer -nosound -vo null -vop cropdetect=50 -ss 00:06:10 [file]
.... (crop values) ....
mplayer -nosound -ss 00:02:10 -vop rectangle=716:552:2:12 [file]
|
it set a border surround the area being cropped
I'm correcting it and will upload it then
my tutorial is getting more perfect ... _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sat Mar 06, 2004 10:41 pm Post subject: |
|
|
OK guys and girls
the new version is online, have fun ..
(Where the link is? It's the same as in my first post, see above)
Do you have any further hints, then post them! _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sun Mar 07, 2004 11:31 am Post subject: |
|
|
I just found out something not rather serious,
but extrem hearing people (like me) can here if there is a
timeshift, unfortunately there is, just about 0.5 seconds or less.
I try to work on it, and also to add a preview option and part in my tutorial, just to see if there it still is using certain options.
when I have finished those "studies" my tutorial will be improved _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sun Mar 07, 2004 12:18 pm Post subject: |
|
|
OK I have solved that little problem as well,
unfortunately it is needed that the audio track should also be encoded in
the 2nd and 3rd encoding step instead of copying the audio stream from the frameno.avi
On the one handside this way is now perfect,
on the other handside it takes more time to convert.
Anyway the result does matter
thus it is perfect now. (I hope)
I just uploaded the newest version of my tutorial, (link, see above)
but I need an agreement, so I just let it encode another DVD the fast way
(without "vme=1:v4mv"), althought i think it is perfect.
I just need to go for sure, if the encode is finished perfectly I will tell you,
then my tutorial is perfect. _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sun Mar 07, 2004 4:02 pm Post subject: |
|
|
seems like the timeshift is still there,
it's just about 0.5 till 1 second, anyway ..
if anyone has an idea how to get rid of the timeshift (of the audio track)
please post it here! _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
sethleon Guru
Joined: 14 Dec 2003 Posts: 398 Location: Germany
|
Posted: Sun Mar 07, 2004 4:35 pm Post subject: |
|
|
ok i just have a solution for correcting the Audio/Video (A/V) synchronisation
while playing the movie with mplayer:
pushing the numpad key "+" or "-" are shifting the Audio track.
if anyone has an idea, how to sync it correctly while encoding (better: before), then please post it! _________________ Mess with the best, die like the rest. |
|
Back to top |
|
|
|