Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
1st September 2015, 12:37 | #1 | Link |
Registered User
Join Date: Jul 2007
Posts: 48
|
H265 for Virtualdub, how to
Good day to all!
I looked around about this but I just found messy and not clear solutions. We know how farst and reliable is Virtualdub to edit our videos, and all the filters developed for it makes it unique, we can't lose Virtualdub just because it supports only avi and vfw. The solution exist by external encoder function, but how to use it for me is a bit complicated. I would kindly ask someone explaind here step by step how to configure it, in particular: 1) Where to download the best h265 encoder, an updated version (which can use up to 8 cores). (please include also an AAC audio encoder, thank you) 2) How to setup the external encoder panel, and all the parameters to specify there 3) Eventually which software to suggest for remux the two streams, I suppose Mkvtoolnix will suite that. PS: I tried Avidemux but it has important limitations: the less useful interface, the less filters and that encder uses only 4 threads max. Thank you very much! |
1st September 2015, 14:45 | #2 | Link | |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
From the VirtualDub External Encoder Tutorials sticky thread
Quote:
The hard part is finding the .vdprofs online at this early date. Here's one (not tested!) adapted from racer-x's post in this VideoHelp thread Code:
{ "description": "VirtualDub external encoder profile collection", "externalEncoders": { "sets": { "mp4 x264 crf19 + aac": { "videoEncoder": "V x264 crf19", "audioEncoder": "A neroaac q035", "multiplexer": "M mp4 ffmpeg", "description": "mp4", "extension": "mp4", "processPartial": true, "useOutputAsTemp": false }, "mp4 x265 crf24 + aac": { "videoEncoder": "V x265 crf24", "audioEncoder": "A neroaac q035", "multiplexer": "M mp4 ffmpeg", "description": "mp4", "extension": "mp4", "processPartial": true, "useOutputAsTemp": false } }, "profiles": { "A neroaac q035": { "name": "A neroaac q035", "program": "neroAacEnc.exe", "commandArguments": "-q 0.35 -ignorelength -if - -of \"%(tempaudiofile)\"", "outputFilename": "%(outputname).aac", "type": 1, "inputFormat": 1, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": true, "predeleteOutputFile": true }, "M mp4 ffmpeg": { "name": "M ff mp4", "program": "ffmpeg.exe", "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\" -c copy -r %(fps) -f mp4 \"%(outputname)\" ", "outputFilename": "", "type": 2, "inputFormat": 0, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": true }, "M mp4 MP4Box": { "name": "M mp4 MP4Box", "program": "MP4Box.exe", "commandArguments": "-add \"%(tempvideofile)\" -add \"%(tempaudiofile)\" \"%(outputname)\" -fps %(fps)", "outputFilename": "%(outputname).audio", "type": 2, "inputFormat": 0, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": true }, "M MKVmerge": { "name": "M MKVmerge", "program": "mkvmerge.exe", "commandArguments": "-o \"%(outputname)\" --default-duration 0:%(fpsnum)/%(fpsden)fps \"%(tempvideofile)\" \"%(tempaudiofile)\"", "outputFilename": "%(outputname).audio", "type": 2, "inputFormat": 0, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": false }, "V x264 crf19": { "name": "V x264 crf19", "program": "x264.exe", "commandArguments": "--crf 19 --demuxer raw --input-res %(width)x%(height) --fps %(fpsnum)/%(fpsden) -o \"%(tempvideofile)\" -", "outputFilename": "%(outputname).264", "type": 0, "inputFormat": 0, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": true }, "V x265 crf24": { "name": "V x265 crf24", "program": "x265.exe", "commandArguments": "--crf 24 --input-res %(width)x%(height) --fps %(fps) -o \"%(tempvideofile)\" -", "outputFilename": "%(outputname).hevc", "type": 0, "inputFormat": 0, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": true }, "V Divx265 qp25": { "name": "V Divx265 qp25", "program": "DivX265_1.3.74.exe", "commandArguments": "-i - -s %(width)x%(height) -qp 25 -aqo 3 -709 -o \"%(tempvideofile)\" ", "outputFilename": "%(outputname).hevc", "type": 0, "inputFormat": 0, "checkReturnCode": true, "logStdout": true, "logStderr": true, "bypassCompression": false, "predeleteOutputFile": true } } } } Last edited by raffriff42; 17th March 2017 at 00:15. Reason: (fixed image links) |
|
1st September 2015, 19:44 | #4 | Link |
Registered User
Join Date: Jul 2007
Posts: 48
|
I used this script, placed the x265 encoder and nero aac, then I've found mp4box, ffmpeg and mkvmerge.
The encoding proceed, but I can see the images of input output panel in VB only if I select mkvmerge as the muxer, with other two I've black screen but seems it compress. With ALL of them I've an error in the end of compression: CLI: the multiplexing process filed with code 1 Thank you for solutions |
1st September 2015, 21:34 | #5 | Link |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
I have no idea. Poor error reporting is a problem with using external encoders
First, try following these tips to avoid the most common errors:
Last edited by raffriff42; 1st September 2015 at 21:38. |
1st September 2015, 21:55 | #6 | Link |
Registered User
Join Date: Jul 2007
Posts: 48
|
thank you again! The problem was I deactivated audio! Now all is ok!
it encodes, now I don't understand how could I setup parameters in the encoders, in the vdprof there isn't specifications, for example I want 56kbit mono AAC and a HEVC with CRF 25 and medium preset, how is possible? Thank you a lot, I think this is the last part I need |
8th September 2015, 16:45 | #8 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,752
|
Just curious - what are the otherwise irreplaceable features of VirtualDub? I love it to death, and use it to view and compare HEVC files (which I can't get After Effects to load, even with LAV Filters installed). But it seems a good decade past being an encoding tool for modern formats. If I export from it at all, it's normally to a LAGS AVI.
|
Tags |
virtualdub, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|