and can't I just copy it? so I won't need to know all those things like bitrate and stuff?
|
u paste it in terminal after u have edited it in a text editor to match your movie, or alternatively save the text file and make it executable
the bitrate u find by typing mplayer /path/to/original.avi in a terminal, then in hte terminal u will see the bitrate and scale and stuff, which u copy into the script. its a bit messy but it works, and the process is quite fast too, takes me about 20 mins for one movie (on a 2600+ cpu) |
but u say from x to divx or x to xvid.. can't I just take from x to x? :P (with x I mean the type it is now)
|
possibly, i havent found out though..if u find a solution let me know. oh u can take it from xvid to xvid for example but ud still have to enter it into the script, but i dont know a way of automating it so that it goes from x to x without having to enter it in the script if u know what i mean
id also liek to know if theresr a way to keep the original bitrate, resolution etc automaticly without having to check what resolution the original file is for example and then enter that into the script but im quite happy being able to add subs anyway :D |
Code:
[oldsko0l@localhost Domino]$ mplayer Domino\[2005\]DvDrip\[Eng\]-aXXo.avi |
yeah sure, for divx (i havent got around to trying xvid yet):
if your movie is called Domino\[2005\]DvDrip\[Eng\]-aXXo.avi is that the movie name? lets rename it Domino.avi for simplicitys sake. u need Domino.avi and Domino.srt in the same dir, go to that dir, open a terminal there and paste: --- mencoder -vop pp=de,scale=548:222 -oac copy -ovc lavc -lavcopts keyint=25:vcodec=mpeg4:vbitrate=679:vpass=1 -sub "Domino.srt" -o "Domino_with_subs.avi" "Domino.avi" --- voila u may need to copy a font, like tahoma, or vera sans to your .mplayer dir and rename it subfont.ttf sorry i got a bit confused regarding the name of the movie file there |
tnx man, I really apreciate your effort :)
just some little more questions now -pp=de what does this mean and where do I find it in my example? (or don't I have to change this?) -keyint=25 what does this mean and where do I find it in my example? (or don't I have to change this?) -vcodec=mpeg4 this probably comes from this--> Code:
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) -vpass=1 what does this mean and where do I find it in my example? (or don't I have to change this?) I don't want to look lazy but I just want to be shure of these things, u know.. ;) and how do I check wether the movie is divx or xvid or something else? or will I be able to see it always here Code:
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) tnx again, norah cobain |
i dont know what the pp=de and the other things mean, i just know it works with these things included in the script. dont know what would happen if u remove them. u dont have to change any of these afaik, i thnik u only have to change the filenames, resolution and bitrate to match your movie. the codec things ur asking about, i dont know, its just what ive been told, i dont even know if its correct. ive been told FFmpeg = divx. if its a xvid its probably something else...not sure
u can check what codec a movie is by opening it in vlc and go to view > stream and media info |
oke I'll try the script now thank you, I'll let you know how it went
|
oke tnx it works great! ;) about 25 minutes on a amd 2200+
btw. did you try to burn it yet? because when I merge subs and avi file on my windows pc and I try to play the cd on my dvd-player (tv) the sync does not fits anymore.. I'll try it the linux-way :D |
no didnt burn but it works fine and in sync on my on-harddisk-copy so the file is bound to be identical on a dvd or cd?
|
why should you want to merg the avi with the sub if you don't want to burn it? (confused)
Quote:
btw. the sync on my harddisk is also fine with my windows pc method, only when I burned it the sync wasnt anymore :D but I'll figure that out I guess |
i want to burn it, and send it to my parents, i just havent gotten around to it yet, gonna sub a lot more files first
with bound i mean that if your burn as data disc (and not video disk) - which is what im planning to do the file on the dvd will have to be identical to the file on the harddisk and therefore not out of sync. it sounds rather impossible that the subs would be out of sync on dvd/cd if they werent out of sync on harddisk, the subs are a part of the movie and not separate in any way. if the subs are out of sync then the rest of the picture on your screen will have to be out of sync too, you cant desync half the picture can you? and u cant desync the whole picture either cos, hum, then theres nothing left for it to not be in sync with, apart from the audio. did u mean that the audio is out of sync? sorry if this sounds confusing, i couldnt find a better way of saying it, english isnt my first language either |
no I think the problem was something with the burning..
because when I burned the movie without subs the sound was later that the screen so when they were talking the sound came 2 seconds later.. so it wasen't a problem of the movie self I guess ;) |
All times are GMT -5. The time now is 01:50 PM. |