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

Resize video while live streaming with ffmpeg

My server uses this command to stream a video (1280x544): ffmpeg -re -i c:\ffmpeg\This.mp4 -vcodec copy -acodec copy -movflags faststart -f mpegts tcp://192.168.1.82:1234?listen Now, I would like to ...
0
votes
0answers
3 views

ffmpeg - Make a white line look thicker

I've been actively playing around with ffmpeg for the past few days, and now I want to make an audio visualiser, just with the showwaves filter (I made it white using p2p mode, and I don't want to use ...
1
vote
1answer
502 views

change aspect ratio without stretching video ffmpeg

ffmpeg -i "a.mov" -i "b.mp4" -filter_complex "[0:v]setsar=sar=${SAR}[a]; [1:v]setsar=sar=${SAR}[b]; [a][0:a] [b][1:a] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -preset veryfast -crf 18 "...
0
votes
1answer
29 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
1
vote
1answer
180 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 -...
0
votes
0answers
6 views

FFmpeg HLS video download progress stops after some time - but still downloads data

FFmpeg starts off downloading the HLS video off the m3u8 normally, but after exactly 24 seconds it just stops seeking forward, and instead gradually raises bitrate while still downloading data. Full ...
0
votes
1answer
13 views

Final Cut output to ffmeg workflow

If I use Apple Compressor, I could just 'Send to Compressor', without first exporting a ProRes master. However I would like to use ffmpeg/x264 for better quality (at low bitrate). Do I have to ...
0
votes
1answer
2k views

ffmpeg - Building video with audio in loop

I'm building a video from 3 ( or more ) images, with some effects and with an mp3 in background; my issue is that the mp3 can be shorter than the final video ( whose length dependes from the number ...
0
votes
2answers
25 views

ffmpeg script encoding only few inputs

I'm using this to create a video from multiple sources. But, the output has only until frames/300100.PNG. What should I change to make it encode all my inputs? ffmpeg -i body.mp3 -framerate 60 -...
1
vote
1answer
307 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
147 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 -...
0
votes
0answers
43 views

Change the timecode with ffmpeg in the middle of the track?

I know you can change the timecode of a file with FFmpeg with the option –timecode. This modifies the whole timecode of the file starting from the -timecode added. Can you change the timecode with ...
0
votes
3answers
131 views

ffmpeg Does using SSD improve render times when disk usage 100%?

Disk usage while rendering with ffmpeg is hitting 100% most of the render. Cpu and ram though are only using half of what is available. Would moving components to an ssd improve the operation time? ...
0
votes
1answer
81 views

Tool to find Duplicate Video files ignoring tags

I am looking for an automated method to identify duplicated video files from my large collection of videos. I have used fslint to do this in the past, but I started fixing the EXIF tags on my videos, ...
1
vote
1answer
44 views

Record video 3MP/30 FPS for 9 days

I am a Software Engineer but my knowledge on cameras and/or codecs is very limited. I know that recording a video 9 days on 3 MP and 30 FPS would generate a huge file (probably 60 TB+). So compressing ...
0
votes
1answer
24 views

FFmpeg : Desktop Recording for YouTube

I was reading YouTube Help Recommended upload encoding settings page, and I found this command from a site Youtube recommended encoding settings for FFmpeg. ffmpeg -f gdigrab -framerate 60 -i desktop ...
0
votes
1answer
112 views

FFmpeg with OpenCL support - Ubuntu 18.04

