Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Can't Mux With Ffmpeg & External Encoder
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
DarrellS
Posted: Jun 16 2013, 01:01 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



I posted this in the external encoder thread but it doesn’t seem like anyone reads that thread.

I cannot mux anything with ffmpeg. I can do mp3 or ac3 passthrough but I cannot mux anything else.

I can tweak the encoder sets but I always get one of two errors. Either the file already exists or it cannot find the path for the output file.

There seems to be a naming problem in both Virtualdub and ffmpeg which causes the muxing to fail.

Example: I can create a webm video (ffmpeg wrongly names the temp file webm instead of vp8) and an ogg audio file but Virtualdub creates the output filename first (which seems to be the main problem since the output file and the temp file usually use the same file extension. wmv, flv, webm etc...) which causes the muxer to refuse to mux the file. When this happens then the temp file that was created is deleted and I’m left with an empty container.

I try changing the file names but it doesn’t matter since the encoder changes it back and the error changes to cannot blah blah blah xxx.vp8.webm or whatever file type I’m trying to create with the ffmpeg muxer. I have no problems with mkvmerge or mp4box but ffmpeg fails on every file type I try to mux (I can use ffmpeg on it's own without the external encoder using the same commands and encode and mux any file I want but I cannot get ffmpeg to mux in Virtualdub).

I found that I can mux some file types with GDSMUX (that ships with Haali Media Splitter) which is a frontend for dsmux.exe but I cannot find any documentation on this command line muxer to be able to test it with the external encoder.

I’ve read posts where users have been able to mux with ffmpeg but I’ve tried a bunch of different versions and their exact commands from their working vdprof files but it fails every single time. It doesn’t matter what version of Virtualdub I use, 1.10.3 or any of the experimental versions.

I can't even use an ffmpeg batch file to mux the ouput files since Virtualdub names the files 01.webm and 01.webm.ogg.

Here are my commands if anyone can get this to work...

VP8
C:\ffmpeg-20130608-git-b77e58a-win32-static\ffmpeg-20130608-git-b77e58a-win32-static\bin\ffmpeg.exe
-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec libvpx -deinterlace -g 120 -level 100 -profile:v 0 -q:v 0 -vb 20M "%(tempvideofile)"
%(outputname)"only seems to work without and extension but ffmpeg seems to name it webm anyway"

ogg vorbis
C:\Tools\Ogg Vorbis\oggenc2.exe
-q2 - -o "%(tempaudiofile)"
%(outputname).ogg

 
     Top
-vdub-
Posted: Jun 17 2013, 09:07 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



FFMpeg is long depreciated try older version if for muxer alone, using new version for encode if needed
Or Use a different muxer
Or do mux with an external software after virtualdub video, audio encode process

FFMpeg
QUOTE

-f vp8  Enoder  fourcc: VP80, encoding supported through external library libvpx
http://ffmpeg.org/general.html#File-Formats

1.5 libvpx

FFmpeg can make use of the libvpx library for VP8 encoding.

Go to http://www.webmproject.org/ and follow the instructions for installing the library. Then pass --enable-libvpx to configure to enable it.


External forum is correct place though for some reason I saw you first post but not the second one you posted. The forum didn't indicate any new posts had been made when I visited that day. Normally I look for the blue boxes beside each forum that indicates new posts been made in them in each forum select the green tabs beside each post to open on the each new posts posted to the thread
 
    Top
DarrellS
Posted: Jun 17 2013, 04:26 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Alright. I'll try an older version and see what happens. Seems like I started having problems with ffmpeg and mkvmerge right after the external feature was released. The mkvmerge problem was corrected but I guess ffmpeg never was since like I said, I've never been able to mux anything with ffmpeg smile.gif

I have a few more CLI encoders I'm trying to figure out but I'll post them in the external encoder thread. I'm still racking my brain (off and on) with WMV (I don't know why) and I found a few more. vpxenc.exe which does vp8 and vp9 and DSmux.exe that is part of Haali media splitter.

What I've found by testing is that most encoders are very slow compared to x264 which is the only encoder I use for my personal use. I guess the only reason that anyone uses webm is for the ogg vorbis audio.
 
     Top
-vdub-
Posted: Jun 17 2013, 05:23 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



The problem with wmv is the audio it seems not able to be passed through the external encoder pipe

Here is WMVMuxer which may help
 
    Top
raffriff42
Posted: Jun 23 2013, 01:07 PM


Advanced Member


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



