Quote from: Boflox on April 18, 2025, 12:27:16 PMThe function to speed up the project is vital for meTry FFMpeg:
ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=0.8*PTS[v];[0:a]atempo=1.25[a]" -map "[v]" -map "[a]" output.mp4
- this speeds up the video "input.mp4" by 25%. Quote from: Avidummy on February 24, 2025, 02:16:43 PMI understand what you just said, but still its a lot of a job, it would be a lot faster if the avidemux could do it instead of you, but i guess its not possible since you can change origian video encoding format (i don't know how it works from developer perspective)Quote from: MilosP008 on February 07, 2025, 06:44:07 PMQuote from: szlldm on March 03, 2021, 08:35:16 PMMaybe you overlooked it:QuoteYou save with copy mode the preceding half, then the part after the bad segment (both cut at keyframe). Fix and reencode the bad part, then append the 3 part together.
If there is a problem with the audio after appending, you still can merge in the audio fom the original file.
You still didn't answer the question, i have the same issue, i need to encode only stuff that i cutted and not whole video so i wont wait 2 hours for encoding
I do that all the time without issue and I really don't know much about this stuff. I would cut the video into 3 pieces at the key frames. 1st piece ends with the key frame just before the error. Save that as Video A. The 2nd piece is the small piece with the error. Save that as Video B. The 3rd piece is what's left. Save that as Video C.
Edit Video B and reencode using the exact same parameters as before. Then drop Video A into the avidemux window, then drop Video B into the window, then drop Video C into the window. Select copy for audio and video. Click save.
Be sure to use version 2.7.8 or newer.
Quote from: eumagga0x2a on April 18, 2025, 12:33:39 PMUse "Change FPS" video filter (eventually followed in the filter chain by "Resample FPS" to bring the actual FPS down to the original value) to speed up the video track. If the video is sufficiently long, some loss of sync at the end may still happen due to limited precision.
(edit: Obviously, video filters are not applicable and therefore not available in copy mode, select a video encoder first to access the filter manager.)
#PY <- Needed to identify #
adm=Avidemux()
g=Gui()
g.QtGuiSetBusyCursor(1)
adm.seekKeyFrame(20)
g.QtGuiSetBusyCursor(0)
#PY <- Needed to identify #
adm=Avidemux()
g=Gui()
g.QtGuiSetBusyCursor(1)
adm.seekKeyFrame(-20)
g.QtGuiSetBusyCursor(0)
echo '## ffmpeg Nvdia check cuda ##' && ffmpeg -hide_banner -hwaccels | grep cuda
Quotecuda
echo '## ffmpeg Nvdia check nvenc ##' && ffmpeg -hide_banner -encoders | grep nvenc
QuoteV....D av1_nvenc NVIDIA NVENC av1 encoder (codec av1)
V....D h264_nvenc NVIDIA NVENC H.264 encoder (codec h264)
V....D hevc_nvenc NVIDIA NVENC hevc encoder (codec hevc)