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
0answers
31 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 ...
1
vote
1answer
90 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 ...
0
votes
1answer
70 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
150 views

Transcode h265 to h264 “on the fly” for software NVR

I wonder if anyone has experience with transcoding h265+ to h264 in real-time? I'm having an IP-cam that only outputs h265 that I would like to use for surveillance purposes. The camera is the latest-...
0
votes
1answer
46 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 -...
0
votes
0answers
40 views

ffmpeg fail decoding action cam h264 files (Campark x30) - every resolution and framerate

Playing back recorded files in VLC under Windows is perfect, same file with VLC in Linux (Ubuntu 20.04 64-bit) is unusable. Checking with ffplay -i ANMR0016.mp4 got this warnings: libavutil 56. ...
0
votes
1answer
76 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=...
1
vote
0answers
58 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 ...
2
votes
1answer
495 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 ...
1
vote
0answers
63 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 ...
1
vote
0answers
218 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 ...
0
votes
1answer
83 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 ...
0
votes
0answers
132 views

ffmpeg fix timestamp issues and video stutter

I uploaded snippets from an 1080p h264 live stream to Youtube and noticed video stuttering on the uploaded video. I remembered that Youtube is likely using ffmpeg to transcode videos. So playing ...
0
votes
1answer
47 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 ...
0
votes
0answers
29 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
160 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 <...
0
votes
0answers
71 views

Can vlc on MacOs read a h264 file from stdin?

MacOS, trying to get vlc to read from stdin. It’s an h264 file which I believe is streamable. ( I have streamed it to another program. ) "vlc file.h264" works. "cat file.h264 | vlc -“ ...
-1
votes
1answer
392 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 ...
1
vote
1answer
214 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 ...
0
votes
0answers
143 views

muxing primary h264 into mkv or mp4

this is a long time standing problem: primary 264 streams don't have time stamps, so one gets (whatever you do) in the end an endless repeating error chain like [mp4 @ 00000204c63e2f00] Timestamps are ...
0
votes
0answers
10 views

command line convert video replicating ffprobe output

How may I compress in.mkv as close as possible to sample_out.mp4 on Linux w/ ffmpeg or other CLI utility? ffmpeg -i in.mkv ? ? ? out.mp4 ffprobe in.mkv ffprobe version n4.2.3 Copyright (c) 2007-2020 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
165 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 ...
0
votes
1answer
762 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 -...
0
votes
0answers
2k 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 ...
1
vote
1answer
5k 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 ...
2
votes
1answer
2k 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 ...
6
votes
1answer
5k 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 ...
0
votes
1answer
3k 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 ...
1
vote
2answers
482 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 ...
3
votes
2answers
2k 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 ...
0
votes
2answers
891 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....
0
votes
1answer
117 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....
0
votes
1answer
143 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....
0
votes
1answer
338 views

How to extract original images from a lossless compressed video which is composed from a sequence of images?

I am trying to compress a sequence of images using h.264 with ffmpeg. ffmpeg -f image2 -r 5 -i ori/binary%03d.jpg -vcodec libx264 -preset veryslow a.mp4 ffmpeg -i a.mp4 -q 2 rec/output_%03d.jpg but ...
0
votes
1answer
254 views

5k player 4k movie H264 codec isn't using hardware acceleration on GTX970 GPU

The machine I am using: OS Windows 10, 6Gb Ram, NVidia 970GTX and AMD FX6300 CPU, the media player is the latest 5k player display is 4k TV and I am trying out 4k movies, but they lag really badly. I ...
1
vote
2answers
5k views

Checking for GPU and H264 hardware decoding support

I want to run on a backend server a program that decodes video, applies filters on it using OpenGL and then encodes the video to a new file using h.264. In order to verify that the process is as fast ...
3
votes
1answer
1k views

Using ffmpeg to add presentation timestamp

I'm trying to add presentation timestamp given a known frame rate. While this does work it does seem to be deprecated. I'm running the command: ffmpeg -r 24 -i input.h264 -codec copy output.mp4 The ...
0
votes
0answers
143 views

How to extract an elementary video stream from Avigilon .ave container?

I would like to figure out how to extract a H.264 video stream from an Avigilon .ave custom container. Unlike with here where they are using ffmpeg to extract the elementary video stream, when I try ...
0
votes
1answer
77 views

Are JPEG snapshots of H.264 / MP4 videos lossless?

I have noticed that some apps (namely Firefox and, in default configuration, mpv) save snapshots of MP4 videos in JPEG format. Is this because individual frames can be losslessly extracted as JPEGs or ...
0
votes
0answers
81 views

Problems capturing desktop video encoded by h264 with ffmpeg

I cannot get ffmpeg to capture a video of X11 desktop, encoded by h264. I can capture the desktop without specifying an encoder, with ffmpeg -y -f x11grab -s wuxga -r 5 -i :1 output.avi -loglevel ...
1
vote
1answer
544 views

ffmpeg save images with frame type

I'm trying to get the frames of a video file as images, together with tags that if the frame is a I, P or B frame. I know that ffmpeg can output only a specific type of frame using select For I-...
1
vote
0answers
208 views

Inserting SPS NAL Units into h.264 stream

I'm currently using FFmpeg to convert a Youtube livestream HLS into a H.264 UDP stream. For it to work correctly with the device I'm using, the stream needs to have SPS NAL units inserted every so ...
1
vote
0answers
455 views

Nvidia hardware H.264 decoder (nvdec with Gstreamer) is crashing

I have created an Azure virtual machine Nc6s_v3 which provide Nvidia V100 GPU card. I have set up the drivers following the instructions here https://docs.microsoft.com/en-us/azure/virtual-machines/...
1
vote
1answer
3k views

ffmpeg not working using h264_vaapi

I'm trying to transcode a video using ffmpeg with hardware acceleration using the following command: sudo ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi \ -vaapi_device /dev/dri/renderD128 -i ...
1
vote
1answer
145 views

Debugging H264 video issues in Firefox

I have a video stream encoded in H264 video format. The video stream is sent using RTP to the Kurento relay server. From Kurento it is sent to the browser using WebRTC. I adjusted the Kurento ...
-1
votes
1answer
143 views

Generate mpeg 4 file with specific format with h.264 codec

I need a specific format in my .mp4 video file: 1. Only I and P frames 2. Each P frame based on only the previous (temporally) I frame 3. An I frame every second or so Is it possible to generate ...

1
2 3 4 5 6