Questions tagged [ffmpeg]

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

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

Best intra-frame codec for editing? Having color issues with DNxHR and serious sync issues with Prores

I have a couple of questions regarding intra-frame codecs for editing purposes (in Premiere Pro). A LITTLE CONTEXT: I ripped a HDR movie to a MP4 container some months ago, using H.264 as codec (...
0
votes
1answer
12 views

Shooting short clips vs. cutting long clips

Say I want to create several short clips with the original encoding of a certain camera. Do I have to shoot the short clips directly or can I shoot a long clip and then cut it up using ffmpeg with the ...
0
votes
1answer
14 views

FFMPEG Convert video from while adding left/right bars with a specific color

I've gotten a bit stuck on a manipulation that I am trying to do. I have a 1920×1080 video. I'd like to resize it to 1920×886, while keeping its aspect ratio, so it should add bars to the left and ...
1
vote
0answers
15 views

Streaming 720p @ 30fps over 5G wifi to multicast with FFMpeg has terribly bad quality

I am trying to stream my Intel RealSense D435 RGB camera input to a multicast address on my network. Please note, video streaming, encoding, is very new to me - I do not understand much, when ...
0
votes
0answers
14 views

FFMPEG greyedge filter randomly produces black frames

I needed to correct video illumination and found an awesome filter called greyedge. The problem is that when applying this filter to my videos it often produces black frames. So I've made a test to ...
1
vote
1answer
27 views

How do the super resolution filters in FFmpeg work?

I need to incorporate a small amount of 1080p HD shots in a 2160p 4K composition. I'm not impressed by default upscaling techniques like lanczos/bicubic/trilinear; it seems like my television does a ...
0
votes
0answers
12 views

Online VPS or Dedicated, Seedbox Video Encoding Help

I have a few questions. When I was younger I use to encode lots of old Animes for fansub teams and do Karaokes on my PC. My PC is currently out dated and do not have the space nor the power to do my ...
0
votes
1answer
28 views

Images to video using FFMPEG

I am writing as follows for a sequence of images like image1.png, image2.png, image3.png … image1234.png. My code for that is: ffmpeg -framerate5 -start number 1 -i ".\Image%4d.png" -pix_fmt yuv420p ...
0
votes
0answers
17 views

I wanna speed things up while concatenating many media files

I want to concatenate many files using concat demuxer. Problem is a portion of those files have different tbn from the others. So, I followed an answer by @sr9yar at:https://stackoverflow.com/...
0
votes
0answers
45 views

ffmpeg dynamic filter values from piped input

I need to run an audio filter on a piped input using its own lufs value as a variable, without writing to disk. I previously bounced the piped input to processedaudio.wav and the command works as: ...
0
votes
0answers
8 views

Capturing data stream of a JS / Leaflet animation as MP4

How can I capture the datastream of a JS / Leaflet animation and download it to MP4? I am looking for output that looks something like the smooth path traced in these demos: Leaflet.Polyline....
1
vote
1answer
39 views

Fix distorted mp4 files

In our university sometimes the recordings of videos are very distorted. Example frame (please ignore the red bar it's just there for privacy reasons): I know that basically I would need to move ...
0
votes
0answers
30 views

FFMPEG - Adding audio stream to existing MKV file (which includes an audio stream already) - Coming out squeaky

I am trying to add an additional audio steam (MP3) to an existing MKV file which currently contains a video and single audio stream, such that the output will have the video, and two alternative audio ...
0
votes
1answer
41 views

How can you use ffmpeg's afftdn -sn flag to sample noise from a reference noise file?

The FFmpeg documentation for the afftdn audio filter says for the -sn flag: sample_noise, sn Start or stop measuring noise profile. Syntax for the command is : "start" or "stop" string. After ...
0
votes
0answers
14 views

Convert to AAC audio unless it's already AAC with ffmpeg?

Is there a way to tell ffmpeg to copy to acc if the source is aac, but convert everything else to aac?
1
vote
1answer
21 views

Interpreting pts_time in FFmpeg

I have been learning ffmepg for a couple of days. I'm struggling to understand how pts or dts works. This is the command I entered ffprobe -show_entries packet -read_intervals 10%+#3 Input ...
0
votes
1answer
31 views

How to tell ffmpeg to copy all streams except one audio stream (to encode)?

Input: * One Video * 4 audio streams * Many subtitles * Chapters I want to re-encode one of the audio streams (the first one) and keep everything else as-of (copy). Is it possible to do that in ...
1
vote
0answers
44 views

How to merge videos with FFmpeg with smooth transitions

Sorry if my question is dumb, but I'm new to FFmpeg. I have some videos. They all have the same video codec, resolution and framerate. Audio streams also have the same format. For example, MP4 files, ...
0
votes
0answers
7 views

How can I mute part of a video clip with fading (fading out before fading in the audio stream)

I want to remove part of audio in a video clip. I have used https://stackoverflow.com/questions/54992785/ffmpeg-remove-a-part-of-audio-in-mp4-file-but-not-all to mute audio between t=5.5 seconds and t=...
1
vote
0answers
17 views

Hardware Acceleration Compression (ffmpeg H264 .mov files)

I'm looking for a (preferably hardware) solution for quickly compressing ffmpeg H264 .mov files. The setup I have has several Edgertronic cameras that are controlled through an API (start, stop, ...
2
votes
1answer
23 views

Is it possible to use ffmpeg to move part of the video to another position and crop the video at the same time?

I have a video file let's say it's the following one. What I want is the following operations: Copy the part in the red rectangle to the bottom-right corner for the whole video. Remove the left red ...
0
votes
1answer
58 views

Concatenate multiple files using FFmpeg

I started to learn FFmpeg syntax a couple of days ago. I'm trying to read the official docs, it's not easy. So I want to build up a video files which consists of different videos, and audios. Let's ...
0
votes
0answers
19 views

Bandwidth limit for FFmpeg

Currently, using FFmpeg to push a live TV stream to TVHeadend. The stream is currently in 1080p. Is there a way to get FFmpeg to convert it to 720p for TVHeadend?
0
votes
0answers
10 views

-c copy gives silence at the beginning when using -ss

I'm using the following command ffmpeg.exe -ss XX:XX -t XX:XX -i original.mp4 -c copy clip.mp4 to cut a piece of a video but it gives a little bit of silence at the beginning. Audio is synced but it ...
0
votes
0answers
7 views

Audio out of sync when import file cut by ffmpeg with -c copy

I have a lot of clips made with ffmpeg using this command: ffmpeg.exe -ss XX:XX -t XX:XX -i original.mp4 -c copy clip.mp4. That copy option gives a couple seconds of silence in a result clip, but ...
0
votes
1answer
27 views

FFmpeg add logo watermark to live stream

I am trying to execute this commands in FFmpeg and it is working. Now I want to add logo to this live stream. How to do that? find "/video path" -name "*.mp4" | xargs -I $ "/ffmpeg path" -y -re -i $ -...
1
vote
2answers
26 views

How to join these three FFmpeg instances into one command

I am transcoding one input into three different quality output, currently I am producing them by three separate commands, and I am looking to combine them in single one command using map function or ...
1
vote
0answers
26 views

Trying to convert video with FFmpeg but does not convert frames

I use FFmpeg to convert videos from the command line. For some reason I have come across a series of videos where the video stream is not converted. The first frame is the same as every other. Unique ...
0
votes
0answers
24 views

Real time H.264 streaming - sender to receiver

Trying to get H.264 to stream real time from one point to another point (i.e. single sender and single receiver). Is there an easy proof of concept to do this using ffmpeg. Tried multiple player ...
0
votes
0answers
17 views

How to extract forced subtitles of a specific language with ffmpeg?

I have a file with two subtitles of the same language. One is full and one is forced. Stream #0:3(por): Subtitle: subrip Metadata: title : Full BPS-eng : 49 ...
0
votes
0answers
21 views

How can I reduce latency in this webcam stream from OpenCV Python?

'''capture.py''' import cv, sys cap = cv.CaptureFromCAM(0) # 0 is for /dev/video0 while True : if not cv.GrabFrame(cap) : break frame = cv.RetrieveFrame(cap) sys.stdout.write( frame....
0
votes
1answer
36 views

Errors in FFmpegSource2 plugin source filter for AviSynth

I was unable to read MTS or MP4 files in AviSynth. Can AviSynth handle MTS files? pointed to the FFmpegSource2 filter, with information on the wiki. I downloaded the plugin and pointed to it from the ...
0
votes
0answers
44 views

FFMPEG fails to convert to usable x265 MP4 after reinstalling Windows/flashing BIOS

I use the following command to convert videos recorded by Nvidia ShadowPlay to x265: ffmpeg -i "%fn%.mp4" -c:v libx265 -crf 28 -c:a aac -b:a 128k "%fn%.x265.mp4" I've done this for the past year+ ...
0
votes
1answer
53 views

Variable bitrate for AAC - how to reach it?

I tried encoding audio stream into AAC with a variable bitrate mode — I followed the advice from FFmpeg VBR Settings and changed my original option -b:a 128k to -q:a 1.3 in this original command ...
2
votes
0answers
30 views

Why I can't check the bit rate on some videos?

I've downloaded a video from YouTube, well I've downloaded the video stream and the audio stream of a YouTube video separately. Then with this ffmpeg command ffmpeg -protocol_whitelist "file,http,...
0
votes
1answer
28 views

x264 Downsides of a high CRF (22) intermediary codec between conversions instead of lossless

I have a huge collection of video files that are in the range of CRF 16-20 taking up TB's of space. The only need I have for these originals is that I have to encode them from time to time but the CRF ...
0
votes
1answer
117 views

Receiving RTSP stream to ffmpeg

I must be doing something obviously wrong but cannot see it. The set up is a hardware video encoder providing multiple streams. A similar video decoder receives the RTSP stream as does VLC. So does ...
0
votes
2answers
37 views

Efficient decoding of 10-bit 4k h264 from GH5S?

On my Intel 4770k (bought back in 2014) I can only decode GH5S's 4k 10-bit video at about 30fps with CPU maxing out. This is both when manually using ffmpeg and when using Handbrake. ffmpeg, Handbrake ...
0
votes
0answers
36 views

How to decrypt video using ffmpeg?

I've managed to encrypt my video files using the ffmpeg command below however I can't find a way to save the decrypted output. ffmpeg -i {file} -encryption_scheme cenc-aes-ctr -encryption_key {key} -...
0
votes
1answer
47 views

How to split,reverse and concatenate video using single command in FFMPEG?

i want to create reverse video with audio and remov from large clip.for that first split video in segment then reverse splits video then concatenate all reverse video as single video file but it take ...
1
vote
0answers
42 views

FFmpeg concat results in DTS out of order

Following https://stackoverflow.com/questions/31691943/ffmpeg-concat-poduces-dts-out-of-order-errors I tried to concat 4 clips made by geforce experience in-game features, it resulted in DTS out of ...
3
votes
1answer
29 views

ffmpeg output file includes two video sequences but input file only one

I want to copy from the source mkv-file the video stream (only once) and the German audio stream and all subtitles if available. The Problem is that sometimes is the video stream copied twice in the ...
0
votes
1answer
36 views

FFmpeg convert to HD video format that Adobe Premiere Pro will not crash on?

My problem is somewhat similar to others asked on the site in recent years, but none of those solutions were quite right for my problem: I have a series of frames from a video recorded at roughly 30 ...
0
votes
1answer
137 views

How to concatenate multiple videos while maintaining original aspect ratio?

Is it possible to concatenate many videos with different aspect ratio? So in the end every video segment maintains the original aspect ratio. I've tried the following FFmpeg command: ffmpeg -i 1.mp4 ...
0
votes
1answer
12 views

When using ffmpeg to encode an MP4 for general consumption, should I set the profile and IDC level? (-profile:v and -level:v)

Should I bother setting them at all? Basically, what is the guidance on setting these properties? The specific ffmpeg flags I'm referring to are -level:v and -profile:v. The video is intended for ...
0
votes
0answers
22 views

How to log duplicated frames using FFmpeg?

I'm trying to solve an issue. I've recorder using an Atomos the Ultra HD 60p HDMI output from Chromecast with some Google Stadia Games. Now I have some proRes file @60 fps, but the games are not of ...
0
votes
1answer
43 views

FFmpeg raspberry pi OMX hardware encoder with inline_headers enabled = Increasing latency over the time

I managed to enable inline header on the OMX H.264 hardware encoder. inline header(SPS/PPS) are mandatory to play an already launched stream. https://github.com/Serveurperso/FFmpeg/commit/...
1
vote
0answers
41 views

MPD Download Problem [closed]

im triying download this: https://s3-dub-2.cf.dash.row.aiv-cdn.net/dm/2$0BUF7K2VT3IU0_lgY5I8MtbEnr0~/4a41/40a4/cba9/491e-8631-097e38e63dc5/b61f4b90-54ed-4b6e-8dc9-816b4cc58eab_corrected.mpd?encoding=...
0
votes
1answer
39 views

ffmpeg blend mode multiply results in green overlay

i'm trying to overlap two video clips using FFMpeg. I'm using the following command: ffmpeg -i a.mp4 -i b.mp4 -filter_complex "blend=all_mode='multiply'" c.mp4 I was expecting to get something like ...
0
votes
0answers
19 views

Ffmpeg Multiple Crop

How can I make crop in and out from 3 to 3 seconds to a video. for Exemple: The First 3 sec Of the video to be original, The next 3 sec of the video to be CROP crop=iw-684:ih-516,scale=1280:720 The ...