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 [h.264]

The tag has no usage guidance.

0
votes
1answer
17 views

h.264 video packet duration missing

I have h.264 files that, when I run ffprobe on them, like this: ffprobe -i h264_file.ts -show_packets -select_streams v ...it shows that each video packet has no values for duration, and no value ...
2
votes
1answer
19 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'...
0
votes
1answer
14 views

Identify H.265 from the OSX Command Line?

Can anyone suggest a way to tell the difference, from the OSX command line, between .mkv files encoded with H.265 from those encoded with H.264? Plex H.265 streams viewed from some devices (e.g. LG ...
0
votes
0answers
10 views

Absolute timestamp in H264?

I have a camera that delivers an H264 encoded stream. The camera is GenICam compatible and I get the data via the GenICam API, frame based. The camera also has a precision time protocol interface (...
0
votes
0answers
24 views

h264 Video && G711A with FFMPEG

I'm currently trying to convert an audio and video stream to something visible inside a player such as VLC. I get the video through TCP (I separate protocol headers from the manufacturer) and I have ...
0
votes
0answers
25 views

Reencode MKV (from DVD - Mpeg2) to h264

I have some old DVD that I already converted using MakeMKV, they seems to have the original mpeg stream, so I want to do this: Reencode the video stream to the more recommended settings for old-DVD ...
0
votes
0answers
37 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: ...
2
votes
1answer
35 views

What's special about Apple-device generated HEVC files that (apparently) x265 can't produce?

Take this file, the first 10s of Hank Green's "editing challenge". It is H264 video + AAC audio. You can take that file and import it into Final Cut Pro X (FCPX for short), and edit it to your heart's ...
0
votes
0answers
34 views

ffmpeg convert H264 CFR + timestamps to VFR

I have a H264 video source that was recorded with variable framerate (VFR) and a text file with frame ID, timestamp pairs that looks like this: frameId,timestamp 1890413473,13792093 1890413474,...
1
vote
3answers
49 views

Some H.264 videos that I have seem to have excessive bitrate, is there a way to determine/find their recommended bitrate?

So I have some videos that are Full HD, h264 but they have over 30M bitrate at 30 FPS, they are SDR and their quality is not very impressive so it seems excessive and unnatural for such unimpressive ...
0
votes
1answer
31 views

What happens when you use a specific CRF value on a already encoded x264 video?

If there is a h.264 video, and I use -crf 17 I sometimes I get a lower bitrate, but the weird thing is - most of the time get a higher ones. I am trying to get this setting because I think some ...
0
votes
1answer
22 views

Premiere Pro export black screen on mobile, just audio

I exported a 9:16 video (vertical, for Instagram stories) from Premiere Pro 2018, encoded with H.264 and AAC audio, VBR 2 pass. However, the video shows nothing but black screen on both my Samsung ...
0
votes
0answers
50 views

Help decoding video from hardware encoder

I obtained this video from directly reading the memory of a hardware encoder. The encoder supposedly produces a HEVC (H.265) or H.264 video stream, but I can't accurately play or convert the file with ...
1
vote
2answers
67 views

Does Youtube accept 10bit uploads? If so, what codec should I use?

I am launching a series of videos to Youtube. These videos have a black background and lots of colored gradient changes. 4k, 60fps. Unfortunately this picture style is causing terrible banding ...
0
votes
0answers
14 views

Fixing an H264 video where the run time doesn't match bit rate and file size?

I recently recorded almost 9 hours of a H264 stream using VLC, resulting in a 31 GB file. Since the bitrate was 8000 kbit/s., that sounds about right. Unfortunately, both VLC itself as well as ...
0
votes
2answers
128 views

Configure CQP (CRF) for h264_nvenc

Encoding on CPU can be done via: ffmpeg -i input.mp4 -vcodec h264 -crf 23 -acodec copy h264.mp4 GPU's alternative for the codec is h264_nvenc. How can I pass the same options to it? I googled and ...
0
votes
0answers
57 views

Does HDR content has anything to do with codec?

I am new to video codec(encoding/decoding) stuffs. I am trying to understand deference between H.264(AVC) and H.265(HEVC) HDR video contents. I thought HDR video 'means' it has 10 bit color depth and ...
0
votes
0answers
37 views

Reduce CPU usage when downscaling HD>SD>Low on the same codec (H264)

I'm using ffmpeg over 3 years now mainly I'm doing live broadcasting on my site , currently I'm preparing to do 5 livebroadcast on the same time using my VPS server CPU E3-1240 v5 OpenVZ Since I'm ...
0
votes
0answers
74 views

FFmpeg only and only change H264 profile and level?

I am use FFmpeg v4.1 . I want to change H264 profile and level but I want other settings to stay the same. I just want to change the profile of H264. I'm using this code, but I'm getting the error. -...
0
votes
2answers
90 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, ...
0
votes
0answers
66 views

Correct export in Premiere to Vimeo & YouTube in FULL RANGE 0-255

I'm working in Adobe Premiere on some sequences (Full HD, Progressive, 8bit). In these sequences I added also some matte black backgrounds and after effects comps with black background and other ...
-1
votes
2answers
42 views

Grime-like blocking compression artifacts on the decompressed video (H.264)

During watching H.264 compressed videos one faced several times with an artifacts. Example 1: Example 2: Wikipedia's article [1] tells that the typical reason is «Data errors in the compressed bit-...
0
votes
1answer
41 views

Video cam with poor compression ratio (H.264 produces videos at 2.9MB/sec)

I just purchased a cheap dashboard video-camera that is advertised to have a H.264 codec inside. However, after the first video test I have seen that a 43sec movie takes 123MB! How is this possible. I ...
1
vote
1answer
338 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 ...
0
votes
1answer
279 views

Is 4K 4.2.0 just HD 4.4.4

I've been reading about codecs lately and found out, that the 4.2.0 codec combines 4 pixels color to one used for all 4 of them, effectively lowering the filesize. Now how does this compare to a ...
0
votes
1answer
197 views

I'm using H264 encoding to encode video capture from a webcam. How do I turn of rc lookahead?

I want minimize encoding latency per frame. Right now, there is a high increase in encoding latency on the 46th frame. I think lowering the lookahead value might help with this. How do I do this? ...
1
vote
1answer
629 views

How to convert MPEG-4 to AVC/h.264?

I would like to use ffmpeg, mencoder or still something free. I cannot concatenate two videos because of different video codecs: $ mkvmerge -o merged.mkv 1.mkv \+ 2.mp4 mkvmerge v19.0.0 ('Brave ...
0
votes
1answer
54 views

Different rate distortion curves for two videos encoded with same parameters in FFMPEG

I encoded two videos (ParkJoy and Sintel) in FFMPEG by H.264 with same parameters (GOP size, QP, frame rate, resolution etc.) and obtained rate-distortion plots (mean PSNR of Y channel vs bitrate). I ...
0
votes
0answers
335 views

Replacing I-frames in h265 stream

I'm trying to follow this tutorial: https://www.reddit.com/r/brokenanimegifs/wiki/tutorial Everything works perfectly. On the basis of this tutorial, I even created my own little tool. It just ...
2
votes
1answer
1k views

Print to file: Details of every NAL unit in raw H.264 file

I have a raw H.264 file. I would like to retrive both length and frame number of every NAL unit in this file. The result must be printed to file. Is there any tool to do this? I have tried using H....
0
votes
2answers
232 views

Can you losslessly ediit H264 at the GOP level?

My scenario is this: I have a few .mp4 files containing H264 video with AAC audio. Each file was encoded from a DVR source. There are a few frames too many at both the beginning and end of the file (...
1
vote
1answer
25 views

Getting gray instead of white when recording screen activity

I am recording from screen however, the video when recording with a recording program, (screen around cursor mode) gets grayish why? Video settings are H264 - NVENC (VBR) 30 fps, 100q
1
vote
1answer
155 views

Clip that plays fine in WMP is cut off in Sony Vegas

I imported a screen recording into Sony Vegas. When I play the original clip with Windows Media Player, it looks the way I expect it, with the whole screen visible. But when I play the clip in Vegas, ...
-3
votes
1answer
38 views

Lossless and lossy compression techniques

Are MPEG and H.264 Lossless?? I need a brief explanation about lossy and lossles... And which compression technique is generally using in CCTV Surveillance applications of video??
2
votes
1answer
3k views

FFMPEG: Loop video to the length of audio

E.g. if video is 1 minute, but audio is 1 hour. Make video loop throughout for 1 hour of the audio track. I use this solution to loop image through the lenght of the audio ffmpeg -y -loop 1 -r 6 -i ...
0
votes
1answer
367 views

How do I convert H.264 Rec709 (“SRGB”) to H.265 HEVC 10-Bit Rec2020 (“Wide Gamut”)?

I'm looking to convert a standard colour gamut video to a wide gamut video. For example, I have a 1080p, 2K or 4K H.264 8-bit mp4. This is normally (eg. from YouTube) in Rec709 or "SRGB" colour space. ...
5
votes
1answer
160 views

Are JPEG compression and H.264 intraframe compression the same process?

I was looking at how JPEG compression works, and to me it seems to be really similar to what H.264 (and other video codecs) does with its intraframe prediction step. In both algorithms the image ...
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
514 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 -...
4
votes
1answer
4k views

It is better to have more B-frames or more P-frame for video streaming?

I'm trying to re-encode (H.264) some videos from my movie library in order to put them on a NAS and stream them to a smartTV through WiFi. In order to do so, I'm using HandBrake on MacOS and – among ...
2
votes
1answer
5k views

Exporting h.264 from Premiere Pro resulting in black screen on Windows 7

We have multiple reports of our h.264 video playing audio-only in IE11 on Windows 7. The video screen stays black. I can reproduce the problem. Here is an example video that exhibits the problem. ...
1
vote
1answer
2k views

How to set ffmpeg encoding framerate?

in short: I set -r 25 , but I see in the converting process that it's fps=18. Why? I am trying to convert a video to H.264 format using ffmpeg, and I am trying to set the framerate(out framerate) ...
0
votes
1answer
362 views

Premiere encode in h264 using “ultrafast” preset

Often I use Premiere to transcode or export media where the final size isn't the main problem. I'm used to the ultrafast preset from ffmpeg, what I wonder is.. it is possible to pick the same options ...
1
vote
0answers
1k views

How can I repair a video file that became corrupt after a settings change during recording?

During a recent talk, I used a pass-through screen capture device to record a laptop's output to a projector. The capture went perfectly until about an hour into the talk, when the speaker switched ...
1
vote
1answer
351 views

Reencoding H.264 to H.264 made it 40% larger

I've got some livestreamed footage (encoded with constant bitrate), and I've been trying to reduce the file size for long-term storage. I figured that since encoding speed is no longer a constraint ...
1
vote
1answer
3k views

how to use h264_omx on RaspberryPi

I'm using RaspberryPi 1gen B+, for push stream to web through rtmp. But I find my CPU usage came up to 90%+. This is how I use it: ffmpeg -re -f concat -safe 0 -i playlist.txt -vcodec copy -acodec ...
1
vote
1answer
67 views

Shadowplay Footage Import to iMovie Introduces Audio Artifacts

I've been playing around with this to vary degrees of success and I'm getting slightly confused by what I'm seeing (or rather hearing in this case). Just playing the clips in a player like QT or VLC ...
0
votes
1answer
96 views

Converting to Uncompressed Video Files

I'm looking for a method to convert compressed video files (like h.264) into uncompressed formats for editing. What are the best options to look at?
1
vote
1answer
339 views

Is H264 an actual file format?

Is there an actual H.264 file or is it just the codec that renders the video into an .mp4 or .mov file? For an application, I have to hand in a portfolio with videos. Their website says that, "...
1
vote
0answers
73 views

Best possible quality setting for screen recording (not games) and web presentation

Screen videos have text and simple geometric shapes, which need to stay sharp, detailed and crispy. The color should also remain untouched. With screen grabs, I want e.g. IBM blue to show as IBM blue ...