Questions tagged [h.264]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
49 views

h264 compression keeps same number of frames?

I'm trying to understand how h.264 compression works. So far I have clear what I, P, and B frames are and how are they used. But I'm unsure of is if after this process the number of original input ...
0
votes
0answers
8 views

Mjpeg pcap example

How can achive pcap of mjpeg steram over rtp? Is there any site that contains many streaming example like : mjpeg over rtsp, h264 over rtsp, h264+ over rtsp(over tcp& over udp) ?
0
votes
0answers
13 views

Audio bitrate limited to 192 kbps when exporting an mp4 file!

I have the new Magix MEP Premium 2020, when I try to export an Mpeg 4 (mp4, h.264), the highest kbps I get for audio coding is 192 kbps AAC, in the old version of magix that I had (video deluxe 17) I ...
1
vote
0answers
53 views

Intra-frame H.264 / H.265 compared to DNxHR or Prores as intermediate codecs for editing

IMPORTANT: ISSUE SOLVED (STILL A COUPLE OF QUESTIONS, THOUGH), I POSTED SOME INFO BELOW THE ORIGINAL POST AS AN UPDATE IF SOMEONE FINDS THIS USEFUL: Quick question: what are the advantages of using ...
1
vote
2answers
1k 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
18 views

Sync issues while working with proxies (Premiere Pro 2020)

I'm editing an HDR project in Adobe Premiere Pro 2020 and I'm having issues with preserving the HDR data while transcoding, but that's an issue for another post. The thing is that I edit with proxies, ...
1
vote
1answer
2k 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 ...
0
votes
0answers
64 views

FFmpeg: DNxHR 444 10 bits transcoding issue (HDR project). SMPTE2084 unsupported?

I have a couple of questions regarding intra-frame codecs for editing purposes (in Premiere Pro). UPDATE (01/24/20). More details of the original issue after this: I seem to have encountered a dead ...
0
votes
1answer
93 views

FFmpeg raspberry pi OMX hardware encoder with inline_headers enabled = Increasing latency over the time

I managed to enable inline header on the OMX H.264 hardware encoder. inline header(SPS/PPS) are mandatory to play an already launched stream. https://github.com/Serveurperso/FFmpeg/commit/...
1
vote
0answers
21 views

Hardware Acceleration Compression (ffmpeg H264 .mov files)

I'm looking for a (preferably hardware) solution for quickly compressing ffmpeg H264 .mov files. The setup I have has several Edgertronic cameras that are controlled through an API (start, stop, ...
0
votes
0answers
30 views

Real time H.264 streaming - sender to receiver

Trying to get H.264 to stream real time from one point to another point (i.e. single sender and single receiver). Is there an easy proof of concept to do this using ffmpeg. Tried multiple player ...
0
votes
1answer
54 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 ...
1
vote
2answers
1k 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
1answer
81 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 ...
0
votes
0answers
14 views

Video not playing in mac

I use a OnePlus 6 mobile for recording videos and so far I have never transferred the video to my Macbook Pro, however, I recently copied all my videos to learn video editing. All videos play ...
0
votes
1answer
31 views

Smallest Possible Video File in H.264 Format

I am writing some unit-tests for a software that does some work with videos. To do so, I need a programmatically generated video file that is both small and legitimate in that it is actually a ...
1
vote
0answers
94 views

How to calculate video file size for H.264

I need to estimate disk usage for a media project. In order to do that I need to calculate typical file sizes for different video duration and resolution. Example: Given a video with the properties ...
0
votes
0answers
28 views

Video loss when converting MP4/h264/aac to Matroska/VP8/Vorbis/

I received a MP4 video with an h264 video stream and an aac sound stream. I want must convert it to (sic): Ogg Vorbis or Ogg Speex format for audio, and Matroska VP8 or Ogg Theora for video I ...
0
votes
0answers
27 views

No Maximum Bitrate H264 codec

I am trying to export a video with a low bitrate. Regardless of what I set as the target bitrate, the video always is exported with the highest possible bitrate. This occurs whether I use VBR or CBR. ...
1
vote
0answers
99 views

ffmpeg ProRes to MP4 Alters Colors Slightly

I cannot for the life of me figure out what is going wrong, but I have a ProRes MOV file with the following specifications: And I want to convert it to a 4:2:0 MP4 video file. Every time I attempt ...
2
votes
0answers
32 views

Efficiently compressing a looping video with h264

I have a video that is initially 19 frames long and lasts for about 0.5 seconds, it's 432kB. I've looped it over three minutes and the resulting file is quite large (200MB). Using FFMPEG is there a ...
1
vote
1answer
932 views

h264 (Constrained Baseline)/(h264 (native) vs h264 (libx264)

I am recording a video using OBS Studio with the following settings: With these settings, OBS is consuming 55 to 60 MB storage for a minute long recording. Considering that my recordings span across ...
0
votes
3answers
506 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 (...
17
votes
2answers
78k views

Fix bad files and streams with ffmpeg so VLC and other players would not crash

It happened me many times that I could end up in corrupted video files: video downloaded from official sources but with torrent and for some reason not all the pieces are there in .mkv, .ts or .mp4 ...
0
votes
1answer
221 views

What happens if you uncheck key frame distance in Premiere Pro CS6

The default is 72 which is in frames I suppose. However what happens if I simply uncheck it? Does it work like AVC Intra where key frames doesnt exist and every pixel in every frame is processed like ...
0
votes
1answer
492 views

How to 2-pass h264 with CRF and maximum bitrate with ffmpeg?

Based on CRF Guide (Constant Rate Factor in x264, x265 and libvpx), quoting: Streaming nowadays is done a little more cleverly. YouTube or Netflix are using 2-pass or even 3-pass algorithms, ...
1
vote
2answers
4k views

How to set double fps for tbc option of video

I need to set tbc option for output video. For example, input video has 25 fps with 50 tbc and my encoded video has 25fps with 25 tbc. I used settb and video_track_timescale but these options did not ...
2
votes
2answers
248 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'...
56
votes
4answers
125k views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
1
vote
1answer
30 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 ...
12
votes
1answer
11k views

ffmpeg: explicitly tag h.264 as bt.601, rather than leaving unspecified?

I want to tag video as explicitly bt.601, rather than "unspecified". I know players typically choose bt.601 as the default for videos less than 1280 pixels wide, but I want to make it explicit that ...
0
votes
0answers
83 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
58 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
263 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: ...
3
votes
1answer
212 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
2answers
616 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
359 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
69 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
210 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
0answers
681 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
408 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
134 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 ...
1
vote
0answers
365 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. -...
9
votes
3answers
38k 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 ...
0
votes
0answers
190 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 ...
3
votes
1answer
5k 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 ...
2
votes
1answer
4k views

Color shift after exporting!

I've a bunch of videos from different sources that i need to export, i'm mainly using Sorenson Squeeze 9 for videos that i just want to transcode to another format or change bitrates, and Premiere Pro ...
1
vote
1answer
31 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
4
votes
1answer
536 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 ...
-1
votes
2answers
149 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-...