I'm trying to use the WebM (Opus) encoder set.
The command arguments for the V VP9 video encoder are -y -f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -f webm -c libvpx-vp9 -b 0 -crf 18 -threads 8 -speed 2 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 "%(tempvideofile)"
The command arguments for the A Opus @~192K audio encoder are -y -i - -f ogg -c libopus -b 192K -vbr on -compression_level 10 "%(tempaudiofile)"
I keep getting an "anonymous pipe" error. How do I fix it?
+ Reply to Thread
Results 1 to 29 of 29
-
Last edited by Bruce Banner; 12th Dec 2017 at 17:11.
-
It looks like ffmpeg doesn't receive data from pipe (at least error type and ffmpeg command-line suggest such problem) - if you are desperate you can always use ffmpeg directly with your video outside virtualdubmod.
-
Show the log (F8) - it should show any ffmpeg errors.
Last edited by sneaker; 14th Dec 2017 at 04:49.
-
[*] AVI: Opening file "C:\Users\Bruce\Desktop\test.avi"
[*] Beginning dub operation.
[i] Dub: Input (decompression) format is: RGB24.
[i] Dub: Output (compression) format is: YUV420.
[i] Dub: Command line encoding started with format: YUV420.
[i] VideoEnc: ffmpeg version N-72086-g51f6455 Copyright (c) 2000-2015 the
FFmpeg developers
[i] VideoEnc: built with gcc 4.9.2 (GCC)
[i] VideoEnc: configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-lzma --enable-decklink --enable-zlib
[i] VideoEnc: libavutil 54. 23.101 / 54. 23.101
[i] VideoEnc: libavcodec 56. 38.100 / 56. 38.100
[i] VideoEnc: libavformat 56. 33.101 / 56. 33.101
[i] VideoEnc: libavdevice 56. 4.100 / 56. 4.100
[i] VideoEnc: libavfilter 5. 16.101 / 5. 16.101
[i] VideoEnc: libswscale 3. 1.101 / 3. 1.101
[i] VideoEnc: libswresample 1. 1.100 / 1. 1.100
[i] VideoEnc: libpostproc 53. 3.100 / 53. 3.100
[i] VideoEnc: Input #0, rawvideo, from 'pipe:':
[i] VideoEnc: Duration: N/A, start: 0.000000, bitrate: 123639 kb/s
[i] VideoEnc: Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
718x574, 123639 kb/s, 25 tbr, 25 tbn, 25 tbc
[i] VideoEnc: [libvpx-vp9 @ 022bfb60] v1.4.0
[i] VideoEnc: Output #0, webm, to 'C:\Users\Bruce\Desktop\test.webm.webm':
[i] VideoEnc: Metadata:
[i] VideoEnc: encoder : Lavf56.33.101
[i] VideoEnc: Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 718x574,
q=-1--1, 25 fps, 1k tbn, 25 tbc
[i] VideoEnc: Metadata:
[i] VideoEnc: encoder : Lavc56.38.100 libvpx-vp9
[i] VideoEnc: Stream mapping:
[i] VideoEnc: Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
[i] AudioEnc: ffmpeg version N-72086-g51f6455 Copyright (c) 2000-2015 the
FFmpeg developers
[i] AudioEnc: built with gcc 4.9.2 (GCC)
[i] AudioEnc: configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-lzma --enable-decklink --enable-zlib
[i] AudioEnc: libavutil 54. 23.101 / 54. 23.101
[i] AudioEnc: libavcodec 56. 38.100 / 56. 38.100
[i] AudioEnc: libavformat 56. 33.101 / 56. 33.101
[i] AudioEnc: libavdevice 56. 4.100 / 56. 4.100
[i] AudioEnc: libavfilter 5. 16.101 / 5. 16.101
[i] AudioEnc: libswscale 3. 1.101 / 3. 1.101
[i] AudioEnc: libswresample 1. 1.100 / 1. 1.100
[i] AudioEnc: libpostproc 53. 3.100 / 53. 3.100
[i] AudioEnc: Input #0, wav, from 'pipe:':
[i] AudioEnc: Duration: N/A, bitrate: 3072 kb/s
[i] AudioEnc: Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 48000
Hz, stereo, flt, 3072 kb/s
[i] AudioEnc: Output #0, ogg, to 'C:\Users\Bruce\Desktop\test.webm.webm':
[i] AudioEnc: Metadata:
[i] AudioEnc: encoder : Lavf56.33.101
[i] AudioEnc: Stream #0:0: Audio: opus (libopus), 48000 Hz, stereo, flt,
192 kb/s
[i] AudioEnc: Metadata:
[i] AudioEnc: encoder : Lavc56.38.100 libopus
[i] AudioEnc: Stream mapping:
[i] AudioEnc: Stream #0:0 -> #0:0 (pcm_f32le (native) -> opus (libopus))
[i] AudioEnc: size= 39kB time=00:00:01.59 bitrate= 200.6kbits/s
[i] AudioEnc: video:0kB audio:39kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.957748%
[E] Error: Write error occurred on file "<anonymous pipe>": The pipe is being
closed.
[*] Ending operation. -
Cant be problem the video is mod2 only? I know nothing about VP9 to be honest, but suppose it couldnt be problem nowadays.
If you add 1pixel to each side you get mod 16 and it is probably better for compression?Last edited by Bernix; 14th Dec 2017 at 11:33. Reason: second
-
-
of course I meant left right top and bottom...
EDIT: If I were bad man, I take your remark personally. With such attitude, you can't search for help. Please use your brain.
And yes, I know my english is very very poor, but I can still recognize even and odd numbers.Last edited by Bernix; 14th Dec 2017 at 12:19. Reason: Edit
-
Oh yeah, of course, sorry, brain freeze.
I tried changing the dimensions to 720x544 but I still got an anonymous pipe error.
[*] Beginning dub operation.
[i] Dub: Input (decompression) format is: YUV420.
[i] Dub: Output (compression) format is: YUV420.
[i] Dub: Command line encoding started with format: YUV420.
[i] AudioEnc: ffmpeg version N-72086-g51f6455 Copyright (c) 2000-2015 the
FFmpeg developers
[i] AudioEnc: built with gcc 4.9.2 (GCC)
[i] AudioEnc: configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-lzma --enable-decklink --enable-zlib
[i] AudioEnc: libavutil 54. 23.101 / 54. 23.101
[i] AudioEnc: libavcodec 56. 38.100 / 56. 38.100
[i] AudioEnc: libavformat 56. 33.101 / 56. 33.101
[i] AudioEnc: libavdevice 56. 4.100 / 56. 4.100
[i] AudioEnc: libavfilter 5. 16.101 / 5. 16.101
[i] AudioEnc: libswscale 3. 1.101 / 3. 1.101
[i] AudioEnc: libswresample 1. 1.100 / 1. 1.100
[i] AudioEnc: libpostproc 53. 3.100 / 53. 3.100
[i] VideoEnc: ffmpeg version N-72086-g51f6455 Copyright (c) 2000-2015 the
FFmpeg developers
[i] VideoEnc: built with gcc 4.9.2 (GCC)
[i] VideoEnc: configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-lzma --enable-decklink --enable-zlib
[i] VideoEnc: libavutil 54. 23.101 / 54. 23.101
[i] VideoEnc: libavcodec 56. 38.100 / 56. 38.100
[i] VideoEnc: libavformat 56. 33.101 / 56. 33.101
[i] VideoEnc: libavdevice 56. 4.100 / 56. 4.100
[i] VideoEnc: libavfilter 5. 16.101 / 5. 16.101
[i] VideoEnc: libswscale 3. 1.101 / 3. 1.101
[i] VideoEnc: libswresample 1. 1.100 / 1. 1.100
[i] VideoEnc: libpostproc 53. 3.100 / 53. 3.100
[i] AudioEnc: Input #0, wav, from 'pipe:':
[i] AudioEnc: Duration: N/A, bitrate: 3072 kb/s
[i] AudioEnc: Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 48000
Hz, stereo, flt, 3072 kb/s
[i] VideoEnc: Input #0, rawvideo, from 'pipe:':
[i] VideoEnc: Duration: N/A, start: 0.000000, bitrate: 117504 kb/s
[i] VideoEnc: Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
720x544, 117504 kb/s, 25 tbr, 25 tbn, 25 tbc
[i] VideoEnc: [libvpx-vp9 @ 0212fb60] v1.4.0
[i] AudioEnc: Output #0, ogg, to 'C:\Users\Bruce\Desktop\test.webm.webm':
[i] AudioEnc: Metadata:
[i] AudioEnc: encoder : Lavf56.33.101
[i] AudioEnc: Stream #0:0: Audio: opus (libopus), 48000 Hz, stereo, flt,
192 kb/s
[i] AudioEnc: Metadata:
[i] AudioEnc: encoder : Lavc56.38.100 libopus
[i] AudioEnc: Stream mapping:
[i] AudioEnc: Stream #0:0 -> #0:0 (pcm_f32le (native) -> opus (libopus))
[i] VideoEnc: Output #0, webm, to 'C:\Users\Bruce\Desktop\test.webm.webm':
[i] VideoEnc: Metadata:
[i] VideoEnc: encoder : Lavf56.33.101
[i] VideoEnc: Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 720x544,
q=-1--1, 25 fps, 1k tbn, 25 tbc
[i] VideoEnc: Metadata:
[i] VideoEnc: encoder : Lavc56.38.100 libvpx-vp9
[i] VideoEnc: Stream mapping:
[i] VideoEnc: Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
[i] AudioEnc: size= 39kB time=00:00:01.59 bitrate= 200.7kbits/s
[i] AudioEnc: video:0kB audio:39kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.957119%
[E] Error: Write error occurred on file "<anonymous pipe>": The pipe is being
closed.
[*] Ending operation. -
From "Configure External Encoders", press "Export...", save to file.
If you can, delete everything irrelevant (if you have many other presets). -
I don't know ffmpeg that much but this command also fails. This is weird
Code:copy test.bin | ffmpeg.exe -y -f s16le -ar 48000 -ac 2 -i - -c libvorbis test.ogg Stream #0:0 -> #0:0 (pcm_s16le (native) -> vorbis (libvorbis)) Multiple frames in a packet from stream 0 [pcm_s16le @ 029029e0] Invalid PCM packet, data has size 1 but at least a size of 4 was expected Error while decoding stream #0:0: Invalid data found when processing input
-
-
Sorry, used wrong command. Should be type instead of copy, works this way.
But it is interesting that wrong command resulted in same error messages as in VD log. Need to look further
test.bin is raw audio for this test, to make it repeatable just in case. -
-
It works for me with these presets using the webm(opus) encoder set on a random youtube video
https://forum.videohelp.com/threads/367446-Virtualdub-External-Encoder-feature/page3#post2390309
The only thing I changed was the ffmpeg path
(tested using vdfm 40176) -
-
-
it's probably in a subfolder somewhere usually it's in the folder "bin" for binary
-
Nope, I searched with this app called Everything that looks at all the files on your computer; there's no ffmpeg.exe in that folder. And there's no bin folder either. I've got all the subfolders listed in alphabetical order; the first one's compat
-
where did you download it from ? I usually get precompiled windows ffmpeg binaries from zeranoe
https://ffmpeg.zeranoe.com/builds/ -
That could explain it then. I just Googled ffmpeg and downloaded from the first hit.
https://www.ffmpeg.org/
EDIT: Hey, great, that did the trick, it worked! I downloaded from zeranoe and the new ffmpeg worked fine! Thanks!Last edited by Bruce Banner; 14th Dec 2017 at 22:57.
-
Beware of older ffmpeg that can be present in your path environment - lot of programs install ffmpeg on their own silently and later when you call ffmpeg you may receive errors as old ffmpeg build may be used instead desired one. Best idea is to search ffmpeg.exe on ALL local disks. This is quite common issue.
Alternatively you can modify path to point current ffmpeg first. Substituting older ffmpeg.exe by new one is not recommended as some difference may occur in syntax and you will get unexpected error from applications. -
So the problem was filename conflict
Instead of
Code:"outputFilename": "%(outputname).webm"
Code:"outputFilename": "%(outputname).Audio.webm" "outputFilename": "%(outputname).Video.webm"
Similar Threads
-
VirtualDub FilterMod updated capture mode
By shekh in forum Capturing and VCRReplies: 1Last Post: 3rd Dec 2017, 15:05 -
virtualdub filtermod 40463
By carversm in forum Software PlayingReplies: 8Last Post: 30th Oct 2017, 12:41 -
Which exe to use to run VirtualDub FilterMod?
By kingmustard123 in forum Video ConversionReplies: 4Last Post: 23rd Jul 2017, 13:27 -
Which filters recommended for VirtualDub(Filtermod)?
By PabstBlueRibbon in forum EditingReplies: 3Last Post: 22nd Jul 2017, 11:00 -
VirtualDub FilterMod (build 40035/release) ISSUE!
By david.dgc in forum Video ConversionReplies: 7Last Post: 20th Jul 2017, 05:43