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
1answer
12 views

What are the most mergeable codes? What is the best codes for intermediate videos?

I want to compose many videos from frames and mp3 files then join them together using FFMPEG. [frames+mp3] -> [Intermediate videos] -> [Joined intermediate videos] Using mp4 with aac ...
0
votes
0answers
8 views

Why does Nvenc Encoder improve decoding speed?

I am trying to improve the speed of decoding h264 frame to RGBA frame using Ffmpeg in c++. I have found a CLI command that can do that but I still do not fully understand the command to reproduce it ...
0
votes
1answer
9 views

Can ffmpeg input mp4 and convert it to m4b or m4a?

Can mp4 audio/video be converted to m4b using ffmpeg command line tool.(in vb.net) I've spent the last few days trying various query combinations to find an answer but to no avail. What I have found ...
0
votes
1answer
12 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 ...
0
votes
0answers
22 views

moov atom not found

I downloaded this video using youtube-dl's HLS downloader. The video was being HLS streamed using AES-128. Even though I could view it perfectly fine when it was being streamed in the browser, VLC ...
0
votes
0answers
6 views

Trying to concat 3 videos with 2 different audio sample rates. Error?

I recorded 3 videos in 2 different apps on my phone. The audio sample rates for 2 of the videos are in 48,000 hz and the one other at 44,100 hz and I'd like to concat the 3 together. The video in the ...
1
vote
1answer
14 views

How to re-order the .wav file channels

I need to change the order of channels in .wav file. for example if .wav file contains 16 channel like "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16" then need to change this order to "14 15 16 1 2 3 ...
0
votes
1answer
13 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?
1
vote
1answer
14 views

FFMPEG transcription from .webm to HNxHD

I'm a n00bie with video production. I installed ffmpeg. It's recognized. So I tried my first conversion. ffmpeg -i earth.webm earth.DNxHD and, then, after searching: ffmpeg -i earth.webm -f ...
1
vote
0answers
11 views

combine stream and multiple videos to live output, with transitions

Iam using ffmpeg to combine a radio stream with a video but my target is to read from a playlist file (own format) and combine multiple videos with the audio in the background. The most important ...
0
votes
0answers
9 views

Batch clipping last minutes of videos of various lengths?

Using ffmpeg or similar, how can I batch cut and save clips of the last minutes (last 10 minutes for instance) of videos varying in length? How would an example .bat file look with various lines of ...
0
votes
0answers
39 views

FFMPEG - Nero and Quicktime Format Chapters

Ok, I'm usually really good at finding the answers to my FFMPEG questions myself but I'm a bit stumped. I've got this file, an MP4, here is part of the MediaInfo: Menu 00:00:00.000 ...
0
votes
0answers
15 views

How to specify 422 8bit ProRes with ffmpeg?

I understand that if I want 444 10 bit, I use pix_fmt yuva444p10le, but what about if I want 8 bit 422? Using yuv422p does not work, and if I leave the pix_fmt field blank ffmpeg always defaults to ...
0
votes
0answers
11 views

Convert ffmpeg audio volumedetect negative dB levels to common loudness positive dB levls

I have a process sampling mean_volume levels from $ ffmpeg -af 'volumedetect' ... which outputs negative -##.## dB measurements where 0 dB is very loud and -100 dB is very quiet. I need to line those ...
0
votes
0answers
15 views

Animate a panorma picture with ffmpeg

I need to animate several panorama pictures and render each one separately as video, with tools like FFmpeg. But I don't want to just move the panorama from left to right as in the question Create a ...
0
votes
0answers
18 views

Uploaded video from IOS and Android devices can't be merged

When I try to concatenate one video from IOS and Another from Android user, the output video doesn't work. I am using this command: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output
0
votes
0answers
20 views

An FFmpeg slideshow with text, image and audio with some effects?

