Questions tagged [h.264]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Video coding : H264 is transcoded to H265. Result looks sharper despite lower bit rate. What is most likely explanation?

Video coding : H264 is transcoded to H265 using "slow" preset. When playing the video files (using VLC), the result looks sharper despite lower bit rate (10 Mb/s --> ca 1.5 Mb/s) and ...
0
votes
0answers
10 views

IndigoVision VMF File Format

We use IndigoVision NVR software to record the footage from out CCTV cameras where I work, and the client program kinda sucks and for whatever reason playback on some cameras is broken - even though ...
0
votes
1answer
26 views

ffmpeg - Slow down video and loop/repeat audio

I am trying to use ffmpeg to slow down a video speed by 25% (75% speed) without changing the audio speed. ffmpeg -i input_video.mkv -filter:v "setpts=1.3*PTS" "SlowVideo25.mp4" On ...
1
vote
1answer
24 views

Video artifact removal and restoration - How can it be done? (Really?)

I have been researching this for the past couple of days, and all I could find on the subject were a bunch of research papers, a demonstration video of a model that isn't publicly available, and a ...
0
votes
0answers
59 views

FFMPEG: Convert WebM VP8/VP9 multi-resolution video to MP4 (H.264)

I have been trying to convert a multi-resolution WebM video ( VP9/VP8/H.264 ) (1280 x 1080 till the half, thereafter 1080 x 1280) to MP4 container with H.264 encoding for video. When transcoded with ...
0
votes
1answer
15 views

Do modern devices support decoding 4:4:4 pixel formats?

I am recording and distributing relatively low motion screen content (not games). Using h264, fine text often appears very blurry due to the poor subsampling with 4:2:0 and 4:2:2 pixel formats. With 4:...
2
votes
1answer
34 views

Can ffmpeg calculate a new starting keyframe when being asked to split/copy on a non-keyframe?

I understand from a question here that keyframes can (and do) occur anywhere in an h.264 stream, so I'm wondering why most of the advice I see where users want to cut on a specific time or frame (that ...
0
votes
1answer
68 views

How to H.265 to H.264 without losing quality

I have a MPEG-H Part2/HVEC (H.265) .mkv file (Planar 4:2:0 YUV 10-bit LE). Since my LG PF 1500 beamer does not read H.265 but H.264 I would like to convert it (HVEC -> H.264). I think handbrake is a ...
0
votes
0answers
32 views

How do I get Windows Media Player and other tools that depend on system codecs to play this video file?

I have a video file that plays fine in VLC, but only shows 100% black frames in Windows Media Player, and in other applications that depend on system codecs (for example in MATLAB, which is where I ...
0
votes
0answers
7 views

Reducing pixel dimensions and frame rate does not reduce video size (Adobe Media Encoder)

I have created a video using After Effects which is about three minutes long and has a size of 86MB after exporting as h264. This seems quite an appropriate size for a good quality video to me. ...
0
votes
1answer
31 views

Edit small portion of a compressed video without losing quality

I have a one hour h264-encoded video. The unedited footage can't be found. My goal is to edit a small portion of it. The scenario looks like this. I have to blur out some persons appearing let's say: ...
0
votes
1answer
27 views

ffmpeg with h264 produces smaller file sizes for veryfast preset

I am experimenting with ffmpeg and x264 codec. And I have found some unexpected behaviour. I am encoding video with parameters CRF 23, high profile and changing preset. Documentation says: for ...
0
votes
0answers
45 views

What does “top coded first (swapped)” mean in ffmpeg output?

I am attempting to convert a 1080i top first H.264 video to another with interlacing maintained. But when I look at the output, after setting these flags: -top 1 -flags +ildct+ilme -x264-params ...
0
votes
0answers
16 views

Bitrate to export H.264 for same quality as AVCHD source video

I'm editing an AVCHD video in Premiere Pro (cutting and replacing audio) and when exporting I can't select the same codec (I understood that) so I export to H.264 (which is recommended all-over the ...
0
votes
0answers
7 views

unknown H264 color space error

I have been working on a streaming platform. I am receiving a RTSP stream, converting it to H264 via JCodec in Java Spring and sending the result via Websockets to my React App that uses JMuxer for ...
3
votes
2answers
728 views

Producing small H.264 files with Adobe Media Encoder vs ffmpeg/libx264

I am a terrible ignoramus in the subject, but the coronavirus has thrown me in the business of producing videos with my lectures. I care a bit for video quality and a bit more for small size. My ...
0
votes
0answers
87 views

How to configure B-frames (with no leading P-frames) in x265

I have been rolling around with my studies in x265 encoder for days by following this online x265 docs and this article. But I cannot figure out how to set the x265 encoder to code only I- and B-...
0
votes
1answer
837 views

Is there a way to improve h264_nvenc output quality?

I'm compressing some videos for archiving, and I came to this configuration which gives me a nice overall quality on a small size: ffmpeg -threads 4 -y -hide_banner -i input.mp4 -vf scale=-2:480 -c:v ...
0
votes
0answers
30 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
684 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 ...
0
votes
0answers
84 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, ...
0
votes
0answers
365 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 ...
1
vote
0answers
33 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
43 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
348 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/...
0
votes
0answers
20 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
76 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
114 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
31 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
66 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
187 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 ...
0
votes
1answer
98 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 ...
2
votes
0answers
64 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
3k 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
1answer
722 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
1k 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, ...
0
votes
1answer
212 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
2answers
710 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'...
1
vote
1answer
41 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
100 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
495 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
466 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
635 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
147 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
344 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
88 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
1k 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
3k 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 ...
1
vote
3answers
3k 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 ...
1
vote
0answers
838 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 ...