avformat: bump version for enhanced flv
avformat: bump version for enhanced flv [DH] Changelog[DH] libavformat/version.h
View Articleavformat/iamf_writer: ensure the stream groups are not empty
avformat/iamf_writer: ensure the stream groups are not empty Signed-off-by: James Almer [DH] libavformat/iamf_writer.c
View ArticlePlaying RTP stream on Android 4.1.2 (Jelly Bean)
I'll try to keep it quick. Using FFMPEG I started a stream on my PC. Here is the code: import subprocess def start_stream(): command = [ 'ffmpeg', '-f', 'gdigrab', # Desktop capture (Windows)...
View ArticleOverlay multiple images on one base image using FFMPEG
I have command to overlay 2 images , and its working fine, "-y -i \(image1) -i \(image2) -filter_complex [0][1]overlay=(W-w)/2:(H-h)/2 \(out)" I wish to add multiple images for example: we have four...
View ArticleWhy is my .mp4 file created using cv2.VideoWriter not syncing up with the...
The aim of the script is to take text from a text file and put it onto a stock video with an ai reading the text. Similar to those reddit stories on social media with parkour minecraft in the...
View ArticleWhat does the left_block_options array represent in the fill_decode_neighbors...
I am studying the source code of FFmpeg, specifically the fill_decode_neighbors function. I am trying to understand how the decoding process works, especially the usage of the left_block_options array....
View ArticleHow to use AMD hardware acceleration VAAPI when using ffmpeg in qtcreator?...
ffmpeg version:4.2.2 env:QT creator I passed this command in terminal: ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf format=yuv420p,hwupload -c:v h264_vaapi -b:v 1000k...
View ArticleError in Splitting Educational Videos into Segments Using Python (ffmpeg issue)
I created a Python project to split long educational videos into smaller segments, each focused on a single question. The program uses OCR to detect text on video frames, identifies the word...
View ArticleHow to transmit videos directly from the website to RTMP server instead of...
I had a server to receive a specific RTMP video like RTMP: //domain.com/show and use OBS to record videos, what I have to do to be able to record videos on my own website and transmit it. . Access RTMP...
View ArticleAdd SRT subtitle to video with ffmpeg [closed]
I use ffmpeg to encode, and add subtitle to a video by following command $ ffmpeg -i hifi.avi -i hifi.srt -acodec libfaac -ar 48000 -ab 128k -ac 2 -vcodec libx264 -vpre ipod640 -s 480x240 -b 256k...
View ArticleCodec AVOption b (set bitrate (in bits/s)) specified for output file #0...
I am receiving this warning from ffmpeg. The job runs and all the videos seem to output correctly. I have 2 hls, 1 mp4 with overlay + A single thumbnail. The warning: Stream #1:0: Video: png, rgba(pc),...
View ArticleHow do I get video frame buffer stream from a connected GoPro camera?
I'm creating an app that can connect to a GoPro camera and I want to get the frame buffer stream from the connected GoPro camera and use it on my iOS app (by converting the buffer data into...
View ArticleSubprocess overhead vs library function?
I'm writing an application, and I want to perform hardware encoding (av1. My hardware is capable of that) of frames. I seem to have two options - either call ffmpeg as a child process, or dynamically...
View ArticleDirectX D3D11 Hardware Scaling Filter
I'm trying to implement a Hardware scaling filter (vf_scale_d3d11) using the VideoProcessBlt D3D11 DDI, and also add PIX_FMT_D3D11 support for the MediaFoundation Encoder (mfenc). Initially, there were...
View ArticleH264 - how to interpret encoded video data [closed]
I would like to know how to interpret encoded video data by H.264 codec e.g. FFmpeg's AVPacket.data. Are there any good resources about that to study? I've been looking for the Internet, but I didn't...
View Articleavfilter/buffersrc: check for valid sample rate
avfilter/buffersrc: check for valid sample rate A sample rate <= 0 is invalid. Fixes an assert in ffmpeg_enc.c that assumed a valid sample rate would be set. Fixes ticket #11385. Signed-off-by:...
View ArticleMonitoring ffmpeg two-passes encoding
I'm new in FFMPEG. According to the official guide, https://trac.ffmpeg.org/wiki/Encode/VP9 I use the following command to convert a large h.264 file: ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30...
View ArticleMOV to ACVHD conversion via Spring Boot and FFmpeg leads to file system error
I am experiencing an issue on a personal project that seeks to convert HEIC to JPG files and MOV files to AVCHD format. The HEIC to JPG conversion works, but the MOV to AVCHD does not, which is where...
View ArticleFFmpeg h264_v4l2m2m encoder changing aspect ratio from 16:9 to 1:1 with black...
When switching from libx264 to h264_v4l2m2m encoder in FFmpeg for YouTube streaming, the output video's aspect ratio changes from 16:9 to 1:1 with black bars on the sides, despite keeping the same...
View ArticleGetting the file name of downloaded video using yt-dlp
I'm intending to use yt-dlp to download a video and then cut the video down afterward using ffmpeg. But to be able to use ffmpeg I am going to have to know the name of the file that yt-dlp produces. I...
View Article