I have img1.png, audio1.wav and another image with some text as png too... All I want to do is to do the following: Join Audio + Picture = Video [DONE...] Add zoom filter [SOMEWHAT DONE... but I want ...
0
votes
0answers
10 views

How can I recognize the error of ffmpeg running?

When I run the FFmpeg with rtmp for YouTube, I use FFmpeg command line like this. ffmpeg -i rtmp://192.168.100.140/live/mystream -f v4l2 -codec:v h264 \ -framerate 30 -video_size 1920x1080 -...
0
votes
4answers
34 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 ...
1
vote
1answer
38 views

Prores ffmpeg questions

I am trying to understand how to use Prores Kostya with FFmpeg, and I have a few questions regarding this: I have a Panasonic G85 and Gopro Hero 7 black which I used to shoot 4k in. For 4k footage, ...
0
votes
1answer
17 views

Live Streaming IP Camera Stream to Youtube Using ffmpeg

My Objective : To Transcode mjpeg stream from ip camera to youtube using ffmpeg My Command : ffmpeg -re -f mjpeg -i "http://192.168.0.101" -c copy -movflags +faststart -vcodec libx264 -f flv "rtmp:...
0
votes
1answer
49 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*...
0
votes
1answer
19 views

ffmpeg greenscreen transparent while using color palette

I have a video that has a color I'd like to remove, and make into a transparent gif with ffmpeg. I first created a color palette using ffmpeg -i video.mp4 -filter_complex "[0:v] palettegen" palette....
0
votes
1answer
17 views

Compile FFmpeg example code

I was trying to compile an FFmpeg example code HERE that illustrates how to use filters using it's C APIs. I compiled the code (throuh a universal make). As the usage suggests, I'm doing this: ./...
-1
votes
0answers
18 views

How to create ZoomOut Animation using FFMPEG on Image display in center with padding?

i really don't know about How Zoom work in FFMPEG and below is my Command that is Only Display Image with ZoomIn in center Animation: zoompan=zoom+0.01:x=(iw-iw/zoom)/2:y=(ih-ih/zoom)/2:s=1280x720:...
1
vote
1answer
32 views

Can too many ffmpeg encodes at once cause loss of quality?

Converting ~30 files at once with ffmpeg to mp4, and it took around ~19 hours to finish. My CPU was at 100% the whole time. Is there any drawback in doing this many encodes at once, if time is not a ...
0
votes
1answer
14 views

ffmpeg and mapping against 2 target audio tracks!

Im trying to mux and encode a TS file with 2 audio tracks from a mov file. ffmpeg -loglevel verbose -i test.mov -map 0:1 -map 0:2 -acodec:0 aac -ab 160k -acodec:1 eac3 -ac 6 -ar 48000 -ab 640k -...
1
vote
1answer
90 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 ...
2
votes
0answers
22 views

FFmpeg crop (cut out) a view direction from 360° video sphere

I have a 360×180° equirectangular video. I want to cut out a part of it, to make it a “normal” video using FFmpeg. Is there something like this? For example, I have a direction vector as a ...
0
votes
0answers
85 views

Why can't my hls audio (with a single ts file) play from where I drag the playback bar?

I use such ffmpeg command to translate mp4 to hls: ffmpeg -y -i input -hls_time 3 -f hls -b:a 64k -hls_flags single_file -c:a libfdk_aac \ -profile: aac_he_v2 -hls_list_size 0 -hls_allow_cache 1 ...
0
votes
1answer
34 views

Adding date/time information on video for ffmpeg

I am using FFmpeg for live streaming with RTMP to YouTube. My ffmpeg command is like this: ffmpeg -ar 44100 -ac 2 -f alsa -i plughw:1,0 -f v4l2 -codec:v h264 -framerate 30 \ -video_size 1920x1080 -...
0
votes
0answers
19 views

Greatest Common Denominator format for ffmpeg -f concat -i mylist.txt -c copy output.mp4?

If I have a bunch of clips to merge that are the same frame rate and same dimensions, but ffmpeg barfs when I try to ffmpeg -f concat -i mylist.txt -c copy output.mp4 (or any other output format), to ...
0
votes
0answers
20 views

ffmpeg adjust video levels 0-255

I'm trying to adjust levels (like photoshop) in ffmpeg but can't seem to find an appropriate filter for this. For e.g. I'd like to change level from 10-250 for a video. Any ideas which filter can do ...
0
votes
0answers
20 views

How to add filename to drawtext in video with ffmpeg?

I want to display the file name in the video with the drawtext filter. For example, I have a file list: C:\Users\ffmpeg code\1.mp4 C:\Users\ffmpeg code\2.mp4 ... I want into video 1.mp4 add the text “...
0
votes
1answer
29 views

ffmpeg fade in from center (with scale image)

I'm trying to apply the effect fade in and zoom/scale image for X seconds. I don't have problems with fade in but how to achieve effect to scale image during X seconds when the first frame is no image ...
0
votes
0answers
17 views

More video streams in a container

Many formats (containers) have an ability to host more video streams - e. g. MP4. Is there a practical use of this advantage?
1
vote
0answers
27 views

ffmpeg Auto Level, Auto Color etc similar to YouTubes Auto-Fix

I used to use YouTube Auto-Fix which presumably auto fixed levels, color, contrast and added a bit of vibrance (it was almost always a bit high saturated which i kinda liked). I am looking for an ...
0
votes
0answers
23 views

How to use record video with ffmpeg

can someone tell me how I can record a video + audio and can I specify the fps and the resolution of the output file ? I'm very new to ffmpeg so i don't know much. Thanks.
0
votes
0answers
21 views

How to only extract frames which are similar to reference frame ffmpeg

How could I check the similarity of each frame in a video to an image I have, and then only extract those frames which are similar enough to the image. So as an example if I had a white image and ...
0
votes
0answers
13 views

FFMPEG - Merging Video with Vignette-Only-Plate?

Hello you beautiful people. I am currently figuring out how to use ffmpeg and asked myself a question. Usually, when using a vignette on a video, I would do the following: ffmpeg -i input.mp4 -vf ...
0
votes
1answer
26 views

How to merge 4 Audio and 1 Video .MXF files in to one h.264 video file on Linux using ffmpeg?

On a recent video shoot, the camera man gave us output as .MXF files. Incidentally, Audio and Video are saved in separate .mxf files. eg: 0007WA00.MXF - Audio (probe) 0007WA01.MXF - Audio (probe) ...
2
votes
2answers
34 views

FFMPEG single input file, crop to multiple streams, then overlay back into one output file?

I'm currently using a couple commands to 1- output two files with cropped regions, and 2- overlay the 2 files back into a single file. I would like to be able to merge this all into out command and ...
1
vote
1answer
22 views

Closed Captions missing when converting from mp4 to ts

This is a follow-up question from my previous question HERE. I'm trying to convert a caption-embedded .mp4 video into a .ts file, simply changing the container format. But once I convert the video, ...
0
votes
0answers
16 views

Video concatenation puts sound out of sync

I have several MOV files from a DSLR camera. I concatenate them with directions from this thread: ffmpeg -safe 0 -f concat -i files_to_combine -vcodec copy -acodec copy temp.MOV where ...
1
vote
1answer
23 views

ffmpeg add a intro photo before video

I currently have a line that makes my video have a watermark in the bottom right corner. ffmpeg -i video.mp4 -vf drawtext=text=WATERMARKTEXT:x=w-tw-10:y=h-th-10:fontfile=\\Windows\\Fonts\\Montserrat-...
0
votes
0answers
20 views

FFmpeg Throws Errors When Converting 7.1 TrueHD (Blu-ray Audio) To PCM Or FLAC

I have attempted to convert a TrueHD stream to PCM as well as FLAC. Throughout the encoding process, errors occur: "lossless check failed" and others. The same set of errors occurred when converting ...
1
vote
0answers
20 views

FFMPEG: Choosing the right win_func for showfreqs

I'm using showfreqs and various other audio viz filters to create cool spectrum visualizations for my self-released music. Going through the documentation, I see that there's a multitude of win_funcs ...
1
vote
2answers
41 views

FFMPEG: Transparent background with 'showwaves' or 'showspectrum'

I am trying to render a video spectrum of music using showwaves ... I need it to render with a transparent background (i think this is called an alpha channel?)... I tried yuva420p but it's still ...
0
votes
1answer
26 views

Errors in converting mp4 to ts with FFmpeg

I was trying to convert a caption-embedded .mp4 file into a .ts file. Only command found after some search was this which uses FFmpeg: ffmpeg -i 1559066401592889640.mp4 -c copy -bsf h264_mp4toannexb ...
0
votes
1answer
16 views

Comments in script files

Is it possible to write comments into files specified by -filter_script and -filter_complex_script?