x264 is a free, open-source encoder for the h.264 advanced video coding standard.

learn more… | top users | synonyms

1
vote
0answers
16 views

Is there optimal format and\or encoder to create keyframes only on scene changes?

I'm trying to encode videos in such a way so keyframes would represent scene changes as much as possible. I tried doing it using handbreak x264 with parameters like this ...
0
votes
1answer
116 views

Unknown encoder 'x264' in FFmpeg despite following proper installation instructions

I’m having an issue with FFmpeg after configuring it exactly to their own wiki’s instructions where I’m receiving the following: ffmpeg -stats -i uncompressed.video.mkv -codec x264 -preset veryslow ...
3
votes
1answer
41 views

Does x264 support time-based rate control constraints?

I’m aware of techniques to give the encoder freedom to ramp up bitrate for relatively complex sequences, but this has the consequence of inflating the overall bitrate compared to whatever was desired ...
0
votes
1answer
75 views

batch replace of video track with x264 (or ffmpeg, or avconv)

I have a bunch of .mkv files with diverse content, so I don't know about their audio, subtitle, chapter and attachment contents. Common denominator: They all have one video track. I want to batch ...
0
votes
0answers
106 views

Why does VLC cut off the end of my video when transcoding?

I am trying to "bake in" a custom made subtitle file (Advanced SubStation Alpha) for a short (3:46) video. However, despite trying an assortment of commandline options, VLC seems to always cut off the ...
0
votes
0answers
145 views

Ubuntu Screencasting: Libavdevice segmentation fault

I'm trying to stream to twitch a screencast of a remote desktop, but I meet some segmentation fault. The OS is: Xubuntu 14.04 , xfce, x2go I tried with Ubuntu 14.04, Ubuntu 12.04, ffmpeg and avconv, ...
0
votes
0answers
141 views

ffmpeg - cannot fade to white in x264

I have a directory full of images that I am converting into a video using ffmpeg. The first frame is a black title frame that fades/morphs into the first video frame, with a 5-frame morph. I do ...
1
vote
0answers
631 views

Difference between downscaling 1080p to 720p in real time and downscaling during encoding?

Suppose a high quality, uncompressed video is re-encoded twice, with almost identical encoding settings at a relatively low bitrate of 4mbps, but at different resolutions, first at 1080p, and then at ...
2
votes
0answers
342 views

Packets are not in the proper order with respect to DTS when using libx264 for video

I'm trying to use the following command to transcode one stream to a different format and send it over to RTMP server for live streaming. This is the command I am using: ffmpeg -f mxg -i ...
1
vote
2answers
837 views

Exr file sequence to mov with ffmpeg

When I convert an EXR file sequence with x264 using FFmpeg and convert the colorspace from linear to SRGB (with gamma 0.45454545) I get some heavy banding issues (most visible on a dark gradient). For ...
1
vote
0answers
120 views

Recommended bit-rate value for x264 1st pass

I use x264 to encode content for an Adaptive Bit-Rate workflow. So I run a 1st pass to find the "optimal"GOP structure (but with a --keyint target value) to a given bit-rate X. And next I run ...
0
votes
1answer
270 views

How to determine 'Output bit depth' of the libx264 library in ffmpeg?

According to the x264 Encoding Guide, the crf scale depends on whether x264 is 8-bit or 10-bit. Supposedly x264 --help shows the Output bit depth. But on Windows ffmpeg -h full doesn't say anything ...
0
votes
1answer
35 views

ClassX installation “codec not found” due to dependencies

ClassX is an interactive lecture streaming system developed in the Electrical Engineering Department at Stanford University. Unlike conventional lecture capturing systems, ClassX requires very simple ...
0
votes
1answer
211 views

ffmpeg 2nd pass segfault

I'm trying to get an old transcoding server up and running in a new environment and I'm experiencing some issues getting the well tested ffmpeg commands to work in the new environment. It's a 2 pass ...
1
vote
2answers
3k views

Create an FFmpeg preset file from x264 options

I want to create an FFmpeg preset file. If I run a sample command it shows the currently used presets $ ffmpeg -i infile.mp4 outfile.mp4 [libx264 @ 0000000002a9a5c0] 264 - core 140 r2377 1ca7bb9 - ...
2
votes
1answer
2k views

Realtime transcoding to H264+AAC in Matroska container

Scenario I have a movie library which I'm looking to make streamable to my Android tablet using VLC for playback. I want to use H264+AAC for best possible visual quality over a mobile internet ...
3
votes
2answers
1k views

How to convert video for slow Android device

I know there is no best video codec or format. Because, each codec is designed for its corresponding job and situation. I have an Android Tablet, that can play any video with any codec or format, but ...
3
votes
2answers
3k views

Compiling x264 with mp4 support

I need x264 for my project. I have one at /opt/local/bin/x264, but when I execute the following command: x264 --qpfile cuepoints.qp --output output.mp4 input.mp4 it says: x264 [error]: not ...
1
vote
0answers
81 views

Preserve text readability while encoding game screencasts

