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
25 views

How can I trim an MKV video of incorrect length without re-encoding or losing any of its tracks?

I have a handful of MKV videos which claim to be a few seconds longer than they actually are. When played in VLC, they simply stop abruptly when they get to the actual end of the video. This would be ...
0
votes
1answer
48 views

Need overlay the image on video by taking the array of positions

I need to overlay the image on video by scrolling the image on video . I want to generate the video with the image in scrolling positions
0
votes
1answer
528 views

ffmpeg showing "Thread message queue blocking" error while encoding (non real time)

Hope someone can help me. I'm using ffmpeg to extract the frames from an old video as images, batch enhancing and upscaling the images, then renecoding the images together with the original audio to a ...
1
vote
1answer
306 views

(FFMPEG) Creating SD Pal Anamorphic

I'm using a shell script to automate some FFMPEG processes. The main part I'm interested in is the options following the -vf flag below: ffmpeg -loglevel verbose -y -i "${FILE}" -vcodec prores -...
1
vote
1answer
703 views

Concat files of different encodings?

I have nearly 130 files that I want to burn onto a DVD as an end result. I've gone down a bit of a rabbit hole and ended up at ffmpeg trying to combine all the files into a single giant 2 and a half ...
0
votes
1answer
1k views

Color shift FFmpeg raw RGBA images to YUV format

I have a list of raw bitmap in rgba format, captured with an openGL frameBuffer. I want to export them in a video, currently i am using the following command: ffmpeg -f rawvideo -r 30 -pix_fmt rgba -...
4
votes
3answers
8k views

FFMpeg concat demuxer corrupted output (freezed video on some concatenated parts)

I have big videos with different types of properties and trying to collect some part of these videos by ffmpeg. I use this command to cut specific parts: scale video >> scale png >> pad ...
0
votes
1answer
811 views

ffmpeg.exe ignores yadif filter when using >1 filter on the command line

I'm using Windows and batch converting some SD captures that are 544x576, I want to deinterlace them and scale them to show at the proper aspect ratio. When I use the following command: FOR /F "...
3
votes
1answer
510 views

ffmpeg tile command: ordering frames top to bottom rather than left to right

By default, the tile command builds the output one row at a time, from left to right. I would like instead for my output to be built in columns, top to bottom. That is, for a 4x4 tiling, the tile ...
1
vote
1answer
974 views

ffmpeg concat videos, some have audio some don't

I have 4 videos I am trying to string together and here is my command bin/ffmpeg.exe -f concat -safe 0 -i concat.txt out/documentary_full.MOV Here is what's in concat.txt file '/path/to/...
1
vote
1answer
959 views

Export Frames of 10 BPC Video File with ffmpeg

I have several hundred 1080p 59.94fps 10-bit-per-channel (bpc) AVC-Intra Class 100 MXF encoded video files. I would like to extract the frames of this video file and export them to disk in a 16-bit ...
1
vote
1answer
732 views

ffmpeg convert non transparent pixel to white

I'm trying to convert all non-transparent pixels of an image to white using the geq filter in ffmpeg: ffmpeg -y -i in.png -vf "format=rgba,geq='r=if(lt(alpha(X,Y),10),255):g=if(lt(alpha(X,Y),10),255):...
0
votes
1answer
461 views

Question about ffmpeg's overlay variable t

I've got an ffmpeg command that overlays a line on a video and moves it from left to right while the video plays: ffmpeg -i clip.mp4 -i line-with-transparent-white.png -filter_complex "[0:v][1:v]...
0
votes
0answers
16 views

Image becomes transparent on downscaling with ffmpeg

This is the original image of 200x200 On downscaling the image to 100x100. There is a semi transparent shadow near the lines and some pixels are not completely opaque. The command used for scaling: ...
1
vote
2answers
2k views

Convert to ProRes with ffmpeg adds unwanted contrast to footage

I'm trying to convert H.264 footage from a Panasonic EVA1 camera to Apple ProRes with ffmpeg. However no matter which setting I use, the output file has slightly more contrast than the original input ...
1
vote
1answer
677 views

How to combine so many ffmpeg filters in 1?

I dont even know if it's possible, but if anybody could help me would be really great! :) So first of all i resize my video with this command: CODE №1 ffmpeg -i input.mp4 -c:v libx264 -crf 20 -crf ...
0
votes
1answer
289 views

Where to input a log expression in FFMPEG