Don't know about WMV, but VP8/WEBM is doable with the latest ffmpeg.
Seems to work; looks OK. Not exhaustively tested.

ffmpeg-webm.vdprof
CODE
{
"description": "VirtualDub external encoder profile collection",
"externalEncoders": {
 "sets": {
  "webm ff vp8": {
   "videoEncoder": "V ff vp8-webm",
   "audioEncoder": "A ff ogg-vorbis",
   "multiplexer": "M ff webm",
   "description": "webm",
   "extension": "webm",
   "processPartial": true,
   "useOutputAsTemp": false
  },
 },
 "profiles": {
  "M ff webm": {
   "name": "M ff webm",
   "program": "C:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy -f webm \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "V ff vp8-webm": {
   "name": "V ff vp8-webm",
   "program": "C:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe",
   "commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fps) -i - -crf 22 -c:v libvpx -b:v 15M \"%(tempvideofile)\"",
   "outputFilename": "%(outputname).webm",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "A ff ogg-vorbis": {
   "name": "A ff ogg-vorbis",
   "program": "C:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe",
   "commandArguments": "-i - -vn -c:a libvorbis -b:a 100k \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).ogg",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": true
  }
 }
}
}
 
     Top
DarrellS
Posted: Jul 10 2013, 08:36 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



I got WebM, FLV and WMV2 working with ffmpeg. The problem with wmv was using the audio created from wmaenc.exe (wma9). Using wmv2 and wmav2 from ffmpeg and muxed with ffmpeg plays in both mpc-hc and wmp. WMV9 and WMA Professional is a no go. The trick to getting ffmpeg muxer working was adding the -f and -y commands

Here is my working vdprof file. I keep most of my encoders in C:\Tools as recommended in the guide. Cuda is not working for me right now but I believe it is my NViDIA drivers again. I ran into this problem before but I'm not reinstalling XP and the old NVIDIA driver again just to get Cuda working since x264 outperforms Cuda. If NVIDIA ever gets the encoder to encode better files and smaller file sizes then I might give it another try but it isn't worth the effort for me. For someone with a slow CPU and fast NVIDIA card it might be a good option.

Abreviations: F=fast, M=medium, S=slow, SF=superfast, UF=ultrfast, VF=veryfast, NA-no audio, mmg=mkvmerge, pass=passthrough


CODE

{
"description": "VirtualDub external encoder profile collection",
"externalEncoders": {
 "sets": {
  "MKV_AC3_M": {
   "videoEncoder": "264_M",
   "audioEncoder": "AC3",
   "multiplexer": "MKVmerge",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "CUDA 3000 CBR": {
   "videoEncoder": "CUDA 3000 CBR",
   "audioEncoder": "",
   "multiplexer": "",
   "description": "264",
   "extension": "264",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MPEG AC3": {
   "videoEncoder": "MPEG-2",
   "audioEncoder": "AC3",
   "multiplexer": "MPEG Mux",
   "description": "mpeg",
   "extension": "mpeg",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "CUDA 2000 CBR": {
   "videoEncoder": "CUDA 2000 CBR",
   "audioEncoder": "",
   "multiplexer": "",
   "description": "264",
   "extension": "264",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP4_M": {
   "videoEncoder": "264_M",
   "audioEncoder": "neroaac",
   "multiplexer": "mp4box",
   "description": "mp4",
   "extension": "mp4",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_AC3_VF": {
   "videoEncoder": "264_VF",
   "audioEncoder": "AC3",
   "multiplexer": "MKVmerge",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_AC3_S": {
   "videoEncoder": "264_S",
   "audioEncoder": "AC3",
   "multiplexer": "MKVmerge",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "WEBM": {
   "videoEncoder": "VP8",
   "audioEncoder": "Vorbis",
   "multiplexer": "Webm-Mux",
   "description": "webm",
   "extension": "webm",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP3_Pass_F": {
   "videoEncoder": "264_F",
   "audioEncoder": "mp3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "AC3_Pass_S": {
   "videoEncoder": "264_S",
   "audioEncoder": "ac3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_NA_UF": {
   "videoEncoder": "264_UF",
   "audioEncoder": "",
   "multiplexer": "noaudio",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP3_Pass_UF": {
   "videoEncoder": "264_UF",
   "audioEncoder": "mp3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_AC3_F": {
   "videoEncoder": "264_F",
   "audioEncoder": "AC3",
   "multiplexer": "MKVmerge",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "CUDA+AAC": {
   "videoEncoder": "CUDA 4000 CBR",
   "audioEncoder": "neroaac",
   "multiplexer": "mp4box",
   "description": "mp4",
   "extension": "mp4",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "AC3_Pass_SF": {
   "videoEncoder": "264_SF",
   "audioEncoder": "ac3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_NA_VF": {
   "videoEncoder": "264_VF",
   "audioEncoder": "",
   "multiplexer": "noaudio",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "AC3_Pass_VF": {
   "videoEncoder": "264_VF",
   "audioEncoder": "ac3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "AC3_Pass_M": {
   "videoEncoder": "264_M",
   "audioEncoder": "ac3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_NA_SF": {
   "videoEncoder": "264_SF",
   "audioEncoder": "",
   "multiplexer": "noaudio",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "FLV": {
   "videoEncoder": "FLV",
   "audioEncoder": "LameMP3",
   "multiplexer": "FLVmux",
   "description": "flv",
   "extension": "flv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MPEG AC3 pass": {
   "videoEncoder": "MPEG-2",
   "audioEncoder": "ac3pass",
   "multiplexer": "MPEG Mux",
   "description": "mpeg",
   "extension": "mpeg",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "CUDA+AC3": {
   "videoEncoder": "CUDA 4000 CBR",
   "audioEncoder": "AC3",
   "multiplexer": "MKVmerge",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP4_SF": {
   "videoEncoder": "264_SF",
   "audioEncoder": "neroaac",
   "multiplexer": "mp4box",
   "description": "mp4",
   "extension": "mp4",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP3_Pass_VF": {
   "videoEncoder": "264_VF",
   "audioEncoder": "mp3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "FLV264AAC": {
   "videoEncoder": "FLV264",
   "audioEncoder": "FLVM4A",
   "multiplexer": "ffmpg-flv-mux",
   "description": "",
   "extension": "flv",
   "processPartial": true,
   "useOutputAsTemp": false
  },
  "MP3_Pass_M": {
   "videoEncoder": "264_M",
   "audioEncoder": "mp3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "AC3_Pass_F": {
   "videoEncoder": "264_F",
   "audioEncoder": "ac3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_NA_S": {
   "videoEncoder": "264_S",
   "audioEncoder": "",
   "multiplexer": "noaudio",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "WMV2": {
   "videoEncoder": "WMV2",
   "audioEncoder": "WMA2",
   "multiplexer": "WMVmux",
   "description": "wmv",
   "extension": "wmv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_NA_M": {
   "videoEncoder": "264_M",
   "audioEncoder": "",
   "multiplexer": "noaudio",
   "description": "",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP3_Pass_SF": {
   "videoEncoder": "264_SF",
   "audioEncoder": "mp3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "AC3_Pass_UF": {
   "videoEncoder": "264_UF",
   "audioEncoder": "ac3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MP3_Pass_S": {
   "videoEncoder": "264_S",
   "audioEncoder": "mp3pass",
   "multiplexer": "mmg-pass",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_AC3_SF": {
   "videoEncoder": "264_SF",
   "audioEncoder": "AC3",
   "multiplexer": "MKVmerge",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "CUDA 4000 CBR": {
   "videoEncoder": "CUDA 4000 CBR",
   "audioEncoder": "",
   "multiplexer": "",
   "description": "264",
   "extension": "264",
   "processPartial": false,
   "useOutputAsTemp": false
  },
  "MKV_NA_ F": {
   "videoEncoder": "264_F",
   "audioEncoder": "",
   "multiplexer": "noaudio",
   "description": "mkv",
   "extension": "mkv",
   "processPartial": false,
   "useOutputAsTemp": false
  }
 },
 "profiles": {
  "264_M": {
   "name": "264_M",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 18 --preset medium --tune film --demuxer raw --input-csp i420 --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": false
  },
  "Vorbis": {
   "name": "Vorbis",
   "program": "C:\\Tools\\Ogg Vorbis\\oggenc2.exe",
   "commandArguments": "-q2 - -o \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).vorbis",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": true
  },
  "264_S": {
   "name": "264_S",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 18 --preset slow --tune film --demuxer raw --input-csp i420 --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": false
  },
  "FLVM4A": {
   "name": "FLVM4A",
   "program": "C:\\Tools\\neroAacEnc.exe",
   "commandArguments": "-q 0.45 -ignorelength -if - -of \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).m4a",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": false
  },
  "mmg-pass": {
   "name": "mmg-pass",
   "program": "C:\\Program Files\\MKVtoolnix\\mkvmerge.exe",
   "commandArguments": "-o \"%(outputname)\" --compression 0:none --default-duration 0:%(fpsnum)/%(fpsden)fps \"%(tempvideofile)\" --compression 0:none \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "264_UF": {
   "name": "264_UF",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 25 --preset ultrafast --tune film --demuxer raw --input-csp i420 --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": false
  },
  "aacpass": {
   "name": "aacpass",
   "program": "C:\\Tools\\MP4Box.exe",
   "commandArguments": "-raw -in -out \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).aac",
   "type": 1,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "X264 SF Default": {
   "name": "X264 SF Default",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 25 --preset superfast --tune film --demuxer raw --input-csp i420 --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": false
  },
  "WMA-PRO": {
   "name": "WMA-PRO",
   "program": "C:\\Tools\\WMAEncode.exe",
   "commandArguments": "-i \"-\" -c pro -m cbr \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).wma",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": true
  },
  "FLV264": {
   "name": "FLV264",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 25 --preset superfast --tune film --demuxer raw --input-csp i420 --input-res %(width)x%(height) --fps %(fpsnum)/%(fpsden) -o \"%(tempvideofile)\" - ",
   "outputFilename": "%(outputname).h264",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "FLVmux": {
   "name": "FLVmux",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\" -vcodec copy -acodec copy -f flv  -y \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "264_F": {
   "name": "264_F",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 21 --preset faster --tune film --demuxer raw --input-csp i420 --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": false
  },
  "noaudio": {
   "name": "noaudio",
   "program": "C:\\Program Files\\MKVtoolnix\\mkvmerge.exe",
   "commandArguments": "-o \"%(outputname)\" --compression 0:none --default-duration 0:%(fpsnum)/%(fpsden)fps \"%(tempvideofile)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "mp4box": {
   "name": "mp4box",
   "program": "C:\\Tools\\Hybrid\\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
  },
  "264_SF": {
   "name": "264_SF",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 25 --preset superfast --tune film --demuxer raw --input-csp i420 --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": false
  },
  "MPEG Mux": {
   "name": "MPEG Mux",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy -f mpeg \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "MPEG-2": {
   "name": "MPEG-2",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec mpeg2video -bf 2 -b 3000k \"%(tempvideofile)\"",
   "outputFilename": "%(outputname).m2v",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "VP8": {
   "name": "VP8",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec libvpx -quality good -cpu-used 0 -b:v 1200k -maxrate 1200k -bufsize 2400k -qmin 10 -qmax 42 -vf scale=-1:480 -threads 4 \"%(tempvideofile)\"",
   "outputFilename": "%(outputname).webm",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "AC3": {
   "name": "AC3",
   "program": "C:\\Tools\\aften.exe",
   "commandArguments": "-b 192 - \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).ac3",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": false
  },
  "MKVmerge": {
   "name": "MKVmerge",
   "program": "C:\\Program Files\\MKVToolNix\\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
  },
  "WMA-STD": {
   "name": "WMA-STD",
   "program": "C:\\Tools\\WMAEncode.exe",
   "commandArguments": "-i \"-\" -c std -m cbr \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).wma",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": true
  },
  "ac3pass": {
   "name": "ac3pass",
   "program": "C:\\ffmpeg.exe",
   "commandArguments": "-i - -acodec copy \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).ac3",
   "type": 1,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "WMV2": {
   "name": "WMV2",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\bin\\ffmpeg.exe",
   "commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -c:v wmv2 -q:v 1 -b:v 2000k \"%(tempvideofile)\"",
   "outputFilename": "%(outputname).wmv",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "LameMP3": {
   "name": "LameMP3",
   "program": "C:\\Tools\\lame.exe",
   "commandArguments": "-V6 - \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).mp3",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": false
  },
  "CUDA 3000 CBR": {
   "name": "CUDA 3000 CBR",
   "program": "C:\\Tools\\Cuda.exe",
   "commandArguments": "--resolution %(width)x%(height) --input - --sar 1x1 --format IYUV --control_mode cbr --bitrate 3000 --bitrate_peak 50000 --fps 25000/1000 --profile high --level 41 --offload partial --measure FPS --showFrameStats 100 --deinterlace false --frame_typ frame --pframe_dist 1 --gop_max 250 --dynamicGOP true --pquant_min 18 --bquant_min 20 --iquant_min 16 --deblock true --cavlc false --nal_typ auto --sps_pps false --slices auto --output \"%(tempvideofile)\"",
   "outputFilename": "%(outputname)",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "FFmpeg FLV encoder": {
   "name": "FFmpeg FLV encoder",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i -  -vcodec flv -b:v 1200000  \\\"%(tempvideofile)\\\"",
   "outputFilename": "%(outputname).video",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "Webm-Mux": {
   "name": "Webm-Mux",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy -f webm -y \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "neroaac": {
   "name": "neroaac",
   "program": "C:\\Tools\\neroAacEnc.exe",
   "commandArguments": "-q 0.45 -ignorelength -if - -of \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).aac",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": false
  },
  "WMA-LSL": {
   "name": "WMA-LSL",
   "program": "C:\\Tools\\WMAEncode.exe",
   "commandArguments": "-i \"-\" -c lsl \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).wma",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": true
  },
  "WMA2": {
   "name": "WMA2",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i - -vn -c:a wmav2 -f asf \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).wma",
   "type": 1,
   "inputFormat": 1,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": true,
   "predeleteOutputFile": true
  },
  "DSmux": {
   "name": "DSmux",
   "program": "C:\\Tools\\Haali\\dsmux.exe",
   "commandArguments": "\"%(outputname)\" \"%(tempvideofile)\";0 \"%(tempaudiofile)\";1",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "264_VF": {
   "name": "264_VF",
   "program": "C:\\Tools\\x264.exe",
   "commandArguments": "--crf 25 --preset veryfast --tune film --demuxer raw --input-csp i420 --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": false
  },
  "mp3pass": {
   "name": "mp3pass",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i - -acodec copy \"%(tempaudiofile)\"",
   "outputFilename": "%(outputname).mp3",
   "type": 1,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "CUDA 4000 CBR": {
   "name": "CUDA 4000 CBR",
   "program": "C:\\Tools\\Hybrid\\Cuda.exe",
   "commandArguments": "--resolution %(width)x%(height) --input - --sar 1x1 --format IYUV --control_mode cbr --bitrate 4000 --bitrate_peak 50000 --fps 25000/1000 --profile high --level 41 --offload partial --measure FPS --showFrameStats 100 --deinterlace false --frame_typ frame --pframe_dist 1 --gop_max 250 --dynamicGOP true --pquant_min 18 --bquant_min 20 --iquant_min 16 --deblock true --cavlc false --nal_typ auto --sps_pps false --slices auto --output \"%(tempvideofile)\"",
   "outputFilename": "%(outputname)",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "ffmpeg muxer": {
   "name": "ffmpeg muxer",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "FLV": {
   "name": "FLV",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -c:v flv -b:v 1200000 \"%(tempvideofile)\"",
   "outputFilename": "%(outputname).flv",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "ffmpg-flv-mux": {
   "name": "ffmpg-flv-mux",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy -f flv -y \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": false
  },
  "WMVmux": {
   "name": "WMVmux",
   "program": "C:\\Tools\\ffmpeg-20130624-git\\ffmpeg.exe",
   "commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\" -vcodec copy -acodec copy -y \"%(outputname)\"",
   "outputFilename": "%(outputname).audio",
   "type": 2,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  },
  "CUDA 2000 CBR": {
   "name": "CUDA 2000 CBR",
   "program": "C:\\Tools\\Cuda.exe",
   "commandArguments": "--resolution %(width)x%(height) --input - --sar 1x1 --format IYUV --control_mode cbr --bitrate 2000 --bitrate_peak 50000 --fps %(fps) --profile high --level 41 --offload partial --measure FPS --showFrameStats 100 --deinterlace false --frame_typ frame --pframe_dist 1 --gop_max 250 --dynamicGOP true --pquant_min 18 --bquant_min 20 --iquant_min 16 --deblock true --cavlc false --nal_typ auto --sps_pps false --slices auto --output \"%(tempvideofile)\"",
   "outputFilename": "%(outputname)",
   "type": 0,
   "inputFormat": 0,
   "checkReturnCode": true,
   "logStdout": true,
   "logStderr": true,
   "bypassCompression": false,
   "predeleteOutputFile": true
  }
 }
}
}



I'll post this in the external encoder thread also.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
5 replies since Jun 16 2013, 01:01 PM Track this topic | Email this topic | Print this topic

<< Back to Advanced Video Processing