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
489 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
1k views

FFMPEG, Extract first frame and hold for 5 seconds

I'm trying to overlay a 15 second video transition on the beginning of an image sequence (png sequence with an alpha to reveal the image below), which I can do fine with the overlay filter. But I ...
0
votes
1answer
191 views

Loop image over audio, as AvidDV codec with ffMPEG

I have been trying to understand ffMPEG and outputting a file with the DNxHD codec. I keep getting an error [swscaler @ 0x7feec601a200] deprecated pixel format used, make sure you did set range ...
0
votes
2answers
3k views

How do I avoid objects having flickering edges when I encode a screen recording to mp4 using x264 and ffmpeg?

The Goal I'm creating short tutorials by recording my screen (720p30fps). The content is just a recording of using some desktop software - so mouse moving and opening dialogs, typing, drawing shapes, ...
0
votes
0answers
1k views

Encode or Transcode with ffmpeg and libx264 as fast as possible

I'm trying to tune out ffmpeg to squeeze as much fps as possible from my server machines with lot of cores. Sometimes expecially when there's also a scale (eg: shrinking down from 4k to full hd or ...
0
votes
1answer
45 views

How to remove a rectangular region at the centre

I want to remove a portion of the video between say coordinates (x,y) and (m,n), where (x,y) are the upper left coordinates while (m,n) are the lower right ones. Is there a ffmpeg command I could use?
0
votes
1answer
721 views

FFMPEG How to use FIFO to solve a “buffer queue overflow, dropping” error?

I got this code to append an intro and an outro to a video, along with an overlayed logo but I'm getting the error “buffer queue overflow, dropping” on Concat, I've been searching around and it's ...
0
votes
1answer
483 views

How to map streams to specific output streamIDs

I'm trying to map specific streams to specific output indexes. The command I'm using is more complex but it can be reduced to this simple example ffmpeg -i input.mkv -y -map 0:0 -c:5 copy -f mp4 out....
0
votes
2answers
5k views

Convert HLS stream to fixed FPS mp4

I am using ffmpeg to convert an HLS stream to mp4 using this command: ffmpeg -i https://example.com/xxx.m3u8 -y -vcodec copy -c copy -bsf:a aac_adtstoasc test.mp4 I only have access to this video ...
0
votes
1answer
1k views

ffmpeg - trascoding multiple streams from stdin errors out: pipe:: Invalid data found when processing input

I'm trying to transcode(below just copy) a/v streams from stdin and generate a thumbnail simultaneously. The issue that I get an error pipe:: Invalid data found when processing input. Why is that ...
0
votes
1answer
1k views

Echo duration of video in seconds without decimals

If I use ffprobe to output the duration of a video file with: ffprobe -i input.mkv -show_entries format=duration -v quiet -of csv="p=0" I will get something like 3658.342000 How can I get the ...
0
votes
2answers
2k 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
62 views

Stripping metadata sometimes doubles video, the second half of (doubled) video is without sound

I use this command for stripping metadata: ffmpeg -i input.mp4 -map_metadata -1 -c copy output.mp4 Sometimes it works fine but occasionally the result is as +----------------+----------------+ | ...
0
votes
1answer
691 views

ffmpeg scale and overlay then output yuv got corrupted video

I wanted to scale a video input (1.webm) and keeping it's aspect ratio, then overlay to make it centered, with following command: ffmpeg -y -hide_banner -i 1.webm -filter_complex "color=color=Black:...
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 ...
0
votes
1answer
772 views

ffmpeg audio sync issue when using hstack filter

I have two .webm videos which I'm trying to process into a horizontally stacked single video with one video on the left and one video on the right. The individual video files are called left.webm and ...
0
votes
0answers
351 views

Check first then enforce and match various broadcaster requests with ffmpeg

This question is a spin-off of a previous one focused mostly on Premiere Pro: How match this broadcast standards with Premiere and ffmpeg My goal in this one is learn as much as possible to handle ...
0
votes
2answers
743 views

libx264 for ffmpeg on linux

I am running ffmpeg on ubuntu. I tried to set the codec to libx264 but it was not recognised by ffmmpeg. Is there a way too install that codec for use by ffmpeg?
0
votes
0answers
278 views

Is there command line software that syncs two audio tracks

I have a bunch of separately recorded audio and video tracks that I need to sync. By sync (synch?) I mean align the two tracks so that the audio matches as closely as possible. The two tracks are ...
0
votes
1answer
1k views

Using delogo twice to mask a Video

I know that the below line will mask the video ffmpeg -i "aunt1.mp4" -vf delogo=x=4:y=0:w=120:h=22 -c:a copy au1.mp4 However I want to delogo in two sections of the video in one command. I tried ...
0
votes
1answer
360 views

My ffProbe script only seems to work with MKV files

Just learned about ffprobe yesterday, and I was able, after much googling, to assemble a command line BAT file to get the meta info I want. Then, it turns out that it only works about half the time. ...
0
votes
1answer
2k views

ffmpeg “Error while opening encoder for output stream #0:1”

Ok, this is probably a very stupid mistake on my part, but I am losing my head here. I have been using a simple command for transcoding MOV file for months now: ffmpeg -i SOURCE.mov -c:v libx264 -...
0
votes
0answers
639 views

Transcode FROM MPEG-DASH

I have an input MPEG-DASH stream and I want to transcode it. First of all, need to decode it and then route an output to FFmpeg and encode it, but not have any ideas how to decode MPEG-DASH. Please ...
0
votes
1answer
372 views

How to read frames which are separated by a specific number ? [ffmpeg]

I have around 1000 frames in *.png format, which are named like frame-0.png, frame-1.png, frame-2.png and so on. I read them and generate a movie by following command : ffmpeg -f image2 -r 20 -i ...
0
votes
1answer
3k views

mp4 to avi/mpeg conversion

I'm trying to convert an mp4 video to play on a digital photo frame. The photo frame (Living Image Li1210) manual states: The digital photo frame can playback MPEG1, MPEG2, MPEG4, and AVI (dependant ...
0
votes
0answers
1k views

FFmpeg transcoding libx264 set only one P-frame

I transcoding mpeg2 data to h264 via libx264 codec and need to create the following GOP structure: I(IDR) P I P I try to perform it with the following command: ffmpeg -i INPUT -vcodec libx264 -...
0
votes
1answer
1k views

Multiple FFmpeg input & output

I just want to know if it's possible to encode audio & video at the same time by FFmpeg -c:a libfaac for audio & x264.exe for video. and any example!
0
votes
1answer
2k views

ffmpeg: Convert 4K 10-bit file to DNxHR 444

I have a 2160p29.97 AVI 10-bit RGB file recorded with a Blackmagic Intensity Pro 4K capture card. I want to convert this file to DNxHR 444. I used the following command to do so on Windows 10 with ...
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
2answers
57 views

Biggest possible resolution or go for common denominator?

I need to transcode 720p AVC videos to Xvid because they need to be played on a Samsung DVD player. The player can handle maximum 448 pixel high videos and automatically scales the picture up to 1080p ...
0
votes
0answers
343 views

IPTV Link loop ffmpeg

So I want to record a transport stream it's not a m3u http://flamingzebra.xyz/2728.ts I tried to record it in vlc it doesn't work The live stream is in fragments so I have to loop it. Can this be ...
0
votes
2answers
125 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
0answers
110 views

Any ffmpeg computing nodes out of there?

Sadly I don't have access to powerful workstations and it happens that I have to convert lot of videos, however I do have an high bandwidth network. Is there a free/paid computing cluster service ...
0
votes
1answer
513 views

FFmpeg - Synchronize external audio file

I'm creating some encoding templates for Multi-Bitrate streaming and I want to create a fallback that is audio-only. So when the bandwith of a users connection falls below x, it drops video playback ...
0
votes
1answer
3k views

Gstreamer 1.0 rtspsrc to rtp (audio and video)

Hi I'm currently trying to use gstreamer-1.0 to consume rtsp source and provide RTP streams for audio and video in the streams (for Janus Gateway). I have a working solution with ffmpeg so basically ...
0
votes
1answer
478 views

ffmpeg - H264 vs. H265 codec parameters?

When i try to run following command: ffmpeg -y -loglevel info -threads 0 -f lavfi -i aevalsrc=0 -framerate 60 -i image.png -start_number 000000 -apply_trc bt709 -framerate 60 -i seq1.%06d.exr -...
0
votes
1answer
911 views

ffmpeg / mencoder converting a video with correct setting

I have an avi video file that plays on my Onn-W7 player Link to avi video file that works and backup link to avi file that works. I'm trying to convert some other video files over so that they will ...
0
votes
1answer
1k views

ffmpeg - warnings when i try to merge several audio files with an .mp4 file

I'm trying to merge 8 audio (.wav) files with a video (.mp4) file. I have the following command: ffmpeg -i video.mp4 -i audio1.wav -i audio2.wav -i audio3.wav -i audio4.wav -i audio5.wav -i audio6....
0
votes
1answer
337 views

ffmpeg - map a video to a placeholder? (rectangle/square)

I have a video that i want to map to a "virtual rectangle". Meaning, i want to create a virtual rectangle by giving it one x,y point for the bottom left corner and one x,y point for the top right ...
0
votes
1answer
590 views

Transcoding vertical video to an intermediate codec

I used the Android SDK to record some steps for a tutorial video and am having some difficulty working with the footage. First of all, it's of a variable framerate and secondly it's in 1080:1920 - ...
0
votes
0answers
129 views

Heavy automatition with scripting for videos - ffmpeg?

Been here i found a lot of question involving ffmpeg and its filters, however the filters are already built-in and what you generally do is calling them with various parameters. What was wondering is ...
0
votes
1answer
123 views

Adding many sounds to a video file at specific frames

I have a video of a TAS I've created that unfortunately does not contain sound. I would like to add sound to the video before releasing it, but I obviously don't want to have to go through and place ...
0
votes
0answers
310 views

ffmpeg based JAVE video conversion taking a long time

I am using ffmpeg to convert videos to mp4 format in my application I have used JAVE and Xuggler for the same. My issue is that, video conversions are taking way too much of time. For example, a 50MB ...
0
votes
1answer
3k views

Screen capture AND audio recording in ffmpeg

I am using ffmpeg built from source at this revision in Fedora 20. I am able to record audio perfectly fine with the command: FFmpeg/ffmpeg -f alsa -ac 2 -i pulse -- output.wav However, when I try ...
0
votes
0answers
3k views

Stream a dynamic playlist to a RTMP server

My goal is to stream a dynamic playlist of video to Twitch. The problem is while I stream a file, I don't know which will be the next until the end of the current one. My playlist is a very simple ...
0
votes
0answers
259 views

Where to start Transcoding with FFMPEG?

I would like to learn a lot about Transcoding video files with FFMPEG from any format to mp4 (hH264/AAC) format. We have a large repository of video files ranging from 1 MB to 2 GB of various formats ...
0
votes
1answer
476 views

FFMpeg set language as Unknown or unspecified in a QuickTime MOV

I have to transcode with FFMpeg some video with multiple audio where various audio track are not language related, just music and so on. I would like to assing as language something like Unspecified, ...
0
votes
1answer
433 views

How to loop .TS files from Folder with FFMPEG

I am using the code below as a batch file. The issue i am currently having is only one video in the folder keeps looping. How can i make all the videos play and loop? @echo off set FFMPEGDIR=E:\...
0
votes
4answers
155 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
1answer
50 views

How to deinterlace GRAY video and convert it to .avi?

I have binary data stream from analogue camera and convert it to .avi with this λ ffmpeg -f rawvideo -pix_fmt gray -s:v 700x220 -i orbita_d.bin -c:v rawvideo -pix_fmt yuv420p out.avi what do I need ...