Linked Questions
18 questions linked to/from Cutting multimedia files based on start and end time using ffmpeg
362
votes
9
answers
972k
views
How to create a video from images with FFmpeg? [closed]
ffmpeg -r 1/5 -start_number 2 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
This line worked fine but I want to create a video file from images in another folder.
Image names in my folder ...
221
votes
10
answers
190k
views
FFmpeg on Android
I have got FFmpeg compiled (libffmpeg.so) on Android. Now I have to build either an application like RockPlayer or use existing Android multimedia framework to invoke FFmpeg.
Do you have steps / ...
68
votes
6
answers
92k
views
How to split a video using FFMPEG so that each chunk starts with a key frame?
We need to split a large live WMV video feed in small chunks all of the same size. We made a script that works fine doing this, except for one thing: the video chunks don't start with a key frame, so ...
45
votes
5
answers
38k
views
FFmpeg concat video and audio out of sync
Joining multiple files using ffmpeg concat seems to result in a mismatch of the timestamps or offsets for the audio. I've tried with several videos and noticed the same problem for h.264 / MP4.
Using ...
13
votes
10
answers
31k
views
Using ffmpeg to obtain video durations in python
I've installed ffprobe using the pip ffprobe command on my PC, and installed ffmpeg from here.
However, I'm still having trouble running the code listed here.
I try to use the following code ...
39
votes
4
answers
21k
views
Remove a section from the middle of a video without concat
How do I cut a section out of a video with ffmpeg?
Imagine I have a 60 second mp4 A.
I want to remove all the stuff from 0:15 to 0:45.
The result should be a 30-second mp4, which is composed of the ...
user avatar
user3310334
13
votes
5
answers
20k
views
Cut multiple videos and merge with ffmpeg
How can I cut a video into multiple parts and then join them together to make a new video with ffmpeg?
14
votes
2
answers
15k
views
Cut a video in between key frames without re-encoding the full video using ffpmeg? [closed]
I would like to cut a video at the beginning at any particular timestamp, and it need to be precise, so the nearest key frame is not good enough.
Also, these videos are rather long - an hour or longer ...
bguiz's user avatar
- 28.5k
3
votes
1
answer
2k
views
Every 30 seconds is to cut a video 3s
I have a 30 minute video. I want to skip 3 seconds every 30 seconds. And continue to the end of the video. And it connects all 30s video together
Example: 00:00:00 to 00:30:00 + 00:33:00 to 00:63:00 + ...
0
votes
2
answers
6k
views
How to cut videos automatically using Python with FFmpeg?
I'm trying to cut videos automatically using Python with FFmpeg so I don't have to type out the command everytime I want a new video cut. I'm not really sure what I'm doing wrong though, here's the ...
6
votes
0
answers
8k
views
How to trim a video file at a precise position without re-encoding using FFMPEG [closed]
I am having trouble trimming video files without causing the Video/Audio to go out of sync.
From what I understand, using the seek argument -ss before or after the input file results in two different ...
3
votes
1
answer
4k
views
Cutting a video accurately at a specific time without losing quality
I am using ffmpeg to cut a video accurately at a given time to another time. I know, we can simply re-encode it, but will lose the quality. Also, I do not want to use copy option because of key frames ...
1
vote
1
answer
2k
views
Empty stream when cutting a video using ffmpeg
When I try cutting a video, it outputs an empty stream (262 byte video with 0s duration). Would appreciate any insight, thanks.
Command used:
ffmpeg -i /path/to/long/video.mp4 -ss 37.69 -t 4.96 -c ...
3
votes
1
answer
2k
views
Working with video in android (crop, overlay, etc.) - how?
There was a task to create an application for Android that lets you record and work with video. There is no problem with recording video from a camera, but I ran into a problem processing videos. For ...
1
vote
1
answer
801
views
how to break an audio file into pieces and then transcribe that breaked audio file into text using java and CMU Sphinx
I have written a code that will transcribe audio file to text but my problem is i want to split the audio file into pieces and then i want to transcribe that break audio file one by one please help me ...