|
|
| brontosaurusrex |
| Posted: Jan 10 2011, 11:48 AM |
 |
|
Newbie

Group: Members
Posts: 7
Member No.: 29468
Joined: 29-December 10

|
here is a working WEBM example windows.bat (ugly but working):
| CODE | ffmpegvp8 -pass 1 -passlogfile logfile -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -i file.avi -vcodec libvpx -b 3000000 -an -y tempout.mkv
ffmpegvp8 -pass 2 -passlogfile logfile -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -i file.avi -vcodec libvpx -b 3000000 -acodec libvorbis -aq 5 -y file.webm
del tempout.mkv |
now you just have to transfer this into vdub -> ffmpeg friendly pipe (probably one will have to make two presets for each pass).
the ffmpeg bin i used is here http://ffmpeg.arrozcru.org/autobuilds/
---
additional info; ffmpeg version
| CODE | FFmpeg version SVN-r26292, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 10 2011 04:07:49 with gcc 4.4.2 |
browsers: firefox 4 does actually play video with correct aspect when using -aspect flag in ffmpeg (1st time anamorfic video on the web?), google chrome 8.0.552.224 does not. |
 |
| MhXDigital |
| Posted: Jan 13 2011, 06:48 PM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 29325
Joined: 13-December 10

|
| QUOTE (brontosaurusrex @ Jan 10 2011, 11:48 AM) | here is a working WEBM example windows.bat (ugly but working):
| CODE | ffmpegvp8 -pass 1 -passlogfile logfile -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -i file.avi -vcodec libvpx -b 3000000 -an -y tempout.mkv
ffmpegvp8 -pass 2 -passlogfile logfile -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -i file.avi -vcodec libvpx -b 3000000 -acodec libvorbis -aq 5 -y file.webm
del tempout.mkv |
now you just have to transfer this into vdub -> ffmpeg friendly pipe (probably one will have to make two presets for each pass).
the ffmpeg bin i used is here http://ffmpeg.arrozcru.org/autobuilds/
---
additional info; ffmpeg version
| CODE | FFmpeg version SVN-r26292, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 10 2011 04:07:49 with gcc 4.4.2 |
browsers: firefox 4 does actually play video with correct aspect when using -aspect flag in ffmpeg (1st time anamorfic video on the web?), google chrome 8.0.552.224 does not. | Thanks friend, I've finally got it to work ! I've used the default settings, I'll have to tweak them, then I'll publish them so that everyone can benefit |
 |
| MhXDigital |
Posted: Jan 13 2011, 07:29 PM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 29325
Joined: 13-December 10

|
Now here are working settings to encode in VP8 using Ffmpeg :
Ffmpeg
| CODE | | -f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec libvpx -bf 2 -vb 1024k -level 200 -keyint_min 12 -g 250 -qmin 4 -qmax 31 "%(tempvideofile)" |
Use video.webm for the output filename (tempvideofile won't work).
Ogg Vorbis (Using Oggenc2.exe)
| CODE | | --raw --raw-bits=%(audioprecision) --raw-chan=%(channels) --raw-rate=%(samplingrate) -b 128 - -o "%(tempaudiofile)" |
Use tempaudiofile for the output filename.
Muxer (Using MKVMerge.exe)
| CODE | | -o "%(outputname)" "video.webm" "tempaudiofile" --webm |
Now this is working. I hope that you'll try it 
FFmpeg with VP8 support used here can be found in this link http://ffmpeg.arrozcru.org/autobuilds/
Oggenc used here can be found in this link http://www.rarewares.org/ogg-oggenc.php |
 |
| virtually dead |
| Posted: Mar 18 2011, 09:57 AM |
 |
|
Member
 
Group: Members
Posts: 13
Member No.: 27150
Joined: 6-March 10

|
Hmm I failed following this guide after 2 seconds! I have version 1.99 and there is no option for external encoder I looked at the place shown in the screen shot and other places in the menus. |
 |
| stephanV |
| Posted: Mar 18 2011, 10:47 AM |
 |
|
Spam killer ;)
  
Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04

