Questions tagged [h.264]

Also known as MPEG-4/AVC, an advanced video encoding standard, widely used in Blu-ray and streaming video.

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

Video not showing up properly in WMP & VLC

Suddenly WMPlayer, VLC startet decoding video at the left top side of player. After installing K-Lite Codec Pack nothing changed Windows Media Player Apprieciate help.
user avatar
  • 1
0 votes
0 answers
6 views

Something wrong with video length, h.264 and size?

While uploading videos to my website, I noticed that when they were split into 10 distinct 10 minute videos, they add up in the order of 300mb, but if they are to be concatenated into a single render ...
user avatar
0 votes
1 answer
163 views

ffmpeg command to convert from mp4 video to .h264 raw frame with avcc format

I want to convert my mp4 video (BigBuckBunny.mp4) to BigBuckBunny.h264 file. I used the following the command in ffmpeg. ffmpeg.exe -i c:\BigBuckBunny.mp4 -c:v libx264 c:\Bunni2.h264 This command is ...
user avatar
0 votes
1 answer
54 views

How do I find what bitrate a CPU/GPU can decode?

I'm exporting videos to play locally on a dedicated player with a CPU like this. The integrated GPU supports up to 4096x2304@60Hz, I assume that's talking about uncompressed video, right? I also see ...
user avatar
  • 3
0 votes
0 answers
33 views

ffmpeg - Redownload missing fragments to fix downloaded stream

