17
votes
How to downsample 4k to 1080p using ffmpeg while maintaining the quality?
Convert 4k to 1080 (no change in codec)
ffmpeg -i input4kvid.mp4 -vf scale=1920:1080 -c:a copy output1080vid.mp4
Convert h.264 to h.265 (no change in resolution)
ffmpeg -i input.mp4 -c:v libx265 -...
8
votes
What is the most basic standard raw video format?
The reason there is no widely used uncompressed video format, as there is for audio is that the data rate for uncompressed video is so colossal that uncompressed video is kinda useless. While a ...
6
votes
Corrupt MP4 [recording interrupted]
I recently encountered this exact problem and I was able to repair the file using Untrunc, a program created specifically to solve this problem, as suggested by sparrowt on SuperUser:
For this ...
6
votes
Accepted
Understanding containers and codecs
MPEG-4 is not a container specification. It's a suite of specifications. Parts 12 and 14 define containers (MP4). Part 2 defines a video codec, whose encoder implementations are DivX and Xvid. Part 10 ...
6
votes
Accepted
What is the difference between VP9 and WebM?
VP9 is a video format. Another example is H.264.
WebM is a container format that VP9 goes into. It is equivalent to the MP4 container format for the H.264 video format.
libvpx is a video encoder (or ...
6
votes
Need help to fix a broken MP4 which lacks a MOOV atom
As you said you have similar files, you may try the following:
1) any good mp4 file with the same resolution and bitrate to generate the header files:
recover_mp4.exe good.mp4 --analyze
2) recover ...
5
votes
Easily convert & archive a bunch of low res Video CD DAT files MPEG 1/2 to newer better format such as MKV or others?
Using ffmpeg, a free command-line tool, you can convert these DATs to MP4 (or MKV):
ffmpeg -i input.dat -c:v libx264 -crf 20 -c:a aac -b:a 128k -movflags +faststart output.mp4
Your VLC output doesn'...
4
votes
Why does a video file that appears to be an MP4 not play in Windows Media Player?
Probably a fragmented MP4. Remux it using ffmpeg.
ffmpeg -i filename -c copy out.mp4
4
votes
Accepted
What it means "a royalty free alternative" to video/audio (WebM format)
It's a quite complex topic, but yes, when dealing with non-royalty-free technologies you are in some cases required to pay royalties to the patent holders, depending on your usage. This usually ...
4
votes
Accepted
Errors in converting mp4 to ts with FFmpeg
a) -bsf h264_mp4toannexb applies the filter to all output streams but it has to be applied to only video streams.
b) In any case, newer versions of ffmpeg, like the one you have, will automatically ...
4
votes
What is the video equivalent of vector graphics?
The whole premise of vector graphics is that there is a drawing engine in the output device that can interpret graphical commands and output shapes and fonts at the maximum resolution of its ...
3
votes
Accepted
Do I have any sort of loss converting an M4V file to MKV?
Your command
ffmpeg -i "path/to/file.m4v" -c:v copy -c:a copy "path/to/file.mkv"
does do a lossless copy since no recompression occurs.
You have to note all warning or error messages during the ...
3
votes
How to: Add Chapters, Sections, markers to video files to help direct access, skipping/ fast forwarding?
MP4 format does support chapters. You can use free Drax utility to create them. Please note that not all video players support MP4 chapters. You need to find one that does (VLC ?)
3
votes
Is there a video type for vector animation?
Here is some research about this topic:
Resolution Independent 2D Cartoon Video Conversion
https://www.researchgate.net/publication/305390110_Resolution_Independent_2D_Cartoon_Video_Conversion
Video ...
3
votes
Accepted
Lossless color compression
Without knowing the video properties, my generic answer is
ffmpeg -i in.mp4 -vf geq=lum='p(X,Y)':cb=128:cr=128 out.mp4
This will reset the color information, but pass the luma plane intact. Add -crf ...
3
votes
How to convert a 720° ".ts" video recorded with an AllieCam360?
FFmpeg can see both views as separate video streams.
You can remux the file to MP4 simply by using
ffmpeg -i input.ts -c copy -map 0 output.mp4
Hopefully, your video editor can work with distinct ...
3
votes
What is the best format for archiving digital movies?
Ah yes, the age-old question without a definitive answer that is straightforward and cost-effective.
In short, you want to store them in the highest-quality you can, in a format that you'll hopefully ...
3
votes
What is the best format for archiving digital movies?
If you're looking for an open source codec that is finding favour in archives and museums as an archival format, you might want to look at FFV1 from the FFMPEG project.
https://en.wikipedia.org/wiki/...
3
votes
Accepted
How does ffmpeg record -timecode in different file formats?
FFmpeg only supports timecode in a limited set of formats. They are the MOV family (MOV/MP4/3GP..), MXF family, raw DV and Grass Valley GXF.
How the timecode is stored and flagged is specific to the ...
3
votes
Accepted
Need help to fix a broken MP4 which lacks a MOOV atom
duplicate of How to recover a broken mp4 file: moov atom not found at unix.stackexchange.com - especially since you're looking for a linux/macos solution
limitation: the untrunc tool needs a working ...
3
votes
Need help to fix a broken MP4 which lacks a MOOV atom
The mdat box in a MP4 contains the media payload but it is freeform. It is as good as gibberish on its own. The moov box identifies how many tracks there are, which codecs and their parameters those ...
3
votes
What is the most basic standard raw video format?
This topic is really complex and you have confused some things.
WAV and mp4 are container formats, they can contain compressed or uncompressed data, while WMV is a series of codecs and formats. TXT ...
2
votes
Accepted
Motion capture and 3D model formats
You are a little confused in the MoCap process.
Most mocap is captured live on either a soundstage or direct to your computer with a webcam/video camera with specialized software. This software ...
2
votes
How should I understand audio levels in FCP7 xml?
How can a keyframe occur at 1252.57 for a clip that has a duration of 766 frames?
Because the user could have used a clip that was longer than 1252 frames, set a keyframe, then trimmed the clip down ...
2
votes
Accepted
Camera configuration - Should I select an AVCHD interlaced format over MP4?
AVCHD as a format is a combination of containers, file naming conventions, and directory structure. It is not inherently better or worse than any other container types.
Interlaced video is a thing of ...
2
votes
Camera configuration - Should I select an AVCHD interlaced format over MP4?
I will answer only to the 'interlaced' part.
Yes, it's a thing from the past. Deinterlaced video always will be looking worse than progressive. It's like shooting through the cracked lens and then ...
2
votes
Accepted
How can a GIF made from a vid be larger than the vid itself?
There are several factors at play here. For example, your gif creation app may have a quality slider/setting that influences the size of the output. However, the most likely cause is the difference in ...
2
votes
Accepted
What is the best way to convert .vob files copied directly from a DVD into a format usable by Premiere Pro?
Using ffmpeg, cat and remux all the VOBs together to a MPEG program stream.
ffmpeg -i "concat:vts01_1.vob|vts01_2.vob|vts01_3.vob" -c copy -f dvd dvd.mpg
(You may have to escape the | character i.e. ...
2
votes
Easily convert & archive a bunch of low res Video CD DAT files MPEG 1/2 to newer better format such as MKV or others?
When you say archive, do you mean for long-term storage, such as in a library or museum? If that's the case a lossless, well-documented, open-source codec and container is what you want. FFV1 in a ...
2
votes
Recreate basic AVCHD from MTS files
I had the same problem - wanting to recreate the AVCHD folder structure & metadata files starting with a simple folder of only *.MTS files.
After a lot of hunting, I discovered this post that ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
file-formats × 191video × 49
ffmpeg × 23
codec × 23
premiere × 20
video-editor × 17
conversion × 16
editing × 15
encoding × 15
mp4 × 15
compression × 11
video-quality × 10
formats × 10
software-recommendation × 7
software × 7
transcoding × 7
final-cut-pro × 7
quicktime × 7
after-effects × 6
mac × 6
avchd × 6
audio × 5
youtube × 5
final-cut-pro-x × 5
framerate × 5