Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 691 to 707 of 707
Thread
-
Is there a way to batch normalize the audio? I tried once but got an error. There must be a different setting than what mp3gainGUI uses? I've been using mp3gainGUI to set the audio to 89.0 but most of the files I try to use these days will not work. I get failure to analyze every file in a folder with mp3gainGUI.
I've been using FFmpeg Batch AV Converter to create mp4 files with mp3 audio but most of the time, mp3gainGUI still refuses to analyze and fix the audio so I have to demux the mp3 files from the mp4 files that I created with FFmpeg Batch AV Converter and use those files. Usually, that's the only way I can get mp3gain to work. I have the aacgain.exe renamed to mp3gain.exe so I don't know why it will only work part of the time.
It would be nice if I could just use FFmpeg Batch AV Converter and do away with MP3GainGUI. -
I checked the box for volume in FFmpeg Batch. I used the Default copy preset and left the audio level at 0 and it errored out on every file. Next, I used a custom preset that I made to copy video and encode audio to mp3 and set the audio level to -1 (which I saw recommended on google) and it produced all the files.
I opened those files in MP3GainGUI to see what it read and it only read about a third of them with levels from 22.6dB below 98.0dB to 4.5 over 89.0dB. I checked the file that read 22.6 below and I could barely hear it. -
Hi, did you try loudnorm filter?
-c:v copy -c:a mp3 -b:a 128K -filter:a loudnorm -
I must've used my old way of converting the audio to mp3 and demuxing the audio with FFMpeg Batch and then using MP3GainGUI to set the volume gain because all those files are fine now. I did not use a filter to normalize the audio. I just used the Audio Waveform and set it to -1dB.
I've found a new problem now. I created AVIs using FFMpeg Batch with no audio so I could edit them in VirtualDub-1.10.5-test7-AMD64 and now FFMpeg Batch will not convert those files to MKV. I tried the older version which would not convert them at all and the new version creates a file that will not play in any player.
There is an error at the top right of FFMpeg Batcth that says Connection Error when I opened the AVI.
The error I got when trying to create the MKV said...
Metadata:
software : Lavf60.3.100
encoder : Lavf60.11.100
Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 192
0x1080 [SAR 1:1 DAR 16:9], q=2-31, 2349 kb/s, 59.96 fps, 29.98 tbr, 1k tbn
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=N/A speed=
[matroska @ 00000000003fd580] Timestamps are unset in a packet for stream 0. Thi
s is deprecated and will stop working in the future. Fix your code to set the ti
mestamps properly
[matroska @ 00000000003fd580] Can't write packet with unknown timestamp
[vost#0:0/copy @ 0000000002e3b880] Error submitting a packet to the muxer: Inval
id argument
[out#0/matroska @ 0000000000188b00] Error muxing a packet
[out#0/matroska @ 0000000000188b00] video:25kB audio:0kB subtitle:0kB other stre
ams:0kB global headers:0kB muxing overhead: unknown
frame= 1 fps=0.0 q=-1.0 Lsize= 1kB time=00:00:00.30 bitrate= 15.5kbits
/s speed=21.1x
Conversion failed!
C:\Users\Darrell\Downloads\FFmpeg_Batch_AV_Convert er_Portable_3.0.0_x64>
The AVI that I made with FFmpeg_Batch_AV_Converter_Portable_2.8.8_x64 plays fine in MPC-HC but opens in VirtualDub-1.10.5-test7-AMD64 as a video with all black frames and will not open correctly in either version of FFMpeg Batch.
I deleted the original MP4s so I can't use them. I'm not sure why FFMpeg Batch creates files that are not usable but this is the second time that it created unusable files for me. -
Hi, looks like a container/codec mismatch, not all container/codec combinations result in playable files, or playable in all media players.
It is best practice to test your encodings before production. If you send the unplayable file I could have a look. -
Yeah, the AVI played fine in MPC-HC and I've been converting MP4 AAC files to AVI with MP3 or AC3 for a couple of months now using AVIdemux, Virtualdub and I'm sure FFMpeg worked on my other files. It's the only program I have that does batch processing.
Looks like they'll open in Avidemux so I'll have to edit them with that program. I'll just have to find another way without using ffmpeg. I had another problem a while back that I posted in another thread about a batch file that would do what I was trying to do before I found FFMpeg Batch Converter that I thought had worked since it did work on a few files that I tried but it didn't in any of the other files I tried. Then I found FFMpeg Batch converter that did exactly what I was trying to do
FFMpeg Batch was a Godsend when I found it and it still does a lot of things that I've tried. I had to figure out a few custom presets that didn't come with it but most of the commands were easy to figure out with all the other presets that were there. I did try to screen capture a file with a couple of different screen capture presets that I could not download with any of my downloaders last night and FFMpeg Batch created the files but they were corrupt with none of the movie that I was trying to capture.
I am using ffmpeg version 6.0. Not sure which version is supposed to be used with these presets. -
Can you make a preset to mux an AVI and an MP3 together or is it possible?
-
Alright. I found the Stream Multiplexer tab but I couldn't figure out how to use it.
I added all the files from a folder with Name_track01.avi files and Name_track02.mp3 files but after choosing all the tracks in the folder, it only created the first file. When I looked at the track list on the bottom, it showed one avi file and all of the mp3 files.
It's only allowing me to add one video stream. I thought this was a batch program. -
I see. I think you could use variables to bach multiplex avi and mp3, but they would have to share the file name, like 'Name_track.avi' and 'Name_track.mp3'
For example, if track01.avi and track01.mp3 exist, you would add all avi files to the list, and in the main tab:
Parameters: -i %2.mp3 -c copy
Format: avi -
Same problem. It created the first file with video and audio but failed on all other video files and produced avi files with audio only.
-
You must be doing something different. This screenshot should help:
[Attachment 74716 - Click to enlarge]
You add video only files Test(n).avi to file list. Audio files are available at the same folder as Test(n).mp3
Results in muxed Test1, Test2, Test3.avi -
I changed the names of the audio files to match the names of the video files and tried again but I kept getting an error that said it couldn't find the audio files.
I finally gave up and used Virtualdub and added "audio from other file".
Looking at your attachment using .m4v, it might've worked for me if I had saved the .h264 files but I didn't think I needed them since they were also in the AVIs that MKVcleaver created with separate mp3 files.
I need to search all my old threads to see if I can find all the batch files I used to have that worked for me.
EDIT: I used MKVcleaver on the original MKVs and renamed all the audio files to track01 like the video files and dragged and dropped the .h264 files onto the main window (it could not see the files in the folder) and tried again. This time it worked on five of the twelve files. Said the others were invalid. Good to know your preset works. -
Trying to save a few steps, I decided to take my mp4s and copy those to avi using the "Video: MP4 Stream copy" preset and it created the files alright but all of the videos frame rate has doubled. I checked a few of the files and they're all in sync. Is this normal for ffmpeg to double the frame rate or is there something I need to do to the preset? The file size of the avi are a little smaller in size. Not much.
EDIT: The output file is the same length of the input file.Last edited by DarrellS; 6th Nov 2023 at 21:29.
Similar Threads
-
Batch trim using FFMPEG
By taonas in forum EditingReplies: 4Last Post: 25th Feb 2021, 11:17 -
(HELP PLEASE) FFmpeg - Batch Remove metadata
By uppon2 in forum Newbie / General discussionsReplies: 14Last Post: 3rd Jun 2016, 07:47 -
Batch stabilize script for ffmpeg
By racer-x in forum Video ConversionReplies: 20Last Post: 2nd Jun 2016, 18:10 -
FFMPEG Batch Converter! Help Please
By kerafb in forum Video ConversionReplies: 0Last Post: 15th Jan 2016, 20:18 -
Can I get a little help with an ffmpeg script/batch file?
By Iced Coffee in forum Newbie / General discussionsReplies: 14Last Post: 26th Aug 2015, 02:56