Questions tagged [h.264]
The h.264 tag has no usage guidance.
56
questions with no upvoted or accepted answers
3
votes
0
answers
79
views
editing video (overlaying text) using AVfoundation is resulting weird behaviour in video
Whenever I move the pointer you can see video getting weird pixelation.
Complete video showing how it behaves in quicktime player: https://jmp.sh/TMaknmp
I am just applying overlay using ...
2
votes
1
answer
2k
views
In FFMPEG's H.265 encoder, which CRF value leads to "visually lossless" results?
I am trying to shrink some videos from 1920x1080 to 1280x720 and to achieve a reasonable compromise between video quality and file size. I have decided to give FFMPEG's H.265 encoder a try, and now ...
2
votes
0
answers
963
views
Copy timecode from SEI Picture Timing to MXF Timecode Stream with FFmpeg
I am receiving an HEVC encoded live stream that contains SMPTE 12-1 timecode in the SEI picture timing, as it is recommended in ITU-T Rec-H.265-202108 Annex D.3.3 Picture timing SEI message semantics....
2
votes
0
answers
462
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
1
answer
153
views
How to encode scenes with different CRF into a H.264 MP4 video with a variable frame rate?
Source Material
Having many scenes which essentially are still frames (for many seconds)
Commonly found in: Slideshows, Screen Recording or Software Mockup/Prototype
✅ This kind of source material ...
1
vote
1
answer
113
views
ffmpeg h264 to mp4 conversion from multiple files fails to preserve in-sequence resolution changes
This will be a long post, so I thank you in advance for your patience in digesting it.
Context
I have different sources that generate visual content that eventually need to be all composed into a ...
1
vote
0
answers
418
views
FFmpeg 5.0 vs 3.4 performance
I was trying to compare ffmpeg 5.0 vs version 3.4.6 in how much performance improvements I would get while transcoding a simple 720p video into a H264 video. On my laptop, I noticed around 5-10% ...
1
vote
0
answers
338
views
VLC doesn't play mp4v video converted with VLC to h264/h265
VLC reports the original video as:
Codec: MPEG-4 Video (mp4v)
Video resolution: 8192x8192
Frame rate: 7.549296
I am using the Convert / Save option to convert the video using the following profile:
...
1
vote
0
answers
344
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 ...
1
vote
1
answer
320
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 ...
1
vote
0
answers
2k
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: ...
1
vote
0
answers
1k
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
2
answers
11k
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
1
answer
4k
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
0
answers
4k
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
0
answers
227
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
...
1
vote
0
answers
357
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 ...
1
vote
0
answers
1k
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 '...
1
vote
0
answers
715
views
ffmpeg H264 mp4 and AVCHD avc1 vs HDPR?
I am running the following command to get the stream data for mp4 and AVCHD video files. My goal is to understand the differences if any between the video streams. I used a JVC camcorder for the test. ...
1
vote
0
answers
897
views
MPC-HC is altering the colors
In order to test a lossless recording system, I have to verify that the input video is exactly the same than the output video.
As a test source I have generated an ffmpeg's testsrc pattern, which is ...
1
vote
0
answers
408
views
Losing audio in re-encoding with ffmpeg
I have some DVDs I want to save MP4s from. The video files are VOB files. I can play them if I change the extension to .mp4, but I can't use the seek bar in Windows Media Player. Also, the files are ...
1
vote
0
answers
2k
views
Switching between H.264 video streams on the fly?
I have several H.264 encoded MP4 files, as well as still images. From these I want to generate a single video stream that I can broadcast. The stream will be composed of alternating still images and ...
0
votes
0
answers
6
views
Converting with ffmpeg a bunch of webinars that contains a lot of slides (still images) aside a webcam speaker/lecturer
I screen recorded a lot of webinars that now I have to compress in order to have less space occupied.
The content of this webinars are mostly persons talking like in zoom, few pixels of them in webcam ...
0
votes
0
answers
16
views
verify lossless in H.264
i've transcoded an interlaced JPEG2000 video file to H.264 using ffmpeg. following the guidelines, i constructed the following command line:
ffmpeg -hide_banner -i $input \
-vf tinterlace=0 \
...
0
votes
0
answers
13
views
Synchronize 2 IP camera RTSP Streams
So we have 2 IP camera RTSP streams that we are saving to disk. At some point we stop the recording on both streams and go back to N frames in each video.
The problem that we are facing is that the ...
0
votes
0
answers
17
views
Best mac processor for single core processing, video editing performance
I've been searching around for a way to improve my editing experience as an editor on Premiere Pro. I have a 6-core Mac Pro, with 64GB graphics, but I'm a long form documentary editor, I don't care ...
0
votes
0
answers
10
views
Which will have better quality, an H.264 encoded video with higher bitrate or an H.265 with lower bitrate?
I got a cheap action camera that allows me to choose the encoding of the video being recorded between H.264 and H.265.
When I set it to H.264, the video's bitrate is set to around 10,000+ kbps. When I ...
0
votes
1
answer
49
views
Why do different libx264 encoding presets yield different H264 profiles? For same video: Same source, same target dimension + framerate + CRF
Original Issue
ffmpeg -i macos-sreenrecording-2560x1600-h264-FPS60.mov -movflags faststart -an -c:v libx264 -crf 18 -preset veryslow 2560x1600-CR18-FPS60.mp4
Yields an MP4 with H.264 at High@L6 (aka ...
0
votes
0
answers
134
views
FFMPEG Trying to make a 8K 30 FPS MP4 video out of several hundred 8K PNG images
I have been trying to make an 8K MP4 video @ 30 FPS out of a few hundred 8K PNG images using FFMPEG since forever, but to no avail. The PNG images are serially numbered, starting from 000000 and going ...
0
votes
1
answer
49
views
What improvements can I make to my FFMPEG script?
I am trying to create an FFMPEG script for some of my emulated game captures. I normally use Virtualdub2 (formerly Virtualdubmod) to upscale and trim my game captures for YouTube. With my laptop gone ...
0
votes
0
answers
98
views
Converting MTS to MP4 gives strange artefacts
I am converting video taken with various personal cameras in .MTS format to mp4 in order to reduce the file size. I am getting some strange artefacts and I wonder what simple mistake I am making?
...
0
votes
0
answers
553
views
ffmpeg error with device when transcoding from HEVC to H.264 on GPU using NVENC and CUDA
I wanted to transcode my videos that have hevc encoding into h.264 using ffmpeg with Nvidia CUDA acceleration.
Basically I've followed the guide provided in the official documentation and read through ...
0
votes
0
answers
38
views
During h264 -> h265 conversion (single-pass), can I somehow eliminate these artifacts?
I'm trying to transcode a h264 stream to h265 for better bandwidth utilization, but I got massive artifacts on h265, which were not presented on h264:
I'm using ffmpeg to do this, on a live stream (...
0
votes
0
answers
12
views
How can I make a smaller video when it has limited unique frames?
I'm currently editing a podcast that is mainly audio with only three unique images shown on screen. However, using h264 encoding gives me a massive file, how can I leverage the limited number of ...
0
votes
0
answers
1k
views
H264 AVC codec [email protected] vs [email protected]
When I convert a video with ffmpeg, and use mediaInfo to review the metadata, I see the followings for the video codec:
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected] ...
0
votes
0
answers
73
views
Pillarboxing AVC/h.264 video with minimal re-encoding?
I have 1440x1080 AVC/h.264 video that should be displayed with a 4:3 aspect ratio (which would correspond to square pixels). I'd like to burn it to a Blu-ray disc to be playable in Blu-ray players, ...
0
votes
0
answers
265
views
ffmpeg libx264 core 157 vs core 164
For a while I have been using a build of ffmpeg from 2019:
ffmpeg version N-94150-g231d0c819f Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190621
configuration: --enable-...
0
votes
1
answer
80
views
h264 Settings for Motion Tracking & Analysis (technical photography)?
I'm trying to do "scientific" video motion analysis. Right now I'm using a Raspberry Pi camera, which records natively in h264, which then needs to be converted/wrapped as MP4.
Is h264 an ...
0
votes
1
answer
627
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 ...
0
votes
1
answer
86
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:...
0
votes
0
answers
273
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
0
answers
1k
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
1
answer
947
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
0
answers
26
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
0
answers
202
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.
...
0
votes
0
answers
575
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
1
answer
833
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
0
answers
533
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
1
answer
304
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
0
answers
2k
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 ...