|
You have to use 1.10.0 or later. Also follow this -> http://forums.virtualdub.org/index.php?act...=ST&f=3&t=18840
I'm unstickying this topic now because I think it served its purpose.
-------------------- useful links: VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ |
 |
| virtually dead |
| Posted: Mar 18 2011, 11:24 AM |
 |
|
Member
 
Group: Members
Posts: 13
Member No.: 27150
Joined: 6-March 10

|
oh the first screen shot shows that its version 1.9.9 !! |
 |
| AliceZama |
| Posted: Dec 9 2012, 02:06 AM |
 |
|
Newbie

Group: Members
Posts: 1
Member No.: 35789
Joined: 9-December 12

|
please help! i've done every step the the guide says but i am getting an error message... when i look at the log it says:
|
 |
| Abrazo |
| Posted: Dec 9 2012, 11:37 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
It would be interesting to mention: > what kind of video fileformat you would like to make and > what you have choosen as "Program", "Command arguments" and "Output file name" for: -->> Audio encoder -->> Video encoder -->> Multiplexer
Just a few idea's based on the logfile: - setting framerate to 25 instead of 24fps - setting encoding parameters for audio-encoder - in VirtualDub's Audio-menu, choose "Full processing mode" |
 |
| DarrellS |
| Posted: Aug 2 2013, 09:45 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02

|
| QUOTE (Gromozeka @ Jun 1 2010, 08:48 AM) | Loadus
| QUOTE | Problem is not the yuv4mpeg format, but the fact that mencoder needs the framesize (width x height) and the speed (fps). I searched through the documentation but couldn't find the size command (found the scale though, but it won't help). Speed is input as -fps %(fps).
If you don't give the size and speed mencoder thinks you're giving it video with framesize 0x0 and speed of 0fps. That's where the error happens. |
| QUOTE | | mencoder -rawvideo format=yv12:fps=%(fps):w=%(width):h=%(height) |
yuv4mpeg support frame size and framerate. But yuv i do framerate and framesize - mencoder not work. this not work too
| CODE | | mencoder - -rawvideo format=yv12:fps=%(fps):w=%(width):h=%(height) -of mpeg -mpegopts format=dvd -ovc lavc -nosound -lavcopts vcodec=mpeg2video:vqscale=4:keyint=15:vstrict=0:aspect=4/3 -o "%(tempvideofile)" |
MUST BE yuv4mpeg  |
Selur, the creator of Hybrid helped me get Mencoder working in the external encoder for encoding H264 MP4. Mediainfo read the file as an h264 avi so the 264 file needs to be demuxed from the mp4 and muxed into your finished file. You can get a copy of Mencoder.exe from his Hybrid program which has a lot of other command line encoders.
| CODE | { "description": "VirtualDub external encoder profile collection", "externalEncoders": { "sets": { "Mencoder": { "videoEncoder": "Encoder Profile2", "audioEncoder": "", "multiplexer": "", "description": "Mencoder x264", "extension": "mp4", "processPartial": false, "useOutputAsTemp": false } }, "profiles": { "Encoder Profile2": { "name": "Encoder Profile2", "program": "G:\Hybrid\mencoder.exe", "commandArguments": "-demuxer rawvideo -rawvideo w=%(width):h=%(height):fps=%(fps) - -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 -o %(outputname).mp4", "outputFilename": "%(outputname)", "type": 0, "inputFormat": 0, "checkReturnCode": false, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": true } } } }
|
I'm trying to get VP9 webm going also. Not sure if that encoder is in the Hybrid folder or not. I haven't downloaded his newest release yet. Here is the download for the vp9 encoder...
http://x264.janhum.alfahosting.org/vp8vp927072013.7z
...and Selur's Hybrid program to get all the command line encoders his program uses.
http://www.selur.de/sites/default/files/hy...32bit_130716.7z |
 |
| raffriff42 |
| Posted: Aug 2 2013, 11:44 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12

|
| QUOTE (Abrazo @ Dec 9 2012, 11:37 AM) | It would be interesting to mention: > what kind of video fileformat you would like to make and > what you have choosen as "Program", "Command arguments" and "Output file name" for: -->> Audio encoder -->> Video encoder -->> Multiplexer
| Feature request: save this information to the log. |
 |