Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libx264]

The tag has no usage guidance.

1
vote
1answer
51 views

FFMPEG demux .264 for burning in scenarist

I have a very specific pipeline I need to set up, it starts with an mov file from Avid which gets transcoded to mkv for internal review and .264 for burning to Blu-ray in Scenarist. It goes: .mov (...
2
votes
1answer
215 views

Trim a segment of live, still-encoding H.264/FLV with ffmpeg

I am encoding a video with ffmpeg into H.264 stored in an FLV container. I would like to be able to trim segments of this video out as it is still encoding. The video contains no audio. I am encoding ...
0
votes
0answers
186 views

re-encode video with ffmpeg while preserving settings

How do I re-encode a video with ffmpeg and keep all of the settings, such as h264 profile, pixel format, tbn, tbc, etc., the same? If I do this command: ffmpeg -i input.mp4 output.mp4 The ...
0
votes
0answers
203 views

How to create a video with a specific bitrate in Kdenlive

I have been trying for a long time to create h.264 mp4 videos (1080p and 10fps) with a bitrate of 3000k but no matter what preset I use or what options I pass to the selected Render profile, I do not ...
-1
votes
0answers
47 views

Is there a possibility to encode 8192x8192@60fps that will play smoothly on a Desktop machine?

I am trying to encode an imagesequence (regular jpegs) with the size of 8192x8192 with 60 frames per second. As far as I understand, x264 wont help me there so I tried with x265 and used the following ...
1
vote
1answer
1k views

ffmpeg rtsp over http not working

I put this conf on ffserver HTTPPort 1234 RTSPPort 1235 <Stream live.h264> Format rtp Feed feed1.ffm VideoCodec libx264 VideoFrameRate 24 VideoBitRate 100 VideoSize 480x272 AVOptionVideo flags ...
1
vote
1answer
470 views

H.264 adding dark anti-aliasing even on high444 yuv444p

I have a PNG file with white on red and no antialiasing at all - each pixel is either white or red, but when I encode it to MP4 using ffmpeg -i test.png -profile:v high444 -pix_fmt yuv444p -loop 1 -...
1
vote
1answer
316 views

Ffmpeg error: 2nd pass has more frames than 1st pass

I'm recording video in windows 10 with gdigrab so want the capture as fast as possible in pass 1 and encode to a smaller file in pass 2. No matter what I do I always get this error when executing ...
0
votes
2answers
517 views

libx264 for ffmpeg on linux

I am running ffmpeg on ubuntu. I tried to set the codec to libx264 but it was not recognised by ffmmpeg. Is there a way too install that codec for use by ffmpeg?
1
vote
2answers
431 views

I scaled down a video, but the bit rate does not change

I have a 3000 by 3000 VR video encoded in H264. I scaled down the video by ffmpeg -i input.mp4 -vf scale=2160:2160 output.mp4 To my surprise, the bit rate of output.mp4 did not decrease (in fact, it ...
-1
votes
0answers
55 views

I encoded a 160GB AVI file into a 10GB MP4 file by libx264, is that normal?

I have a mezzanine file input.avi encoded in HQ. The file size is 160GB, and the length of the video is about 4 hours. With the following command: ffmpeg -i input.avi -c:v libx264 -crf 22 -preset ...
1
vote
1answer
1k views

What does it mean when encode a yuv422 file to yuv420 by libx264 lossless encoding?

I have an AVI file input.avi encoded in HQ which has yuv422 format according to ffprobe. Now, if I run the following command ffmpeg -i input.avi -c:v libx264 -crf 0 -pix_fmt yuv420p out.mp4 Will ...
3
votes
1answer
608 views

How to calculate the length of the video file that was encoded so far?

I am using ffmpeg to convert a video file to H.264 format. If I call ffprobe while ffmpeg is still running the duration of the video is not known. Only when ffmpeg finishes the ffprobe will display ...
1
vote
1answer
392 views

Real time ffmpeg / x264 encoder behavior when input resolution suddenly changes

I want to take a live HD-SDI signal being captured by a capture card and encode it in real time to X.264. What happens when the input resolution suddenly changes? eg, from HD SDI 1080/50i to HD SDI ...
2
votes
2answers
1k views

VOB editing with FFMPEG

I read that it is better to extract from vob H264 files within a .ts to have a lossless and more accurate sample, easy to cut, is that correct ? I used these commands : ffmpeg -i VTS_01_1.VOB -...
9
votes
3answers
33k 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 ...
1
vote
0answers
300 views

How to get ffmpeg/x264 to use same parameters as input?

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264. In short, get ffmpeg to segment the input file. Locate the segment(s) with changes to be made. Re-encode altered segments with ...
1
vote
2answers
1k views

ffmpeg re-encode libx264 without quailty loss?

According to the documentation for libx264 (h264) encoding, we can use a preset of veryfast, faster, fast, medium, slow, etc. https://trac.ffmpeg.org/wiki/Encode/H.264 ...for constant quality ...
4
votes
3answers
2k views

h264 settings for large flat areas of slowly changing colour

I'm doing an animation for a projection mapping that simulates the sun casting shadows on a structure as it moves through the sky. Basically it's just big flat areas of colour that change over about ...