I have a bunch of (almost lossless) 3d game screencasts which now occupy considerable amount of my hdd space. I would like to reduce their size. Overall image quality isn't of great concern, except ...
0
votes
1answer
221 views

x264 Debug window parameters

I am using x264 to encode a video. The debug window shows the message : x264 [debug]: frame=1928 QP=35.00 NAL=2 Slice:P Poc:72 I:0 P:32 SKIP:67 size=62 bytes PSNR Y:36.84 U:39.56 V:41.84 I understand ...
1
vote
0answers
306 views

x264 to convert odd-sized image sequence

I've been using this command to convert series of JPEG images to h264 encoded videos, and it's been working quite well. x264 "/path/to/input/%04d.jpg" --crf 18 -o /my/output/file.mp4 until recently ...
8
votes
2answers
12k views

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 ...
11
votes
1answer
12k views

Explanation of x264 tune

Running this command ffmpeg -i a.mp4 -tune b c.mp4 reveals the possible tune values for x264 and in turn FFmpeg [libx264 @ 0000000002167100] Possible tunes: film animation grain stillimage ...
1
vote
1answer
16k views

How can I set a h.264 profile level with ffmpeg?

I have a movie (m4v/h.264/AAC) which plays fine on my Mac but I recently discovered that it wont play on my Apple TV3. After looking at the properties of this movie file I see that it has a profile ...
1
vote
1answer
5k views

Using CRF and setting a maximum bitrate with x264 in FFmpeg

I am trying to transcode a video to H.264/MP4. I am using the crf = 20 option but according to the requirements I also want to limit the maximum bitrate to 3 MBit/s. I was trying to cheat though it ...
0
votes
1answer
50 views

Playing separate videos on different monitors on linux?

I'm building a system for a friend's work that has four different videos playing on a loop on different monitors in the business. I've currently set up a Ubuntu 12.04 box with a Radeon HD7850 and am ...
5
votes
1answer
1k views

Convert png sequence to x264 with ffmpeg

I am trying to convert a series of pngs into an mp4 video. I am using ffmpeg, and want to encode the video with the H.264 codec. Using the command ffmpeg -y -r 30 -b 1800k -i _tmp%04d.png -vcodec ...
3
votes
1answer
2k views

Convert EXR file sequence with FFmpeg and x264

When I convert an EXR sequence into a QuickTime MOV file using FFmpeg and the x264 codec, it codes the video – but in QuickTime Player and Windows Media Player it's just black! But when I open it up ...
4
votes
1answer
1k views

Resize and lower the bitrate of mp4

I wanted to execute the following command: x264 --level 30 --profile baseline --bitrate 900 --keyint 30 -o test.mp4 video01.mp4 --vf resize:720,480 But I get following output(error) raw [error]: ...
2
votes
1answer
2k views

How would “The SD x264 TV Releasing Standards 2012” translate into mencoder options?

I've read the file "The SD x264 TV Releasing Standards 2012" (link), which is what a lot of "pirate" groups have agreed upon in terms of encoding options. The relevant parts are Audio, Framerate, ...
3
votes
2answers
8k views

Hardware acceleration for x264 playback on windows 7

Using VLC 2.0.0 with windows 7 to replay various mkv files (x264) the cpu usage of VLC media player averages 25%. How is it possible to enable hardware acceleration so that CPU usage will be lower? ...
4
votes
1answer
4k views

x264 encoding speed, what should my expectations be?

I am running Ubuntu 10.10 (maverick) on an HP Pavillion dv3 with core2duo 2.29 GHz, NVidia Geforce G105M (512MB) with CUDA and 4GB RAM. I have the latest versions of ffmpeg and x264. I recognise that ...
2
votes
3answers
81 views

Do motion-heavy and motion-light scenes influence the total encoding time?

I'm an avid gamer. Occasionally I like to record my gameplay with Fraps and upload it on YouTube. For my encoding I use Komisar's x264 codec in VirtualDub with the following settings: link to image ...
1
vote
1answer
523 views

64-bit x264 & 32-bit Avisynth YUY2?

Currently, I have Avisynth file that output YUY2 Color space, and I want to encode it in High 4:2:2 Profile H.264. Since my Avisynth filter isn't available in 64-bit yet, I have to use 32-bit ...
2
votes
1answer
844 views

FFmpeg/X264: Split video mid-GOP without reencoding entire stream

I've got an H264 video (Stored in an MP4 file). Each GOP is approx 10s long. I want to trim the first couple of seconds off the video, which means I need to split the first GOP. Is there a way to do ...
1
vote
1answer
719 views

How to extract image from single-frame h264 mkv file?

ffmpeg -i IMG_9353.JPG -pix_fmt yuv420p -y qqq.y4m x264 qqq.y4m --preset placebo --tune stillimage --crf 33 -o qqq.mkv How to extract the picture now? qqq.mkv is non-empty, size depends on "crf" ...
2
votes
2answers
1k views

Live video streaming over UDP?

What options are currently available for live streaming of video over UDP? Current solution uses libx264 and wowza media server, to serve up an rtmp stream. Unfortunately it's communicating over ...
21
votes
10answers
14k views

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 ...