Questions tagged [h.264]
The h.264 tag has no usage guidance.
24
questions
106
votes
6
answers
253k
views
Repeat/loop Input Video with ffmpeg?
I just want to loop a mp4 video with ffmpeg and keep the current settings and codec.
For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
8
votes
1
answer
30k
views
What CRF or settings I should choose for h265 in order to achieve a similiar quality of h264?
I'm doing some experiments with HEVC x265.
I have a raw footage and the quality of details of h264 with same CRF setting looks better than h265.
Shouldn't be the opposite?
Maybe my setup isn't the ...
33
votes
2
answers
28k
views
MP4 / h.264 patent issues?
I know this is not a legal forum but I'm assuming this is a daily issue for most people on this site since h.264 video (AVC / MPEG4 part10) is so ubiquitous (and there is a legal tag here).
I've read ...
16
votes
3
answers
58k
views
encoding 4:2:2 in 10-bit with libx264
I believe that libx264 is now capable of doing 10-bit 4:2:2 encodings, but I can't seem to get it to work. I'm using ffmpeg (info below), and I've also tried the x264 encoder directly. I've tried
...
15
votes
3
answers
17k
views
H.264 or VP9 for encoding for YouTube?
I make short films which I distribute through YouTube. I know YouTube uses VP9 for streaming, but YouTube still recommends uploading with h.264. It makes more sense to me to upload in as similar a ...
2
votes
1
answer
2k
views
Lower framerate without re-encode
I'm looking for a way to lower the framerate of an H264 mp4 video without re-encoding the video.
Example: I have a 30 FPS input file and I need it to be 5 FPS. I want to avoid re-encoding because of ...
49
votes
3
answers
162k
views
Fix bad files and streams with ffmpeg so VLC and other players would not crash
It happened me many times that I could end up in corrupted video files:
video downloaded from official sources but with torrent and for some reason not all the pieces are there in .mkv, .ts or .mp4
...
20
votes
4
answers
47k
views
How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream?
Note: I posted same question to stackoverflow a short time before, when I have not found this comunity yet. I repost this since the question is more suitable to this community.
1. What I tried
I ...
14
votes
2
answers
10k
views
Using h264 in loseless mode brings small unexpected results
I got curious on ffmpeg screen capture capabilities and started messing around with a simple realtime capture test in h264.
ffmpeg -f dshow -i video="screen-capture-recorder" -video_size 1920x1080 -...
13
votes
1
answer
16k
views
ffmpeg: explicitly tag h.264 as bt.601, rather than leaving unspecified?
I want to tag video as explicitly bt.601, rather than "unspecified". I know players typically choose bt.601 as the default for videos less than 1280 pixels wide, but I want to make it explicit that ...
9
votes
1
answer
7k
views
Copying h.264 video from TS into MP4 changes frame rate and time
I have large MPEG-TS file that I am converting to MP4 using the below command. If I seek to the same time in the video in both the MP4 and the TS file, the MP4 will be a few frames behind the TS ...
8
votes
2
answers
33k
views
H.264 Max Resolution
I was trying to find the technical reasons for why H.264 is limited for 4K.
Obviously that in terms of bit-rate it becomes less efficient but the encoding itself is limited and for some reason, I ...
5
votes
2
answers
13k
views
How do I encode videos into h.264 at 8k resolution?
I am trying to use premiere, but I wouldn't mind switching computer programs to accomplish my goal. h.264 is an amazing codec for exporting videos, it is the fastest I've seen yet. Same exact videos ...
4
votes
1
answer
700
views
.mkv file not playing in HEVC/H.265 supported player
I wanted to play UHD (4k) videos in my new LeTV (Super3 X55).
So I used youtube-dl to download 4k YouTube videos (which are humongous btw) but for some reason most of them do not play.
The TV's ...
3
votes
1
answer
4k
views
Intra-frame H.264 / H.265 compared to DNxHR or Prores as intermediate codecs for editing
IMPORTANT: ISSUE SOLVED (STILL A COUPLE OF QUESTIONS, THOUGH), I POSTED SOME INFO BELOW THE ORIGINAL POST AS AN UPDATE IF SOMEONE FINDS THIS USEFUL:
Quick question: what are the advantages of using ...
3
votes
1
answer
3k
views
ffmpeg vf scale shifts colors to washed out
Im trying to scale video down. No matter what I do the colors are always washed up as a result.
original:
After scaling:
Code I run for it
ffmpeg -i input.mkv -vf scale=1028:-1 output.mkv
log: log
...
3
votes
2
answers
5k
views
What is the correct format of media creation time?
I noticed my GH5 via ffprobe has metadata such as:
Metadata:
creation_time : 2018-12-31T09:17:48.000000Z
timecode : 06:19:42;19
This is actually my local time, so off that bat, ...
3
votes
3
answers
4k
views
What's the difference between "visually lossless" and real lossless and what does this mean for future encodes?
In FFmpeg's H.264 Video Encoding Guide we are told:
Tip: If you're looking for an output that is roughly "visually lossless" but not technically lossless, use a -crf value of around 17 or 18 (you'...
3
votes
2
answers
5k
views
Black frame strobing during CC export
I have a sub-3-minute sequence in Premiere CC, containing a single 4k DCI 23.98 AVC stream from a Sony FS7, with a couple static PNGs and 29.97 Quicktime Animation lower thirds.
I need to export to ...
2
votes
1
answer
4k
views
How to choose the right bitrate, H.264 profile and level for Web Video presentation?
I want to start producing videos and looking around the internet for usual bitrate ranges (VBR) and H.264 profiles and levels for Web Video exports.
I found some guides with Vimeo and YouTube and ...
2
votes
1
answer
7k
views
Color shift after exporting!
I've a bunch of videos from different sources that i need to export, i'm mainly using Sorenson Squeeze 9 for videos that i just want to transcode to another format or change bitrates, and Premiere Pro ...
1
vote
1
answer
89
views
How to encode scenes with different CRF into a H.264 MP4 video with a variable frame rate?
Source Material
Having many scenes which essentially are still frames (for many seconds)
Commonly found in: Slideshows, Screen Recording or Software Mockup/Prototype
✅ This kind of source material ...
1
vote
0
answers
2k
views
AMD support for ffmpeg? Can't get my dedicated GPU to work
I'd like to ask for your advice. Recently I got refurbished Dell Latitude E6540 with two GPUs: integrated Intel HD Graphics 4600 and external AMD Radeon HD 8790M:
00:02.0 VGA compatible controller: ...
-1
votes
2
answers
913
views
Grime-like blocking compression artifacts on the decompressed video (H.264)
During watching H.264 compressed videos one faced several times with an artifacts.
Example 1:
Example 2:
Wikipedia's article [1] tells that the typical reason is «Data errors in the compressed bit-...