Recently I asked about GPU acceleration in FFmpeg using AMD Radeon (AMD support for ffmpeg? Can't get my dedicated GPU to work). After many tests I see that fighting with this topic is hard, ...
0
votes
1answer
619 views

FFMPEG expand limited range to full range

I am working on a recipe to convert Avid DNxHD files which are rec.709 "legal" range (15-235 in 8bpc) to .png files which are "full" range (0-255). In looking around it seems that "colorspace" could ...
0
votes
0answers
19 views

I know they manage this by using ffmpeg but how?

https://www.youtube.com/channel/UCKzsXa3In-QkVFa4c-hxpLw/videos I'm sure they are using ffmpeg codes to pass copyright but how can manage to do that? I only realized ...
2
votes
2answers
350 views

What are some GUI that allow me to cut sections from a video without re-encode?

To illustrate: Say I want to delete the 10-11 minute point of a 20 minute video and create the new video of 19 minutes without re-encode. Same as described in the link below; think: removing ...
0
votes
2answers
27 views

Is using codecs matter if Facebook re-encode all the uploaded videos?

I usually encode with libx265 and libfdk_aac to get good quality and small file size for posting in Facebook. I use ffmpeg as follows. ffmpeg -i input.mp4 -vf -c:v libx265 -c:a libfdk_aac output.mp4 ...
0
votes
1answer
844 views

Time lapse video with motion blur

Based on some of my videos I would like to make time-lapse videos with motion blur. My inspiration is this YouTube video: Time-lapse with motion blur from video with Avidemux, AviSynth and VirtualDub ...
0
votes
2answers
1k 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 ...
1
vote
1answer
524 views

ffmpeg: Why did my capture speed drop? (can no longer capture using same command)

I've been using the following command to capture video with ffmpeg for the past two months using my Blackmagic Intensity Pro 4K capture card: ffmpeg -bm_v210 1 -rtbufsize 1500M -threads 4 -f decklink ...
1
vote
1answer
256 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
58 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 ...
13
votes
2answers
77k views

How do I set up and use ffmpeg in Windows?

I understand that ffmpeg is a powerful tool for video file conversions. I see online in many places people suggesting it for solutions or getting help in how to use it. The problem is I don't even ...
0
votes
0answers
12 views

Segmenting large video with ffmpeg results in the first video having only audio

I have a very large video file that I am trying to split into smaller chunks. As a reference, I found the following one-liner here to do the trick: https://superuser.com/questions/820747/slicing-...
0
votes
1answer
785 views

How to create MPEG-DASH variants at resolutions where one dimension is not a whole number in pixels?

I've created a bunch of variants and a DASH manifest for Sintel, which more or less works, but does not pass validation. The issue is when I want to scale a video to a specific width, but the height ...
0
votes
1answer
58 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 ...
1
vote
1answer
22 views

Some MP4s have keyframes on scene changes. Others seem to have random keyframes, or keyframes every X seconds. What causes this discrepancy?

Some MP4s have keyframes on scene changes; others have keyframes seemingly randomly placed, or placed every 5-10 seconds. I prefer the former, both for ease of editing and because, unless I'm ...
0
votes
0answers
56 views

FFmpeg 2017 vs 2019 decoding performance improvement

I was trying to do some basic profiling on ffmpeg, following my previous question here. I have a relatively high-bitrate .ts file (17mbps), and I have two versions of ffmpeg (2017.3 and 2019.4), and ...
0
votes
1answer
21 views

ffmpeg: make a video with multiple input files and formats

I am trying to make a video with multiple input files. I have a bunch of PNG files and mp4 files and I want to create a video for the duration of my audio file body.mp3 The video should be made ...
0
votes
1answer
23 views

Injecting/embedding/adding/writing metadata to a .mp4 file so it's recognised as 360

I'm working on a library that injects/embeds/writes metadata into a .mp4 file to allow the video to be displayed correctly as a 360 video. The input file is a standard .mp4 file in the equirectangular ...
0
votes
0answers
10 views

FFmpeg Using non-standard frame rate 29/1

I am trying to merge some video files that are stop-frame from gopro. The highlight error in the console is [mov,mp4,m4a,3gp,3g2,mj2 @ 0x6b96b80] Using non-standard frame rate 29/1 Output [0:v][0:a]...
1
vote
1answer
33 views

What is the difference between VP9 and ​WebM?

The ffmpeg manual states that: libvpx-vp9 is the VP9 video encoder for ​WebM, an open, royalty-free media file format. What is the difference between the VP9 and WebM?
0
votes
1answer
191 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
280 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
0answers
16 views

User private stream in MPEG stream

I have an MPEG stream (.ts file). When inspecting with DemuxToy software, PAT, it says that stream type user is private. Meanwhile, FFmpeg could not find codec parameters. What does this mean? Is it ...
0
votes
1answer
49 views

add Audio to two Video in below command

here i have one command that is working properly but i want to add audio to second and third video not only second video.So, how to proceed? fmpeg -y -i intro-17may.mp4 -i video.mp4 -i outro.mp4 -i ...
1
vote
1answer
824 views

FFMPEG slow / fast motion part a video anywhere

am trying to cut a part of Video Here is the code i have tried Let's say i have 6 seconds video and i want to slow down 2:5 seconds video that 3 second video First approach after searching is, Cut ...
1
vote
1answer
17 views

h264 (Constrained Baseline)/(h264 (native) vs h264 (libx264)

I am recording a video using OBS Studio with the following settings: With these settings, OBS is consuming 55 to 60 MB storage for a minute long recording. Considering that my recordings span across ...
0
votes
1answer
20 views

How to add timestamp of N mins between photos on a video combined from photos?

I have a set of few hundreds of photos taken every 30 minutes. I combine them into a single video. How can I put a timestamp presenting real time difference between each photo ? Right now I use ...
0
votes
1answer
14 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
11 views

Using youtube-dl: Does adaptive bitrate (ABR) affect image quality?

I'm using youtube-dl and ffmpeg to get videos/frames of videos from the web. I was told that youtube (and others) use adaptive bitrate streaming, so depending on the network conditions of the user the ...
2
votes
1answer
1k views

Problem setting first frame timecode using ffmpeg - timecode always different from requested for 59.94fps video

Edit: Found to be a small bug in FFmpeg. It should hopefully soon be patched. I'm having issues with setting the timecode for some .MXF files that I have. If I run the command: ffmpeg -i test.MXF -...
0
votes
4answers
39 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

FFMPEG padding color is gray instead of white

I found a similar thread about this issue and it says to use format=rgb24 but all of the examples are using a different format of filter. Can anyone help me figure out how to formualte this so that ...
0
votes
1answer
123 views

Highest quality convert of wav to aac to fit in mp4 container?

Edit: These should probably be merged as they both go back to the same issue now: https://sound.stackexchange.com/questions/45177/exporting-wav-as-m4a-creating-sync-issue-in-audacity So I need to ...
1
vote
1answer
464 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 ...