Category "ffmpeg"

Distinguish between MPEG-1 container and MPEG-2 container

I am looking at concrete ways to distinguish between files that use MPEG-1 and MPEG-2 containers as most of the resources that I find suggest that the start cod

FFMPEG Video not working on Social Media Platforms (Flutter-FFMPEG)

I am using Flutter-FFMPEG a Flutter library based on Mobile FFMPEG. I am creating a video from a list of .bmp images. The video works plays normally in devices

getting Missing opening '(' after keyword error in ffmpeg loop command

How can I run this command that runs in Linux in Windows 10 powershell for ffmpeg? for file in D:\input\*.mkv; do ffmpeg -i "$file" -map 0:v:0 -map 0:a:0 -map 0

Audio stream size is inaccurate when encode the audio

Audio stream size is inaccurate when encode the audio. basically it's coping the original file audio information. i found someone gave answer here: https://stac

How to concatenate variables and strings as a full path for the "output file" of an ffmpeg command in a bash script

I'm trying to learn to bash scripting and I tried to use variables and arguments, etc. to specify a complex output file name to a ffmpeg command as follows : fo

Invalid CFBundleSupportedPlatforms value iPhoneSimulator in (DJIWidget) FFmpeg.framework

I cannot upload my app which contains the DJI-SDK, DJIWidget(which contains FFMpeg) to Testflight after updating to Xcode 13. When I try I get: Invalid CFBundl

Wait subprocess.run until completes its task

I have created a simple method that executes a command like you do in the terminal from subprocess import PIPE, run class Command_Line(): @staticmethod

ffmpeg - how to handle video and audio URL's streams separately?

I am trying to create a zsh function that uses youtube-dl and ffmpeg to download a portion of a YouTube video. I did achieve this goal with the following functi

Should I use FFMPEG library vs CLI

In terms of performance, what is better to use, an FFMPEG library(like https://github.com/kokorin/Jaffree) or the FFMPEG command line interface?

FFmpeg package for Apple Silicon [closed]

I'm in the process of porting all of our code to Apple M1 (ARM), and some of our products use FFmpeg. Are there any library packages by FFmpeg

FFmpeg - What does non monotonically increasing dts mean?

Observations - Part - I I saw a suggestion elsewhere to run the following command to see if there's something wrong with my .mp4. ffmpeg -v error -i ~/Deskto

FFmpeg IF/ELSE statement

I am doing reencoding of lots of video files, and sometimes some of them have subtitles included, some dont. Is it possible to "ignore" -vf "subtitles=%%f:force

how to fix Non-monotonous DTS in output stream 0:1; when using ffmpeg

When I use ffmpeg to convert m3u8 to mp4, I get some warning, ffmpeg -i xx.m3u8 -c copy demo.mp4 warning is Non-monotonous DTS in output stream 0:1; previ

GPU-accelerated video processing with ffmpeg

I want to use ffmpeg to accelerate video encode and decode with an NVIDIA GPU. From NVIDIA's website: NVIDIA GPUs contain one or more hardware-based decod

How to build ffmpeg with hardware decoding support for raspberry pi? (cross compilation if possible)

Is it possible to build ffmpeg with decoding support for Raspberry Pi? I've read that mmal can do hardware accelerated decoding on the Raspberry Pi. I've tried

Is there a way to use ffmpeg for RGB to true YUV (not YCbCr) conversion?

As far as I can see in the documentation, all conversions involving YUV actually use YCbCr. There are slight differences though, and I would like to convert to

How to export Adobe Connect video?

I'm very new to all this, and learning. I followed the advice given here How can I export an Adobe Connect recording as a video? to download a video from an Ado

Best way to concatenate videos that have different resolution (generally 1080 or 720)

from command line or python would be best. and i am trying to concatenate around 15 clips of 45 seconds. preferably easy to automate with different number of vi

FFMPEG hangs (sometimes) when trying to take a photo from USB camera?

I am attempting to write a script that takes a photo every 3 seconds from camera source "1", the -pix_fmt I think is unique to my USB camera. Here is the script

Pipe and OpenCV to FFmpeg with audio streaming RTMP in Python

I'm trying to stream FFmpeg with audio. I will show my code below: Import module import subprocess as sp Create variables rtmpUrl = "rtmp://a.rtmp.youtube.com