I have dowloaded an H.264 video stream using ffmpeg -i <URL> -c copy <name>.mp4 but ffmpeg reports that it has skipped some fragments. Since the stream is still online (with, I suppose, ...
user avatar
0 votes
0 answers
43 views

Losslessly reducing framerate of a 'video of a video'

I asked this yesterday but it was incorrectly closed as a dupe of question:Reduce video frame rate without dropping useful frames The difference between that question and this question is - in that ...
user avatar
0 votes
0 answers
321 views

FFmpeg: h264_qsv slower than libx264 (real-time buffer too full)

I use configuration: Windows 10 IoT, Intel Celeron N3350E (with Intel HD Graphics). Runing this line: ffmpeg -f dshow -i video="USB Video":audio="USB Digital Audio" -c:v libx264 -...
user avatar
0 votes
1 answer
507 views

FFmpeg h264_qsv: Error initializing an internal MFX session: unsupported (-3)

Im using ffmpeg build for Windows from gyan.dev: release ffmpeg-5.0-full-build with hardware-support. I need to capture a video from a USB video device, compress it and write it to a file. I am using ...
user avatar
0 votes
0 answers
92 views

Is a CRF of 1 overkill?

I am trying to save my collection of DVDs to my Mac to have in the TV app. I am using libx264 to encode from mpeg2video to h264. I want to maintain as much quality as possible and file size is not a ...
user avatar
0 votes
0 answers
174 views

Transcoding h265(3840x2160, 25fps) into h264(1280x720, 5fps) and h264(3840x2160, 25fps). RTSP in and RTSP out using qsv

So hardware: E-2224G - Intel® UHD Graphics P630 Reolink 820A 4k PoE security camera So I've setup a dockerfile to get rtsp server and all the right ffmpeg tools with intel drivers: FROM aler9/rtsp-...
user avatar
  • 101
0 votes
0 answers
216 views

H265 10 bit to H264 8 bit through NVENC looks terrible

I'm currently using FFMPEG run with Sickbeard Mp4 Automator to convert H265 video to H264 since my phone chugs hard playing H265 10 bitvideo. I set it to use NVENC and it's unnoticeable for brighter ...
user avatar
0 votes
0 answers
242 views

I need FFMPEG command to convert some video files from h.265 to h.264 with Nvidia hardware

I have a decent Nvidia graphics card, capable of h.265 and h.264 encoding and decoding in hardware (Geforce RTX 2060), running on a Ubuntu installation. I have a whole bunch of video files that I need ...
user avatar
2 votes
1 answer
883 views

How to convince ffmpeg that input is raw H264?

I have a raw H.264 video stream (which starts with hex 00 00 01 FC ..., a 3-byte start code followed by a NAL unit). ffmpeg can process it but it really doesn't want to... Let's test Let's say the ...
user avatar
  • 1,095
0 votes
0 answers
24 views

Capture RTSP/H.264

I am interested in develop a software to capture H.264/RTSP including its audio. I have seen commands or programing lines in internet of FFMPEG Libraries, but i´d like to known more about which are ...
user avatar
0 votes
1 answer
711 views

FFMPEG: “DLL amfrt64.dll failed to open” on Windows

I experienced the following issue. I'm using ffmpeg to batch resize/compress photos and videos on Windows 10. I used a version 3 and since upgraded to ver 4.4 of ffmpeg the quality of outputs dropped. ...
user avatar
  • 11
1 vote
0 answers
92 views

FFMPEG Motion Vector Block Format

I'm trying to extract motion vectors from h264 videos using ffmpeg and the AVSideData API. I'm a little confused about the format as there are some subtleties that aren't well documented, and I'm ...
user avatar
0 votes
1 answer
535 views

Range of "global_quality" value for h264_qsv encoder?

What is the range of the -global_quality setting for ffmpeg's h264_qsv encoder (4.3.2-2021-02-27-full_build-www.gyan.dev, Windows)? Ffmpeg's documentation for the encoder (archive) states: The ...
user avatar
  • 9,800
0 votes
0 answers
98 views

ffmpeg can't change number of B-frames

When streaming from a source I keep receiving frames following the same pattern: I-frame P-frame I-frame P-frame I-frame P-frame .... I tried many options and read as many questions here as I found, ...
user avatar
0 votes
1 answer
54 views

Newbie : using h264 to encode mp3 with static image higher quality?

I need to put an mp3 up on youtube and Odyssee with a static image that is shown from beginning to end. Needs to be h264 to go onto Odyssee. Works fine but the static image is of grainy low quality. ...
user avatar
0 votes
0 answers
45 views

ffmpeg libx264 is noisy

After converting video with ffmpeg to H264, my video is noisy. ffmpeg -i http://192.168.1.10:5530/bysid/106 -map 0:v:0 -map 0:a:0 -c:v libx264 -c:a mp2 out.mkv Normal: Noisy subtitle: Same result ...
user avatar
2 votes
1 answer
2k views

Are HEVC and H265 same? In FFmpeg they give different results why?

Recently I re-encoded a H264 video to HEVC using FFmpeg and Intel hevc_qsv hardware acceleration and libx265. hevc_qsv results in higher sized video and libx265 results in 50% lower sized video. I ...
user avatar
1 vote
1 answer
363 views

Remote Desktop AVC 444 Hardware Encoding with Super Ultrawide Display

As my daily driver workstation, I RDP from a Windows 10 desktop to a Windows 10 VM with a GTX 1080 passed through. I just upgraded my monitor from 3440x1440 to 5120x1440. I noticed recently that the ...
user avatar
1 vote
0 answers
25 views

How to set the GOP(group of picture) of RDP on Windows Desktop?

I found that the GOP length of RDP is 2592000 when I use gfx AVC444. I want to decrease this value. How can I decrease this value on windows? Here is h264 parse data. 0xcb 0xb2 0x13 0x92 0x98 0x73 ...
user avatar
0 votes
1 answer
143 views

ffmpeg not making the correct video size

I've been trying to join a bunch of .png files into an mp4. The .png files are all 1920x1080 but my output file is always smaller, i.e. 1920x1072. What silly mistake have I made here? ffmpeg -...
user avatar
  • 105
1 vote
1 answer
100 views

ffmpeg creates large compressed files for tiny videos?

When compressing very small videos, there seems to be a large overhead in the video container itself. Here are some examples using a single-frame 16x16-pixel all-black image: ffmpeg -f lavfi -i color=...
user avatar
  • 2,417
2 votes
0 answers
241 views

ffmpeg lags when streaming video+audio from RPi Zero W with Logitech C920

I've been trying to setup a baby monitor with a Raspberry Pi Zero and a Logitech C920 webcam. It does work with VLC (cvlc) but it lags too much and gets worse over time. So I am playing around with ...
user avatar
  • 21
3 votes
1 answer
2k views

Set keyframe interval in ffmpeg when using nvenc

OBS uses nvenc when encoding live streams. In the guide "NVIDIA NVENC OBS Guide", an advanced option is listed as: Keyframe Interval: Set to 2. Streaming platforms may limit what you can ...
user avatar
1 vote
0 answers
197 views

How to get no-reference video quality metrics (or numerical quality score) for 1080p, h264 video?

For the life of me, I can't find a suitable way to do this. I have 3 videos (all h264), which supposedly came encoded from the same source (they have the same content / offset by up to a second). I do ...
user avatar
  • 111
2 votes
0 answers
533 views

Maximum possible bitrate for HEVC videos with hardware encoding in Premiere Pro

I am trying to export a series of images as a 4K HEVC video (it is a long series) and I am using Premier Pro 2020 to do it. I found I can switch to High tier and this allows me to go over 25Mbit ...
user avatar
  • 183
0 votes
1 answer
341 views

How to convert h.264 (MP4) to Theora (FFmpeg)

How to convert h.264 to Theora using FFmpeg. I generally use all the -qscale commands etc, but the quality is hopeless anyway. The point is that the movie freezes after a few seconds and only ...
user avatar
  • 1
0 votes
1 answer
76 views

Compressing an MTS file to MP4 gives error in QuickTime

I have a long video file that I want to trim, resize, and compress with H264: ffmpeg -y -ss 1.2 -to 2:03.800 -i long.MTS -vcodec libx264 -vf scale=320:-1 -vb 500k short.mp4 The file plays in VLC and ...
user avatar
  • 1,493
0 votes
0 answers
41 views

OpenH264 isn't downloading for Firefox for WebRTC

Environment: Windows 10 IoT Enterprise 2019 LTSC - win64 Firefox ESR 78.3.1 The plugin OpenH264 isn't downloading properly, it is needed for Webex teams SDK to work. We have tried all the options ...
user avatar
3 votes
1 answer
7k views

What is the different of h264 and libx264

I notice there is argument available for --enable-encoder=h264,libx264 suppose I am converting the video looselessly Which one default ffmpeg will use? h264 or libx264? And how about the quality ...
user avatar
1 vote
1 answer
2k views

ffmpeg h.264 options to pipe into VLC for MJPEG streaming

I am trying to get VLC to recognize ffmpeg libx264 h.264 output from a stdin pipe. I have a source of raw RGB24 video (currently a file, but eventually realtime from an app) that I wish to h.264 ...
user avatar
0 votes
1 answer
340 views

Measure / Remove H.264 Video Delay

I have an IP camera that sends an H.264 video stream that is supposed to be mixed / muxed with a separate audio stream. On direct mixing ffmpeg -i <video> -i <audio> -map 0:v -map 1:a <...
user avatar
  • 135
-1 votes
1 answer
622 views

ffmpeg - losslessly compress upscaled video

I cannot seem to find a good answer to this. I have a video file, h264, 1280x720, 251.2 MB. However the video is upscaled, the actual quality is 1024x576. And not just the numbers are different, there ...
user avatar
1 vote
1 answer
485 views

Is it possible to cut an h.264 stream anywhere, without re-encoding?

Note: I'd originally erroneously referred to an h.264 stream by the more common parlance of being an MP4 file, sorry I'm aware of the usual need to start splitting an h.264 on a keyframe, so that the ...
user avatar
5 votes
2 answers
8k views

ffmpeg: How do I re-encode a video to H.264 video and AAC audio?

I'm trying to re-encode a video produced with "TechSmith Screen Capture Codec" in WinUAE to use H.264 video and AAC audio, with the latest "ffmpeg" (20200510-fc99a24) 64-bit, but when I use the ...
user avatar
  • 649
1 vote
1 answer
370 views

Why does QuickTime not play a video with CRF of 0, but is happy with 10?

I'm experimenting with video compression using ffmpeg (version 4.2.2), and used this command: ffmpeg -i old.mp4 -c:v libx264 -crf 0 -preset fast newCrf0.mp4 but the resulting video would not play on ...
user avatar
0 votes
1 answer
2k views

Transcoding 1080p h264 to h265 w/ FFmpeg - Unexpectedly Extreme Reduction In Size

I have a collection of h264 videos from a digital camera that I'm re-encoding to h265 (HEVC). The FFmpeg options I'm using are: -c:v libx265 -preset medium -x265-params crf=20:keyint=30 -c:a copy -...
user avatar
  • 181
0 votes
0 answers
4k views

ffmpeg encoding requested yuv420p but got yuvj420p

When I encode with ffmpeg on Ubuntu 18, the default encoder h264 (libx264) uses by default the pixel format yuvj420p. But https://ffmpeg.org/doxygen/trunk/pixfmt_8h_source.html says that ...
user avatar
1 vote
1 answer
13k views

H.264 video support in Chromium, missing codec?

Been using Chromium for a while, but it occurred to me that most video content does not work. YouTube does, but Vimeo does not, and most video streaming sites as well as random webpages with embedded ...
user avatar
  • 23
2 votes
1 answer
6k views

Cannot play video stream from FFMPEG to VLC

I'm trying to stream my local webcam using FFMPEG. For test purposes, I'm doing this locally and try to open the stream using VLC (3.0.8, Windows 10). This is how I stream from FFMPEG: ffmpeg -f ...
user avatar
  • 121
7 votes
1 answer
9k views

Windows 10 Remote Desktop With RemoteFX and Hardware h.264 Using Nvidia NVENC

I have Windows 10 Pro as a server and Windows 10 Pro as a client. Server has a GTX 1070 card with the latest driver and is fully NVENC capable of h.264 / AVC 444 hardware encoding. Steam streaming ...
user avatar
0 votes
1 answer
7k views

FFMPEG: Error splitting the input into NAL units / Timestamps are unset in a packet for stream 0 when changing from avi to mp4

I am trying to change the container of a video acquired from an NVR using ffmpeg, but the output video is not playable by VLC or QuickTime. The output video stays still. In detail, using the following ...
user avatar
  • 1
2 votes
2 answers
1k views

ffmpeg reducing frame rate doesn't decrease file size

My goal is to reduce the overall file size of a video without quality loss. The source video is at 30fps with keyframes every 90 frames. For our purposes we only need the video to be at 3fps and ...
user avatar
  • 121
3 votes
2 answers
3k views

How can I convert raw h264 file from IP camera to something playable on a PC?

My security camera (Victure PC730) stores short videos on the SD card if it detects any motion. The files are named xx.h264. No player (VLC, MPlayer, …) is able to play it. It seems to be a some ...
user avatar
  • 31
0 votes
2 answers
2k views

FFMpeg No such file or directory

I'm trying to convert a MP4 file to H264 using FFMPEG. Unfortunately, it get a file/directory each time "No such file or directory". I've followed the steps within this link https://video....
user avatar
0 votes
1 answer
176 views

Slideshow with ffmpeg results in stuttery, unseekable, incorrect length file

I'm using ffmpeg to show images for different durations in a video: (command taken from example on this page) ffmpeg -f concat -i input.txt -vsync vfr -pix_fmt yuv420p output.mp4 Here what input....
user avatar
0 votes
1 answer
481 views

Cannot remove audio from video in FFMPEG (-an or -map doesnt work)

the following dont work ffmpeg -i <input> -an <output>.mp4 ffmpeg -i <input> -map 0:0 -v:c copy <output> The output returns the converted video WITH the audio still included....
user avatar
  • 1

1
2 3 4 5 6