Hello.
I have 800 files with fps problem: https://forum.videohelp.com/threads/412168-Editing-web-camera-file
I use ffmpeg command to fix it and show it as 8 fps.
VirtualDub 1.10.4, however, can solve this problem.
I load the file. I choose Video->Direct Stream Copy, then Video->Frame Rate->Change so video and audio duration match
and File->Save as Avi and put name.
File works fine.
However, processing about 500 files manually like this is getting me tired. Maybe someone has a ready script that would do it for me?
+ Reply to Thread
Results 1 to 2 of 2
-
-
Can you upload another sample. I tried remuxing the sample you uploaded as an MKV with ffmpeg and the video ended up with a frame rate of 15fps and the length of both the audio and video was the same. I tried again remuxing as an AVI and it was no different. Maybe you should upload a sample that your ffmpeg command line in the other thread wouldn't fix for someone to look at.
MKVToolNix won't remux it as it says the audio is unsupported. Maybe it doesn't support 8 bit PCM (wave files).
The command lines I used for remuxing are actually AnotherGUI command lines for ffmepg.
AnotherGUI can be handy for batch processing with command-line programs, including VirtualDub apparently, but I've never used VirtualDub via a command line myself.
AVI
-i "<FullSourceFileName>" -y -threads 1 -vcodec copy -acodec copy -bsf:v h264_mp4toannexb -sn "<OutputPath><OutputFileName>.avi"
MKV
-i "<FullSourceFileName>" -y -threads 1 -vcodec copy -acodec copy -scodec copy -map_metadata -1 "<OutputPath><OutputFileName>.mkv"
Once they're created, you can drag and drop a bunch of files onto AnotherGUI, use Ctrl+A to highlight them all if need be to set an output location, the tell AnotherGUI to run them.
For remuxing files it's probably best to only allow AnotherGUI to use a single thread in Preferences, otherwise I think the default is as many file simultaneously as you have CPU cores.
mp4toannexb & map_metadata probably aren't needed. They just happen to be included in the ffmpeg presets I'd already created.
For VirtualDub2 (I don't know if it's the same for the original VirtualDub) you should be able to set it up, including the frame rate change, and then use "File/Queue Batch Operation/Batch Wizard" to load a bunch of files for batch processing.
The AVI I created from your sample using the above AnotherGUI/ffmpeg command line is attached.
From MediaInfo.
Code:General Complete name : /media/NVME1/1698852005.avi Format : AVI Format/Info : Audio Video Interleave Format settings : WaveFormatEx File size : 729 KiB Duration : 30 s 0 ms Overall bit rate : 199 kb/s Frame rate : 15.000 FPS Writing application : Lavf60.17.100 Video ID : 0 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 1 frame Format settings, GOP : M=1, N=30 Codec ID : H264 Duration : 30 s 0 ms Bit rate : 125 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 15.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.004 Stream size : 457 KiB (63%) Audio ID : 1 Format : ADPCM Format profile : A-Law Codec ID : 6 Codec ID/Hint : CCITT Duration : 30 s 0 ms Bit rate mode : Constant Bit rate : 64.0 kb/s Channel(s) : 1 channel Sampling rate : 8 000 Hz Bit depth : 8 bits Stream size : 234 KiB (32%) Interleave, duration : 40 ms (0.60 video frame)
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview)
Similar Threads
-
need help with script
By swappyison in forum Video Streaming DownloadingReplies: 0Last Post: 28th Aug 2023, 23:38 -
AviSynth Script Exporting causes FFMPEG and Virtualdub to stall
By Tek03 in forum Video ConversionReplies: 4Last Post: 27th Jul 2022, 15:34 -
Looking for Batch MP4 Normalization Script of existing script
By VideoFanatic in forum Video ConversionReplies: 6Last Post: 31st Jul 2021, 19:50 -
VirtualDub/AVISynth VHS Effect Script Error
By ElmoRocks05 in forum Video ConversionReplies: 49Last Post: 25th Jun 2020, 16:53 -
Deshaker and slow virtualdub script
By Sheik in forum Video ConversionReplies: 1Last Post: 7th Aug 2019, 04:24