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 [h264]

The tag has no usage guidance.

0
votes
0answers
24 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 ...
0
votes
0answers
12 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
1answer
23 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
31 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
54 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
1answer
40 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
40 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
31 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
0answers
44 views

Converting video for NVIDIA Jetson TX2

I am trying to develop software for the NVIDIA Jetson TX2. In the process, I want to perform an operation on a video recorded from my Samsung Galaxy S7 phone, which VNC player says uses code "H264 - ...
0
votes
1answer
232 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
179 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
514 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
49 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
261 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 ...
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 ...
1
vote
1answer
23 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
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
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
348 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
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 ...
0
votes
1answer
93 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
318 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, "...
0
votes
1answer
659 views

Lower framerate without re-encode

I'm looking for a way to lower the framerate of an H264 mp4 video without re-encoding the video. Example: I have a 30 FPS input file and I need it to be 5 FPS. I want to avoid re-encoding because of ...
1
vote
1answer
1k views

How to extract frames and saving frame type to filenames with ffmpeg?

I have a research project where I need to apply very, very computationally heavy image filters on a h264 video. Due some restrictions outside my control I have to use proprietary filter that works ...
1
vote
0answers
247 views

1080p videos encoded in H264 are not playing in Safari

I'm doing HTTP live streaming of 1080p video encoded in H264 with Main profile level 4.1. However Safari is unable to play the video. I can only hear the audio. The streaming is working fine with ...
2
votes
0answers
717 views

gain the highest quality with H264 at a certain bit rate

I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): ffmpeg -y -i Edited\ Clips/arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264 -x264opts '...
0
votes
0answers
701 views

H264 Remove Encoding Settings - Error FFMPEG

" Removing MP4 encoding information " I have tried the formula of interpretation but I have compared it with such an error. " Unknown bitstream filter h264_changesps " What am I supposed to do?
3
votes
1answer
437 views

.mkv file not playing in HEVC/H.265 supported player

I wanted to play UHD (4k) videos in my new LeTV (Super3 X55). So I used youtube-dl to download 4k YouTube videos (which are humongous btw) but for some reason most of them do not play. The TV's ...
0
votes
0answers
648 views

FFmpeg transcoding libx264 set only one P-frame

I transcoding mpeg2 data to h264 via libx264 codec and need to create the following GOP structure: I(IDR) P I P I try to perform it with the following command: ffmpeg -i INPUT -vcodec libx264 -...
0
votes
1answer
449 views

FFmpeg transcoding GOP pattern IP

I need to transcode mpeg2 video via H264 codec and GOP structure should be IP. I use the following command for this: ffmpeg -i INPUT -vcodec libx264 -x264-params keyint=2:scenecut=-1:ref=1 -...
0
votes
1answer
357 views

Can duplicate frames from an h264 stream be dropped without encoding?

I have a file which from progressive 24fps was rendered into a h264 high profile 60fps file by mistake. This can be clearly seen advancing frame by frame because every other frame is duplicated except ...
3
votes
1answer
786 views

H.264 produced by ffmpeg from images has no duration

I have a sequence of PNG files (3D renders) that I want to encode as an H.264 video @ 30fps. I'm using the following command (I happen to be compositing a background under the renders): ffmpeg -loop ...
0
votes
2answers
459 views

How h265 settings / presets affects the target device cpu while decoding and how can I tweak them?

h265 is a very powerful but still not widely supported codec, recently I found myself in the need of prepare some h265 videos and have them played on various smartphones. While a powerful desktop pc ...