Questions tagged [h.264]

Also known as MPEG-4/AVC, an advanced video encoding standard, widely used in Blu-ray and streaming video.

There are various names for h.264:

  • MPEG-4 Part 10
  • MPEG-4/AVC
  • H.264

h.264 is a video encoding standard that allows to compress video. It offers mechanisms for error-robust encoding and generally preserves quality very well, even at low bitrates.

The most common free and open-source encoder for h.264 is .

291 questions
95
votes
1 answer

What are the differences between H.264 Profiles?

I was rendering a video in After Effects CS5 and when I was formatting it I chose the H.264 codec and in that format, it had a profile with Baseline, Main and High. So I did a little test – rendering both files with Baseline and High. The only thing…
James
  • 1,125
  • 2
  • 10
  • 9
63
votes
4 answers

Best settings for FFMpeg with NVENC

I'm using my FFMPEG with the suport of my GPU (NVENC) to convert files from my satelite receiver (SD, mpeg2 .TS-Files) into h264 .mp4-files Here is the line i'm using ffmpeg -i "e:\input.ts" -vcodec h264_nvenc -preset slow -level 4.1 -qmin 10…
Dr. Snail
  • 677
  • 3
  • 9
  • 12
61
votes
1 answer

Convert AVI (Xvid) to MP4 (H.264) keeping the same quality

I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it? Original Video: Original Video Screen: FFmpeg console output (ffmpeg -i input.avi): FFmpeg version SVN-r26402, Copyright (c)…
user183129
44
votes
5 answers

Joining H264 *without* re-encoding

I have two halves of a single show in two .MP4 files, encoded in H264. I would like to join them without re-encoding. Is this possible? I managed to create a joined video as a Quicktime file (.mov) using Quicktime Pro, but then Quicktime Pro will…
jdmuys
  • 861
  • 1
  • 8
  • 17
35
votes
3 answers

Convert from MOV to MP4 Container format

I have a digital camera that records nice 1080p H.264 format but unfortunately it uses the MOV container format. Basically I have nothing but the camera and VLC that play this format natively. Is there a tool out there to convert the video to a…
Jeremy Edwards
  • 523
  • 1
  • 6
  • 8
31
votes
4 answers

Using FFmpeg to locate moov atom

I have a library of videos, all of which should have been adjusted for web-streaming by putting the moov atom ahead of the rest of the video. This allows playback to begin before the client has completely downloaded the video. Is there a reliable…
Jamie Taylor
  • 1,401
  • 3
  • 18
  • 27
27
votes
8 answers

Converting or playing a .264 video file?

I recently bought a Chinese brand DVR (to record security cams). The DVR exports the video files with a ".264" extension. This is my first time ever dealing with this video format. Anyhow I've been trying to convert the videos to any other format so…
Dan
20
votes
1 answer

FFmpeg/avidemux: fix packed B-frames

I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4 When doing so, mpeg4 issues the following warning Video uses…
4ae1e1
  • 1,586
  • 2
  • 14
  • 31
20
votes
3 answers

How can I re-encode H.264 video with minimal quality loss?

I have a lot of MPEG-TS files (.TS container but H.264 video) and playback is fine except that when you skip forward/backward or fast forward it's very sluggish and gets pixelated, etc. I've been trying to do research and I'm guessing that they were…
SofaKng
  • 1,215
  • 8
  • 21
  • 31
15
votes
4 answers

Can a GPU be used to Encode h264?

I am wondering if I get a better graphics card could it speed up h264 encoding on my machine using handbrake? If so how can I tell what graphics card will support this? I am aware that the GPU can do hardware decoding of h264, but am not sure about…
peter
  • 705
  • 4
  • 10
  • 19
14
votes
1 answer

What bunch of ffmpeg scripts do I need to get HTML5-compatible "Video for everybody"?

What list of commands should I do in ffmpeg/mencoder/some_other_CLI_app to get a video in all the right formats to use Video for Everybody? i.e. Is there a subtlety that prevents there being a mechanical tutorial that…
John Baber-Lucero
  • 809
  • 3
  • 10
  • 16
14
votes
2 answers

Using ffmpeg to encode a raw video to H.264 format

On a Ubuntu 10.04, I am trying to encode a raw video (YUV format) to a H.264 encoded video using below ffmpeg commands: ffmpeg -i input.mp4 output.h264 but I get an error saying Unsupported codec for output stream #0.0 Then when I try this…
goldenmean
  • 2,437
  • 21
  • 61
  • 72
12
votes
1 answer

What H.264/H.265 video compression parameters provide DVD-equivalent quality with better compression?

I have got a box of DVD video disks that I seek to get rid of while I'd like to keep the videos by converting them into MP4 files to store them on a hard drive. Considering superiority of the modern H.264 AVC and H.265 HEVC compression algorithms…
Ivan
  • 7,293
  • 28
  • 70
  • 99
12
votes
2 answers

What parameters should I be looking at to reduce the size of a .MOV file?

My Canon 60D creates .MOV files when recording video and I've found out that the .MOV container has an H264 video stream and a PCM audio stream. I've used ffmpeg and GSpot to look at some of my videos, and I see what seem to be pretty high…
12
votes
1 answer

how do I convert .iso to .mp4 without mounting with ffmpeg

The problem is - I want to convert .iso with dvd to .mp4 (h264/ac3), but I cannot mount it via mount -o loop, because I'm on a virtual machine that doesn't allow to do that. Googling doesn't help. For now I'm trying to use mencoder for the task,…
Kirill Zaitsev
  • 223
  • 1
  • 2
  • 6
1
2 3
19 20