Skip to main content

All Questions

Tagged with
4 votes
1 answer
4k views

How to accurately split and combine videos with ffmpeg respecting inpoint/outpoint

I'm learning how to split and combine videos with ffmpeg. Presently I'm practicing on a 799 KB MP4, one_through_ten-timestamped.mp4, where each frame has a burnt-in "frame number" (up to frame 40, the ...
1 vote
2 answers
4k views

ffmpeg - creating DNxHD MFX files with alphas

I'm struggling with something in FFMpeg at the moment... I'm trying to make DNxHD 1080p/24, 36Mb/s MXF files from a sequence of PNG files. My current command-line is: ffmpeg -y -f image2 -i /tmp/...
0 votes
0 answers
75 views

ffmpeg png to mov keep exact colors

When I convert a PNG sequence to a h264 (yuv420p) movie and read the color values via FFmpeg's rawvideo pipe output, the values on each pixel is slightly modified. This is how I write my image: import ...
14 votes
3 answers
17k views

Combine MOV video files

I'm on Arch Linux 4.13.10 and I'd like to combine multiple .MOV files shot with a Canon EOS camera. I tried to convert the files to transport streams (.ts files) using FFmpeg, as shown here, but ...
1 vote
0 answers
271 views

Stream an MP4 file via HTTP in a QuickTime-compatible format using FFmpeg

QuickTime supports streaming from an HTTP server, for instance try opening https://ia801307.us.archive.org/18/items/kontikipart2/kontikipart2.mp4 via File -> Open Location. However, streaming the ...
0 votes
1 answer
114 views

Enabling all sound tracks in a .mov via ffmpeg

I run the following command: ffmpeg -i "SToutput.wav" -filter_complex "[0:a]channelsplit=channel_layout=stereo[left][right]" -map "[left]" -map "[right]" -c:a ...
0 votes
0 answers
750 views

Keeping metadata in FFmpeg image sequence to video

When creating a video from an image sequence with FFmpeg, how do I also copy the metadata from the first image in the image sequence (within reason: creation date, GPS coordinates, etc.; maybe not ...
1 vote
0 answers
311 views

ffmpeg last frame freezes, audio keeps playing

I'm using fffmpeg to cut an H.264 video into specific shots. I need it to be frame accurate, which isnt a problem if I only encode video (now that I know how to calculate the ms from the number of ...
1 vote
1 answer
440 views

There is a greyscale in my alpha mask I extracted from a .mov file, is there any way to make the alpha mask .mov only white and black?

so what the title says. I've never used ffmpeg before but I really need to extract an alpha mask for a project. The problem is a grey color which should be white so when I merge it with the main video ...
0 votes
1 answer
652 views

Mp4 file that plays fine on Windows Quicktime but video frames not in order and out of sync with audio in VLC

Someone has sent me a video that I wish to embed into a presentation I'm building. However, it doesn't play back as the author intended either embedded or standalone. I suspect was encoded on a Mac, ...
1 vote
0 answers
7k views

How to convert MOV (with Alpha) to MP4 (with ALpha) - using FFmpeg [closed]

I am trying to convert a MOV (with alpha channel) to WebM and Mp4 (with Alpha channel) using FFmpeg. The WebM video is coming with the Alpha channel. But the video is not supported in SAFARI Browser. ...
0 votes
1 answer
657 views

What ffmpeg command would convert a video for iPad/iPhone in 2021?

One of the answers almost a year ago was to use the following command: ffmpeg -i input.mp4 -vcodec libx264 -profile:v main -level 3.1 -preset medium -crf 23 -x264-params ref=4 -acodec copy -movflags +...
0 votes
1 answer
224 views

FFMpeg seek mkv x265 to x264 start + end generate bad duration and black output

I don't understand if I am missing a parameter or am I wrong to understand the documentation. I have a program that forces me to use FFmpeg (so I can't use ffprobe). FFMpeg I am using "N-99928-...
2 votes
1 answer
1k views

Why does QuickTime not play a video with CRF of 0, but is happy with 10?

I'm experimenting with video compression using ffmpeg (version 4.2.2), and used this command: ffmpeg -i old.mp4 -c:v libx264 -crf 0 -preset fast newCrf0.mp4 but the resulting video would not play on ...
1 vote
1 answer
639 views

ffmpeg MOOV Atom on a ProRes file?

We have been asked by a client to create a ProRes QT file (.mov) but specifically asked to "The moov atom (movie index file) should be placed at the beginning of the file." I have been reading around ...

15 30 50 per page