FFMPEG: Two Passes, plus audio, with only one command?
ffmpeg -i '/windows/H/rip/Spinnenmann/VTS_01_1.VOB' -s 352x288 -r 25 -an -b 833 -minrate 300 -maxrate 2500 -g 18 -bf 1 -y -pass 1 -passlogfile '/windows/E/spimalog.log' '/windows/E/Spiderman.mpg' && ffmpeg -i '/windows/H/rip/Spinnenmann/VTS_01_1.VOB' -s 352x288 -r 25 -an -b 833 -minrate 300 -maxrate 2500 -g 18 -bf 1 -y -pass 2 -passlogfile '/windows/E/spimalog.log' '/windows/E/Spiderman.mpg' && ffmpeg -i '/windows/H/rip/Spinnenmann/VTS_01_1.VOB' -vn -map 0:3 -ac 2 -ar 44100 -ab 112 '/windows/E/SpiderGER.mp2' && ffmpeg -i '/windows/H/rip/Spidermann/VTS_01_1.VOB' -vn -map 0:4 -ac 2 -ar 44100 -ab 112 '/windows/E/SpiderENG.mp2'
This is how I do the Spiderman DVD at the moment... 1 2-pass video encoding without having to enter a 2nd commandline or pressing Y to overwrite sth 2 audio streams are beeing made (in my case the german and the english audio track) (of course you have to change this commandline according to your params) All I have to do now is wait some time and multiplex these 3 files under windows... (maybe I have to demultiplex the m1v (only video) from the mpeg file :?: |
Thank God that Copy & Paste exists :mrgreen:
Check the script that "El Mozo" posted :idea: I haven't tested it yet, but it's supposed to automate the complete process :cool: -kwag |
It uses mpeg2enc --> slow?!
Also its only divx2kvcd? or isn't it? too tired right now :-/ |
Well:
I can see that you guys are light years ahead of me, not on age, but on ffmpeg wisdom :D I have been trying to do a 2nd pass, but am not able to do so. I have deleted lines of the log, as per maestro kwag, as well as to trying to use razorblades' script, but there are some commands that my W98SE does not like. (-an is one of them). So after playing around with his script for about 2 hours, I went back to step 1, and tried to encode one vob with the following script: Code:
E:\ffmpeg>ffmpeg.exe -i E:\ffmpeg\vob\Vts_13_4.vob -s 720X480 -r 29.97 -ab 112 -b 1800 -minrate 300 -maxrate 3000 -g 18 -bf 1 -y -pass 1 -passlogfile E:\ffmpeg\test\out\SLBE1vob13.log1 E:\ffmpeg\test\out\SLBE1vob13.mpg Sooo, my next step was to encode the previous vob file Vts_13_3.vob, and it encoded both video and audio.........no scratchy sound.......... Power dvd plays Vts_13_4.vob with no problems. Result of the tests I was doing in the past 4 hours: 1.- Found a new problem (vob 13.4 encoding audio only, no video) 2.- Still can not perform pass 2. Not even when I delete the last 5, 10, 15, 30, etc lines of the log, which in my case is very, very.........very long. (1335 pages and 56 lines per page for a 1.04 giga vob file) I am going to rest for a little while, and come back to it in about an hour or so. Any other advise on how to accomplish this 2nd pass? The encoding of the audio and not of the video? Thanks for your help Totonho03 |
Quote:
And ffmpeg's quality is FAR FAR better than mpeg2enc. So disregard my previous message :!: -kwag |
Hi Totonho03,
I did a test, encoding a VOB, and the log error seems to happen only on Windows :!: I took the same VOB and the log file to Mac OS X, and it encoded the second pass perfectly. So apparently, there's some weird error when processing on Windows :roll: -kwag |
This old stupid "^M" that DOS loooooovvvvvveeeessssssss to add at the end of each line and that cause us loooooooooooot of problems while back in UNIX world ?
hugh ? |
Quote:
The log file I transfered from DOS to UNIX, was perfectly processed on OS X, with the "^M". So it has to be something else. -kwag |
Thank you for your answers:
It appears that I need to become familiar with linux eh? Regards Otto |
Gentlemen:
This is being sent to you via linux. I was able to download the iso file and burnt it with no problems at all. It is somewhat weird to work with different screens, but the look of the screen reminds of Apple more so than Windows, or like someone put it somewhere like windass :D My next step is to figure out how to work with this cd and the window files. Regards Totonho03 This is of course step 1. Step 2 is to use ffmpeg with linux :D Edit 1.- I am now able to open up window files, on C and E (E is the partition created a month or so ago)so far I have been able to open .doc, excel and pps files. One thing that it is not doing, it is not recognizing my external drive, which is a bummer, because all of my video & audio programs are there. I guess it is not recognizing the IEEE (firewire) card. This is strange, because during the loading of the linux OS, I was able to read that it recognized the PCMCIA? card. Will post in their site for an answer.... |
which distro are you using?
edit: he'll maybe detect your external drive, but you may have to mount (this is the process of giving a device such as a harddisc or a cd-writer a directory in which the content of the partition is shown... similar to the windows "subst" command) |
Quote:
I'm setting that up today, to run MythTV. -kwag |
I know Knoppix... but I thought it was a boot-cd only preject?
|
Quote:
-kwag |
ohhhhhhhhhhh.... NICE!
I liked knoppix very much... I am playing with the ideo to install Knoppix instead of my suse linux... (or shouldn't I?) |
I've installed it twice today. On my notebook, and now on a PC, which will be the PVR for our livingroom (with the WinTV PVR-250 MPEG real-time capture board ).
I'll let you know how it comes out :!: I'm currently checking the installation on the PC, followed by the MythTV full download and installation. -kwag |
just downloading knoppix... :D
96 kb/s ... nice speed At least for germans, a nice page 4 installing knoppix on HD: http://www.stefanlanger.de/linux/knoppix-hd.html or an english translation (at least some english words are recognizable...*g*): http://translate.google.com/translat...language_tools |
OK all you linux wizzards:
Earlier I reported that when in linux, I can open the windows files, so far so good. But then later on the day, I tried to copy files from one "mounted" drive to the other, but the command was rejected. In one ocassion it told me that I need "permission" to do that. 3 questions: 1.- How do I copy files from one monted drive to the other? 2.- Still can not see my externald drive, how can I 'mount" the drive and the hp 200e writter, and printer (for the printer is asking me for "cups" which I imagine are similar to the drivers needed for that particular application? 3.- Where can I get an easy to read linux guide? I have tried a couple of them, but they are not easy to follow. Thanks and best regards Totonho03 |
Hi Otto,
Drop into a shell, and type "su", which means, Super User. It will ask you for the "root" password. Enter it, now you have full control of your machine. Be careful :!: You can now do anything, even destroy your OS :!: For Linux guides, go here: http://tldp.org/ -kwag |
Thanks Kwag.
No, I do not want to break my machine at all, so I am going to check the guide and learn a little more about linux. I am waiting for some sort of a code to enter the linux forum, and as soon as I get there I will post the question as well. I am sure that someone has run into this problem there. Another thing that I have noticed is that the Knoppix web page is not on the air. Something to do with the new German or European copyright rules and regiulations. Thanks again Otto |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.