04:15
Trying to use hardware encoding with ffmpeg (version 7.0-essentials_build-www.gyan.dev) on Windows 10
Command
ffmpeg -i -v verbose -c:v h264_amf -acodec copy -y
Error
[h264_amf ⓐ 0000014dc3388580] AMF initialisation succeeded via D3D11.
[h264_amf ⓐ 0000014dc3388900] CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 36
[vost#0:0/h264_amf ⓐ 0000014dc3bf7c80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
How to resolve this (...)
04:50
I'm trying to set the minimum, maximum, and average bitrate or vbv delay for a WebM livestream in Python using FFMPEG, but it still shows "0" or "N/A". I've checked the documentation, and everything seems correct. I've also searched for solutions online, but none of them have solved my problem. Does anyone know what I might be doing wrong and how it should be done correctly?
FFMPEG Command:
ffmpeg_command = [
'ffmpeg', '-f', 'rawvideo', '-pix_fmt', 'bgr24',
'-s:v', '1920x1080', (...)
03:01
I am trying to make an audio file be exactly x second.
So far i tried using the atempo filter by doing the following calculation
Audio length / desired length = atempo.
But this is not accurate, and I am having to tweak the tempo manually to get it to an exact fit.
Are there any other solutions to get this work ? Or am I doing this incorrectly?
My original file is a wav file, and my output in an mp3
Here is a sample command
ffmpeg -i input.wav -codec:a libmp3lame -filter:a "atempo=0.9992323" -b:a 320K output.mp3
UPDATE:
I was able to (...)
00:04
I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps.
The weird thing is that when ffmpeg analyze its input stream, one profile is recognized as 1 fps as below
Input #0, rtsp, from 'rtsp://...':
Metadata:
title : Media Presentation
comment : samsung
Duration: N/A, start: 0.064144, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1 fps, 1 tbr, 90k tbn, 2 (...)