Im trying to use a expression from NUKE (to convert an exr sequence from its native format into AlexaLogC. Now ive got an expression from nuke which is the following x > 0.14996582 ? (pow(10,0, (x ...
0
votes
1answer
72 views

Hello ffmpeg heroes - please help me with ffmpeg/ffprobe commands to decode a video for me?

I have a sample.mp4 which is currently not playable on VLC or media player and I've checked the FFmpeg values and get the below result? Any help would be greatly appreciated.
0
votes
1answer
232 views

Add two images before a mp4 and one in the end with ffmpeg

I'm trying to make an operation using FFmpeg with just one command to leave the output as lossless as possible. My intention is to add two images, 5 seconds each, before the mp4 file, add a fade in ...
0
votes
0answers
16 views

How to mux (or reencode) files from lossless avi to mp4 or mkv using the current FFMPEG?

Exactly what it says on the title, how do you mux avi files that utilize lossless codecs such as Lagarith, Huffyuy, FFV1, etc. to mp4 using FFMPEG? Or do you need to reencode the files as opposed to ...
0
votes
2answers
3k views

Possible to stream/append images into an existing mp4?

I've been working on a service that downloads a number of images, saves them to disk, and then uses ffmpeg to create an animation (gif or mp4). This can be fairly intensive in terms of memory and CPU ...
0
votes
1answer
2k views

How to generate decryption key from m3u8 manifest? (OR) How to decrypt an excrypted MP4 using URI and IV?

I am downloading an HLS video which is AES-128 encrypted. The issue is that the downloaded video is also encrypted and hence, not viewable. The website is serving 2 M3U8 manifests: The first ...
3
votes
2answers
10k views

FFMPEG: Loop video to the length of audio

E.g. if video is 1 minute, but audio is 1 hour. Make video loop throughout for 1 hour of the audio track. I use this solution to loop image through the lenght of the audio ffmpeg -y -loop 1 -r 6 -i ...
0
votes
1answer
629 views

Fast VP9 still image encoding

I use this command to create "myFile.webm", a VP9 video with one still image : $ ffmpeg -i myOriginialPureAudioFile.opus -loop 1 -i myAudioFile_640x360.png -shortest -threads 4 -speed max -c:a copy ...
0
votes
1answer
592 views

FFMPEG - MAC OS Cannot Capture from Black Magic UltraStudio (Thunderbolt)

I have Black magic UltraStudio Express that captures SDI or HDMI and Connected to MacBook via Thunderbolt when I list devices I get the Audio but not the video : $ ffmpeg -f avfoundation -...
0
votes
1answer
11 views

FFMPEG to make Quicktime reference MOV file from ProRes MOV source

I'm trying to figure out how to use FFMPEG to make a reference MOV from a ProRes MOV source. I've found commands that will take reference file and make a rendered ProRes MOV file ffmpeg -enable_drefs ...
0
votes
0answers
11 views

Virtualdub deshaker filter text output?

As deshaker filter can't manage 360 videos, I am trying to create my own video stabilizer for my 360 videos, following a suggestion I read around: analyze a small area of the whole equirectangular ...
0
votes
1answer
28 views

FFMPEG fails on pipe to pipe video decoding

I'm trying to decode a video from raw bytes using ffmpeg -i pipe: -f rawvideo -pix_fmt bgr24 -an -sn pipe:, while the command exits with code 0, the stdout is empty and stderr contains the following ...
1
vote
1answer
572 views

HLS.js player dropping frames at discontinuities in HLS stream

I have a need to play small pieces (1 or 2 seconds) of video in various orders via HLS. Think a highlights reel from a sporting match. Several HLS players struggle with playing a stream with ...
0
votes
0answers
34 views

ffmpeg -c copy vs -copyts vs -copytb etc & similar options? What's the overlap, differences, significances, pros cons, how, why & when TO/ NOT TO use?

ffmpeg -c copy vs -copyts vs -copytb etc & similar options? What's the overlap, differences, significances, pros cons, how, why & when TO or NOT TO use? ---------------------------- I am new ...
0
votes
1answer
116 views

Is public manifest.mpd a issue?

I have a public manifest.mpd file. Is it considered a security issue? It has something called cenc:pssh value so i am bit scared if its okay to be public or not?
0
votes
4answers
240 views

Re-encoding Lossy formats with Lossless formats

I was re-encoding videos downloaded from YouTube with Lossless H.264 (using FFmpeg) because I'm experimenting with CRF=0. I found that resulting videos are much bigger (1 gigabyte) than the original ...
0
votes
0answers
13 views

Adobe Premiere Pro exported size and processing time don't look right

I'm fairly noob in video editing and Adobe Premiere, so I'm hoping this is happening because I don't know what I'm doing. The problem is that the exported file is 7x bigger than the input file, when ...
1
vote
1answer
1k views

ffmpeg overlay tranparency video loop

I'm trying to superimpose a transparent video on another video. If the original video has a longer duration than the transparent video, then the transparent video should be looped until the end of the ...
0
votes
1answer
53 views

Join video-file m4v and audio file m4a. to make a mp4?

What is best way, to join a Video-Only file, .m4v with m4a audio file, and output as mp4 Want to join them, without losing original quality, both file have same time length. any good software.etc?
1
vote
1answer
893 views

Capture a wpf window : The flickering issue

I made a simple animation (as crawl text) using C#-WPF. The animation is smooth and excellent. (in wpf window) But when I capture it by FFmpeg as video it has flickering problem. Please see sample1 ...
0
votes
1answer
113 views

Crop HD (1920x1080) video ratio from the center in ffmpeg

I have an HD video (1920x1080). I am trying to crop the video from the center so the resolution is (960x1080) and looks like a portrait video. I have tried the following command with no luck: ffmpeg -...
1
vote
1answer
35 views

FFMPEG Extract Front Centre Channel as an audio track

I have an MKV video file with 5.1 channel audio. I want to use the third channel (FC) as AAC Audio Track 1 (with language label Malayalam), the whole audio file copied as Audio Track 2 (also with ...
0
votes
0answers
10 views

List of arguments for QSV enabled ffmpeg filters such as vp_qsv?

I have a PC running Windows which is QSV capable. I've found the codec and at least one QSV filter which really speed up decoding and encoding AVC (x264) videos. But the experience is extremely ...
22
votes
2answers
31k views

Convert mp4 to webm without quality loss with ffmpeg

What is the best way to convert a mp4 file to webm without quality loss (using vp8 or vp9) with ffmpeg? If I do ffmpeg -i in.mp4 out.webm the quality is very bad. I can specify a target bitrate via -...
0
votes
0answers
16 views

ffmpeg - sweeping opacity

I have two videos of 1 minute each one. I would like to start the second video at the 50 seconds of the first one. Then I would like to decrease the opacity of the first video from 100% to 0 in the 50-...
0
votes
1answer
1k views

Error decoding timecode using ffprobe

I'm using ffprobe to get timecode from an mxf which has DF timecode but with a non DF frame rate. I'm getting the error Drop frame is only allowed with 30000/1001 or 60000/1001 FPS. I'm running ...
0
votes
0answers
28 views

is it possible to split open GOP video to smaller segments without frame dropping?

I want to split an open GOP video to smaller MP4 segments , but using Segment Muxer , 3 frames are lost. the GOP size of my video is 15 (M=3 N=15) and I use mpeg2video encoding. is it possible to ...
0
votes
1answer
527 views

FFmpeg issue with aspect ratio

I'm using the following command (in my android application) to overlay an image on top of a video: "-i", video.mp4, "-i", image.mp4, "-filter_complex", "[0:v]pad=iw:if(lte(ih\\,iw)\\,ih\\,2trunc(iw*...
2
votes
1answer
17k views

how to get vdpau hardware acceleration using ffmpeg?

I am developing a multimedia player using ffmpeg. I am trying hard to get hardware acceleration through ffmpeg using vdpau hardware accelerator. I didn't get any success so far. Below I have mentioned ...
0
votes
1answer
1k views

ffmpeg: Crop 21:9 out of 16:9 video

I've several old VOB's (self-recorded DVD's) with 21:9 content that is embedded in 16:9 videos… Width : 720 pixels Height : 576 ...
3
votes
1answer
2k views

Extract multiples images from multiples videos with ffmpeg

I have a MP4 movie filmed with a GoPRO. The GoPRO split the movie in several files (I believe because of FAT32 size limitation). What I'm trying to do is extract some specific frames of the FULL ...
0
votes
2answers
149 views

Split video or export keynote slides separately

I have a problem I am struggling for 2 days. Maybe someone can give me some light. I made a huge keynote presentation (100 slides), with videos and animations. I expected to have one small exported ...
0
votes
1answer
74 views

Which rate control algorithm best preserves quick movement?

I gathered the following rate control algorithms are commonly used when encoding modern video formats like h264, HEVC or VP9. With a constant quantizer (-qp in terms of ffmpeg) all frames are encoded ...
0
votes
1answer
53 views

how to pipe:/// through a .sh or Python script, or use some sort of setting files with FFMPEG

First post, so be kind please :) So a quick bit of history. I am using tvheadend, and the inbuilt transcoder murders my CPU, and provides average quality output (it's powered by ffmpeg), if I pipe ...

1 2 3
4
5
37