Good afternoon,
I just got a new computer (Windows 11 Pro) and cannot get FFmpeg Batch to work at all. Here's the error message that I keep getting:
[AVFormatContext @ 0000025e2a60dd80] Unable to choose an output format for 'pipe:'; use a standard extension for the filename or specify the format manually.
[out#0 @ 0000025e2a571e80] Error initializing the muxer for pipe:: Invalid argument
Error opening output file -.
Error opening output files: Invalid argument
Encoding test failed. CHECK OUTPUT ABOVE
I get this message, even if I create a new preset selecting copy for both audio and video. Nothing will encode. I've tried uninstalling and reinstalling. I've tried uninstalling/reinstalling to a different folder. I'm about to see if I can get the portable version to work so I can finish the job at hand, but I use FFmpeg Bach lots.
Any idea what's wrong?
Thanks,
Steve
Hi, may I see an screenshot with the error, and/or the log file?
Sure, here's the screenshot of the error message:
[image: FFmpeg Batch Error.png]
I was doing some investigating and found this in my group policy. I'm 100%
a novice in dealing with group policy, so I don't know if this has
anything to do with the issue I'm having. It seems that the “Network
access: Named Pipes that can be accessed anonymously” policy is undefined.
I don't know what pipes FFmpeg uses, but I thought that adding them could
possibly help. Here's the photo of that setting (asking me to input
information that I know nothing about).
[image: Screenshot 2024-09-04 133756.png]
On Wed, Sep 4, 2024 at 12:03 PM Abel eibol@users.sourceforge.net wrote:
Related
Tickets:
#120I'll post the screenshot below. Also, when I click to view the log file it says there isn't a log file. I got the error the first time I tried to encode a file (immediately after installation). Maybe that's why the log file isn't available. I checked settings and the "Do Not Save Log File" option is not checked. Also, I was doing some investigating and found that “Network access: Named Pipes that can be accessed anonymously” in my group policy is undefined. I don't know if it is related. If I knew what pipes FFmpeg Batch uses I could add them. I'll attach a photo of that as well. I sent a similar message via email, but when I came here it didn't show up. If I am posting all of this for a 2nd time, my apologies.
Here's an interesting turn of events. I just tried using the portable version (3.08). I have it located at C:\FFmpeg Batch AV Converter Portable. It works fine, UNLESS I specify streams. The file has four streams (A/V/ST1/ST2). It doesn't matter how I map the streams (either -map 0 or -map 0:0 -map 0:1 -map 0:2 -map 0:3), it gives me the same error message:
[sost#0:2 @ 00000256e3efe5c0] Automatic encoder selection failed Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.
[sost#0:2 @ 00000256e3efe5c0] Error selecting an encoder
Error opening output file C:\Users\Steve\AppData\Local\Temp\FFBatch_test\Charlie Tango 1 (2024).mp4.
Error opening output files: Encoder not found
Encoding test failed. CHECK OUTPUT ABOVE
I have the log file for this event:
FFmpeg log sesion: 9/4/2024 2:18:54 PM
---------------------Start of Charlie Tango 1 (2024).mp4 log-------------------------------
frame= 464 fps=0.0 q=-1.0 size= 10240KiB time=00:00:18.60 bitrate=4509.4kbits/s speed=36.2x
frame= 849 fps=820 q=-1.0 size= 18688KiB time=00:00:34.64 bitrate=4418.8kbits/s speed=33.5x
frame= 1248 fps=801 q=-1.0 size= 27136KiB time=00:00:51.26 bitrate=4336.3kbits/s speed=32.9x
frame= 1588 fps=763 q=-1.0 size= 30464KiB time=00:01:05.45 bitrate=3813.0kbits/s speed=31.5x
frame= 1859 fps=707 q=-1.0 Lsize= 34380KiB time=00:01:17.35 bitrate=3641.0kbits/s speed=29.4x
Exit code: 0
Output E:\Working Folder\FFBatch\Charlie Tango 1 (2024).mp4 (ABORTED)
---------------------End of Charlie Tango 1 (2024).mp4 log-------------------------------
1 file(s) queued
0 file(s) successfull
1 error(s).
0 warning(s).
END OF LOG FILE
Total time: 00h:00m:03s
LOG SIZE: 1 KB
Last edit: Steven T Pippin 2024-09-04
Hi, I think it has something to do with quotes in parameters, since Windows treats them differentely from Linux. My I have the full text in parameters field? (It is behind the error popup).
The command line was: -c:v copy -af "volume=1.9" -c:a ac3 - metadata:s:a:0 language=eng -metadata:s language=eng
It wasn't the quotes. I had an extra space between the first - and metadata. When I closed the space it eliminated the pipe error. The error I was getting when I mapped streams was due to the file I was using, not FFmpeg Batch. Everything is working as expected now!
I thought I had simply copied the command line that I had been using for ages from my old computer, but I must've retyped it. Thank you for helping me figure this out. I was sure my syntax was correct (because it had worked in the past). Without your prompting, I wouldn't have rechecked it anytime soon!
Thanks again so much!
Great news, cheers.