Questions tagged [video-encoding]

Specific issues with encoding video to a certain format, also related to [video-conversion]

374 questions
98
votes
9 answers

Can HandBrake flip/rotate a video?

I'd like to use HandBrake to compress some video that was taken via a camera that was mounted upside down. I found a reference to a command-line rotate option, but I can't find it in the GUI. Am I just missing it?
nonot1
  • 1,639
  • 5
  • 18
  • 20
71
votes
1 answer

How to specify audio and video bitrate

I have a mov file with the following media information: Stream 0 Type: Video Codec: H264-MPEG-4 AVC (part 10)avc1 Language: English Resolution: 1280x720 Frame rate: 24 Stream 1 Type: Audio Codec: MPEG AAC Audio (mp4a) Language: English Channels:…
michael
  • 5,755
  • 24
  • 66
  • 83
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
59
votes
4 answers

How do I reduce the size of a huge MP4 video?

I have a 4GB MP4 video file that I shot with the HD Flip Mino. How do I reduce it to no more than 1GB without losing too much quality?
user1413
  • 4,354
  • 16
  • 49
  • 58
59
votes
2 answers

How do I convert 10-bit H.265 / HEVC videos to H.264 without quality loss?

My laptop can't handle 10bit H.265 / HEVC videos, so I'm looking to convert them to 10bit H.264. How do I do this using, say, ffmpeg, with the least quality loss? And how can I convert 10-bit H.265 to 8-bit H.265?
HappyFace
  • 1,108
  • 2
  • 12
  • 17
53
votes
2 answers

Cheat sheets and presets-settings that actually work with FFmpeg 1.0?

Have tried a number of 'cheat sheets' available elsewhere but they almost all are out of date and simply will NOT work with the latest version of FFMpeg. Can anyone point me to settings that WILL work with the latest FFMpeg? I'm primarily interested…
Bachalo
  • 2,507
  • 13
  • 48
  • 61
48
votes
3 answers

How to generate an MP4 with H.265 codec using FFmpeg?

I want to encode a video file to H.265. The last version of ffmpeg should be support H.265 (Source). However, I could not find any information about the exact command. I do not know, which library I should indicate after -vcodec. I use the lastest…
skull3r7
  • 583
  • 1
  • 5
  • 7
40
votes
5 answers

How can I use CRF encoding with nvenc in ffmpeg?

This is my current command for resizing videos (1080p) from 2GB to 300MB, but it takes a lot of time: mkdir newfiles for %%a in ("*.mp4") do ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 21 -c:a aac -b:a 128k -vf scale=678:-2…
hongducwb
  • 503
  • 1
  • 5
  • 5
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

How do I replace the audio in an MP4 file without re-encoding?

I've got a video in an MP4 container that I would like to replace the audio track in (not add another audio stream to, nor convert the audio format of). Someone elsewhere online suggested to use VirtualDub to replace the audio track, but it…
nc4pk
  • 9,037
  • 14
  • 59
  • 71
30
votes
9 answers

Is there any way to distribute x264 encoding jobs across multiple computers (to increase the encoding speed)?

Does anyone know of a current, active solution to encoding x264 videos across many computers (via the network) to increase encoding FPS? Brownie points for cross-platform and open source, but just so you all know, I usually use Windows. Programs…
Breakthrough
  • 34,227
  • 10
  • 105
  • 149
27
votes
1 answer

What ffmpeg command line produces video more compatible across all devices?

So I have users saying H264 videos MP4's don't play audio on Apple's iPad and I struggle to get MP4 videos to play properly on Android too. There are two different command lines what command line is the one that I should be using. -profile:v…
C0nw0nk
  • 589
  • 3
  • 7
  • 16
27
votes
3 answers

Shouldn't we always use Web Optimized for Handbrake?

I use Handbrake sometimes to compress video files, and notice that the "Web Optimized" option is not chosen by default, and cannot be set to the default in Options either. But I tried both Web Optimized and non-Web-optimized. Turns out both the…
nonopolarity
  • 9,516
  • 25
  • 116
  • 172
25
votes
3 answers

Which resize algorithm to choose for videos?

I'm using VirtualDub for encoding with those settings. However I record my stuff in 1920x1080 and resize it down to 1280x720. Now the question: which algorithm should I choose when making a balanced quality vs. file-size decision? I always went…
Grumpy ol' Bear
  • 6,271
  • 12
  • 58
  • 78
23
votes
3 answers

How can I get high quality/low size MP4s like the LOL release group?

Release group LOL does an excellent job at encoding their releases on The Vampire Diaries (on other shows like How I Met Your Mother the bitrate is higher, so doesn't seem this effective). About 200 MB each ~45mins MP4 file, amazing quality…
thankyouinadv
  • 231
  • 1
  • 3
  • 3
1
2 3
24 25