Skip to main content

Questions tagged [h.264]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
114 votes
6 answers
274k 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 ...
Thomas King's user avatar
  • 1,251
8 votes
1 answer
31k 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 ...
user3450548's user avatar
  • 1,720
34 votes
2 answers
29k 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 ...
ispiro's user avatar
  • 731
16 votes
3 answers
60k 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 ...
stib's user avatar
  • 13.7k
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 ...
KC McLaughlin's user avatar
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 ...
rxj's user avatar
  • 23
61 votes
3 answers
182k 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 ...
user3450548's user avatar
  • 1,720
20 votes
4 answers
48k 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 ...
kaorukobo's user avatar
  • 343
14 votes
2 answers
11k 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 -...
user3450548's user avatar
  • 1,720
13 votes
1 answer
17k 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 ...
Peter Cordes's user avatar
  • 2,769
10 votes
2 answers
34k 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 ...
Lior Ohana's user avatar
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 ...
Andy's user avatar
  • 93
7 votes
2 answers
4k views

Resuming a partially-completed encode with FFmpeg

Summary Given a partially completed encode that: Was encoded using h264 in the Matroska container Was cut short by manually stopping FFmpeg by typing 'q' in the console ...what are the ways to ...
Zach F.'s user avatar
  • 361
5 votes
2 answers
14k 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 ...
Web Master's user avatar
4 votes
1 answer
729 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 ...
Macindows's user avatar
  • 225
4 votes
1 answer
5k 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 ...
Raulo1985's user avatar
3 votes
1 answer
4k 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 ...
Max's user avatar
  • 33
3 votes
3 answers
5k 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'...
user3643's user avatar
  • 2,296
3 votes
2 answers
6k 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, ...
hendry's user avatar
  • 181
3 votes
2 answers
6k 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 ...
snomsnomsnom's user avatar
2 votes
1 answer
5k 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 ...
burnersk's user avatar
  • 123
2 votes
1 answer
8k 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 ...
TheGMX's user avatar
  • 21
1 vote
1 answer
378 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 ...
porg's user avatar
  • 151
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: ...
stalker's user avatar
  • 21