All Questions
39
questions
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 ...
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 ...
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-...
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 ...
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 ...
1
vote
1
answer
1k
views
ffmpeg stuck in generating thumbnail of video
I'm currently writing a script to create thumbnails of videos in a folder, but as soon as ffmpeg hits a .mov video, it gets stuck. The videos were taken on an iphone at 4k 60fps and can be played back ...
1
vote
0
answers
259
views
How can I imitate the video codec of a Canon DSLR?
I have a Canon EOS Rebel SL1 (100D) with a stuck pixel in the screen that really bothers me out. I'm trying to play one of these "dead pixel fixer" videos on the camera in order to bring it to life ...
0
votes
1
answer
1k
views
How can I remove 14 of 16 audio channels from a MOV file using FFmpeg?
I'm new to FFMPEG so I need some help from some professional users.
I have a relative simple task:
I have some MOV files with a single audio track that contains 16 channels. I want to remove the ...
0
votes
0
answers
852
views
I want to convert jpg image sequence in folder to mov by adding windows context menu for a folder
I am using ffmpeg code to convert the available jpg sequence to mov(Photojpg)
ffmpeg -f image2 -r 24 -start_number 1001 -i /ip/Seq/image.%04d.jpg -y -xerror -vcodec copy -r 24 /ip/Seq/movie.mov
But ...
4
votes
0
answers
2k
views
How do I extract a QuickTime text track using FFMPEG?
I have a .mov container with a QuickTime text track which QuickTime uses to display chapter markers. In the QuickTime 7 Pro User's Guide, the description for how to do this is in Editing and Authoring ...
1
vote
1
answer
627
views
Quicktime .mov - Specify a Movie Header timescale of 24000
When I run my 24fps Quicktime mov files through an FFmpeg transcode they are coming out with a Movie Header timescale of 1000, when the source file has a timescale of 24000. This low timescale value ...
5
votes
1
answer
11k
views
Re-encode 4K video to H.265/HEVC with FFmpeg for playback in QuickTime
I have a one hour 4K video which was weighing in at 10 GB. I thought I'd try re-encoding to HEVC using FFmpeg to try to save space, something I hadn't tried before.
However, I switched the container ...
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 ...
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 ...
0
votes
0
answers
4k
views
How to change audio bitrate to exactly 85 Kbps and preserve video setting?
When I try to change the audio bitrate for my video, also my video output is lower than it should be. Also my output video should be in MOV format.
I tried:
./ffmpeg -i myvideo.mov.mp4 -b:a 85k ...
2
votes
1
answer
2k
views
Splitting up mp4 files with ffmpeg results in black videos
I'm trying to split a long video in mp4 format into 60 second sections:
ffmpeg -i YDXJ0028.mp4 -c copy -segment_time 60 -f segment YDXJ0028_%03d.mp4
This kind produces the segmented video files, but ...
2
votes
1
answer
4k
views
How can I change the language metadata with ffmpeg without converting video?
I want just to change in a MOV video the language from English to Spanish.
I'm using
ffmpeg -i in.mov -metadata:s:1:1 language=spa out.mov
I add out.mov because is mandatory, but I don't want to ...
0
votes
1
answer
3k
views
QuickTime can't play mp4 generated by ffmpeg without converting first
I've created a .mkv file from a DVD using MakeMKV that I've then converted to .mp4 using ffmpeg:
ffmpeg -i title00.mkv -c copy -c:s copy output.mp4
Now when I try opening the .mp4 file using ...
2
votes
2
answers
328
views
Command line way to flatten a multi-channel-audio .Mov into a single-channel-audio .Mov?
Caveat: I'm not very familiar with audio codecs and terminology, so it could be that I'm not using the correct words to describe what I want to do. I've attempted to make that clear.
I'm using ecamm'...
0
votes
0
answers
1k
views
How to fix a .mov file in hex editor from Photo Booth crash on OS X?
I was recording a ~4GB video using Photo Booth on OS X. The program terminated for some reason (unsure of whether it was computer sleep or something else).
I have a corrupted file of about 4GB in ...
3
votes
1
answer
5k
views
Lossless H.264 MP4 file created from images cannot be played in QuickTime
I'm trying to find the optimum settings for creating a .mp4 file that will load easilly both on Mac and Windows.
Right now with these settings
f image2 -pattern_type glob -i '*.png' -vcodec libx264 -...
58
votes
1
answer
50k
views
Why can't Quicktime play a movie file encoded by FFmpeg? [duplicate]
When I try to open a movie I just created with the command:
ffmpeg -pattern_type glob -i '*.JPG' -s 640x480 movie.mp4
I get an error from QuickTime:
The document “movie.mp4” could not be opened.
...
3
votes
0
answers
711
views
Why doesn't my audio work in Quicktime (but does in other players) when combining an mp3 and video file using FFmpeg?
I'm trying to denoise the audio in a video. I've determined that this isn't really possible in ffmpeg, so I've extracted the audio from the video this way.
$ ffmpeg -i found1-1.mp4 audio.mp3
$ ffmpeg ...