Questions tagged [ffmpeg]

Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated. For help with CLI use only of ff* binaries - ffmpeg, ffprobe, ffplay. For help with API usage, post on Stack Overflow.

Filter by
Sorted by
Tagged with
1
vote
2answers
39 views

Which audio encoders in FFmpeg support 8 kHz?

I have an old video (made by a Casio Exilim EX-Z40, if it matters), whose audio stream ffprobe reports as pcm_u8, 8000 Hz, mono, u8. I would like to transcode it into something modern. Transcoding ...
0
votes
0answers
13 views

Avconv unrecognized option sseof

I try to extract the last frames of some videos with Avconv(FFmpeg): avconv -sseof -10 -i "inputfile.mp4" -vf "select='eq(n,0)'" -vframes 1 output.PNG But I get this error: unrecognized option ...
1
vote
0answers
37 views

How can I imitate the video codec of a Canon DSLR?

I have a Canon EOS Rebel SL1 (100D) with a stuck pixel in the screen that really bothers me out. I'm trying to play one of these "dead pixel fixer" videos on the camera in order to bring it to life ...
1
vote
1answer
32 views

ffmpeg two-pass video encoding on Windows

All the same, with estate of instructions on the Internet, on forums, I have this problem. ffmpeg -y -i input.mp4 -vcodec libvpx-vp9 -crf 31 -minrate 1500k -maxrate 4350k -pix_fmt yuv420p10le -...
0
votes
0answers
14 views

append new segments to the previous m3u8 file

Is it possible to append new ts segments to the end of the previous m3u8 file? In case when a conversion was in progress and has been interrupted and now we want to continue that. Thanks.
1
vote
0answers
45 views

Where to cut audio by video frame?

I want to cut the audio from frame 2928 to frame 5177 of a 23.976 fps blu-ray-movie. I have read through some articles but don't see how to do that accurate. Cutting videos at exact frames with ...
0
votes
0answers
25 views

how to add beat and bass effect in video using ffmpeg command?

i want beat effect on video and i am using ffmpeg command for beat effect i was used this below command for beat effect black and white and original color after 2 sec looping but not this work this ...
0
votes
0answers
31 views

How to extract an elementary video stream from Avigilon .ave container?

I would like to figure out how to extract a H.264 video stream from an Avigilon .ave custom container. Unlike with here where they are using ffmpeg to extract the elementary video stream, when I try ...
0
votes
1answer
30 views

ffmpeg filter to add timestamp on video

I have a problem displaying the timer on the video. I have consulted a few examples. But it does not show success. Help me fix it.enter image description here
0
votes
1answer
22 views

ffmpeg fails with error Unable to find a suitable output format for 'output'

I copied the code used to concatenate mp4 files as given here ffmpeg -f concat -safe 0 -i mylist.txt -c copy output it fails with the error [NULL @ 0x7ff620828600] Unable to find a suitable output ...
1
vote
0answers
20 views

Debian: Apache User www-data is not able to write under /dev/shm/mydirectory for writing

I am executing ffmpeg from a php script using shell_exec(). As it does not work, I have changed /etc/passwd temporarily to allow to login with Apache user (www-data). If I run the command, it shows ...
0
votes
1answer
20 views

Handmade plant timelapse, how can I modify the general frame, zoom?

I am trying to create a single timelapse with several growing plant species (when they have decided to germinate...). I have combined my pictures with the following command line (I am on xubuntu): ...
0
votes
1answer
34 views

Convert PNG frames to video with missing frames

I have a camera that records at 30 FPS. I have found that the camera drops frames sometimes. What I have are PNG files named _Color_<some_number>.png. For example, _Color_1.png to _Color_10000....
0
votes
1answer
55 views

What dost the “at” (@) symbol + port numbers in VLC stream URI means?

I found a question about this but not fully explain my question on superuser (and its link to reference has dead...) so I opened this question. I need to stream video + audio in MPEG-TS container, ...
1
vote
1answer
55 views

FFmpeg video transcoding outputs rectangle-looking bad quality pixels

I'm trying to convert a video with FFmpeg using the following command: ffmpeg -i input.AVI -vf yadif output.mp4 the original video looks like this: input the output is like this, it gets worse ...
0
votes
0answers
30 views

Ffmpeg command to convert a video or Playstation 4

Let's say I have a video (input.mp4), I would like to play that video in my PS4. Using ffmpeg how do I convert that video to be played in my PS4 using a thumbdrive? I did search and tried several ...
0
votes
1answer
41 views

FFMPEG (Synology) : Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

I'm trying to convert my avi files into mp4 so that Plex doesn't need to transcode them. I want to run it from my Synology NAS which has ffmpeg installed. When I run this command ffmpeg -i Pilot.avi ...
0
votes
1answer
33 views

FFMPEG: 10 second video from still image is not 10 seconds long when uploaded to Instagram

I'm trying to create a 10 second video from a still image and an audio clip. I'm using these clips for marketing on Instagram Stories but when Instagram finishes processing the video, it seems to only ...
0
votes
0answers
19 views

Extract frames according to audio signal in ffmpeg

I need to extract frames from a video according to the audio stream, which is a silent track with a beep (like a square wave, 10KHz I think but I'm not sure) on the frames to be extracted. What would ...
1
vote
1answer
62 views

.mp4 cant play on WMplayer. Tried to change container and work. How to bat fix?

I have some .mp4 files which are not playing in Windows Media Player. Error: Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec ...
1
vote
1answer
27 views

Set time of first chunk when convert video to hls using ffmpeg

I'm using ffmepg to convert video to hls stream. For current i can set time of each chunk by using -segment_time parameter but i want to set time of first chunk (different than other chunk). I ...
1
vote
0answers
26 views

ffplay to soundflower output device

I am trying to play multiple audio streams through Soundflower 64ch and select the right channel. The documentation is pretty well made for input devices like avfoundation but not really for output ...
0
votes
0answers
26 views

FFmpeg - out of sync audio during screen recording with both system sound and mic capture

I attempt to screen recording with sound both from system and mic. Thank to answers to this question wrote proper command, but now I have a problem with audio lag (ca. 1 second). My command: -f dshow ...
0
votes
1answer
23 views

How to slow down a video and its audio by 20% using FFMPEG or HandBrakeCLI?

I am trying to slow down a video+audio a little bit, using this FFMpeg command: ffmpeg.exe -i video.mp4 -filter_complex "[0:v]yadif,framerate=30,setpts=1.2*PTS[v];[0:a]atempo=0.8[a]" -map "[v]" -map "...
0
votes
1answer
38 views

Ffmpeg : Overlay 2 images on a video

I currently use OBS to do this and I got to wait til the video has been recorded which can take 20 - 40 min depending on the video length ... It's so long.. What I'm trying to do is this: Background ...
0
votes
1answer
17 views

how to determine noise tolerance to use it in freeze detect filter in ffmpeg

I'm trying to use freeze detect filter in ffmpeg. ffmpeg -i Trial.mp4 -vf "freezedetect=n=-60dB:d=0.5,metadata=mode=print:file=freeze.txt" -map 0:v:0 -f null - Used the above command and output says ...
0
votes
0answers
18 views

How to generate a circular alpha mask for video and over on image using FFMPEG?

I have tried below cmd for video in circle shape, but using geq process take too much of time when I run on android device, Is anyone know another way to generate circle mask over video. ffmpeg -loop ...
0
votes
1answer
18 views

How does the 'limit' parameter to the 'cropdetect' filter work in ffmpeg?

I have a number of videos that have a (nominally) black border... and I'd like to have the black border cropped off. I've used 'ffmpeg' a lot for various manipulations of videos... and I was hoping I'...
0
votes
1answer
22 views

have two ffmpeg commands which work as expected I want to combind

The first one for %%a in ("*.mp4") do ffmpeg -ss 0:06 -i "%%a" -i Logo.png -filter_complex "[0]scale=1920:-2,setsar=1[bg];[bg][1]overlay=main_w-overlay_w-40:40" -c:v libx264 -c:a copy "Logo\%%~na.mp4"...
1
vote
1answer
37 views

How can I tell if a video has a variable frame rate?

How can I tell if a video has a variable frame rate? I don't need to be able to do it programmatically, I just don't want to have to install some program that's hundreds of megabytes; for example, if ...
0
votes
0answers
25 views

How to specify a fractional framerate with ffmpeg when stitching together images?

Background: I'm trying to take an input video (which includes audio), break it into frames using cv2 (a Python library), apply some changes to the frames, and then use ffmpeg stitch them back ...
2
votes
1answer
47 views

Make PNG files into a video using FFmpeg

I have extracted all frames from an old video file, cleaned up video tape dropouts and film scratches frame by frame. I now must reassemble the PNG files into a video . I found this thread: https://...
0
votes
0answers
20 views

ffmpeg image2pipe input showing win32 IO BROKEN_PIPE C# unity3d

I am trying to create a mp4 file from live screen capture image bytes, and i get error as "System.IO.IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: D:\My_Projects\ffmpeg_test[Unknown] at ...
0
votes
0answers
29 views

How To Add Background In JPG, GIF Using FFMPEG In PHP?

I'm Working On A Video Site Project. I Have A Code For Generating Gif From Video But I want to Creat Thumbnail Same Like Youtube Here is Youtube Still Image Link [https://i.ytimg.com/vi/IcSb8XcSCWQ/0....
2
votes
1answer
29 views

Trying to stream to youtube: “default: No such process”

I'm trying to set up a YouTube stream using ffmpeg, but get this error "default: No such process". I run this command: ffmpeg -f x11grab -s 1824x984 -framerate 15 -i :0.0 -f pulse -ac 2 -i default -c:...
0
votes
0answers
10 views

FFMPEG - Create a video from an image and multiple audio files with an audio transition [duplicate]

I have one image file and multiple audio files and would like to create a video output where the audio files transition smoothly into each other. I can do 1 file and 1 audio at the moment with this: ...
1
vote
0answers
47 views

FFMPEG video doesn't work on mobile and social media

So we are creating short videos from image sequences. The videos work on computer but on mobile they don't play, on instagram we can't upload, on WhatsApp it doesn't show thumbnails. Here is our code:...
0
votes
1answer
22 views

ffmpeg Add audio (wav) to video (mp4) without reencoding video

I was just wondering how to add audio while keeping the pre-existing audio on the video intact: I have done some research and it seems there was a similar question here: Add audio to video using ...
0
votes
1answer
30 views

Ffmpeg Tee muxer not displaying video stream

I'm trying to send an rtmp stream to wowza with the tee muxer. Then I'm reading the stream from wowza in HLS. When running this command it works: ffmpeg -re -i myVideo.mp4 -c copy -f flv 'rtmp://...
0
votes
1answer
48 views

How show red colour border at edge of circle video cut out in ffmpeg?

I cut video in circle shape and overlay on image, every thing is work good but how to show red boarder at edge of circle video. ffmpeg -loop 1 -i pic1.jpg -i semple.mp4 -filter_complex \ "[1]trim=...
1
vote
1answer
29 views

Making a gif with text changing per second

I am currently trying to reproduce a gif such as this one. But the problem I am struggling with, is in order to make a gif with text overlay I would do the following command ffmpeg -ss 30 -t 3 -i ...
0
votes
0answers
16 views

Getting udp input from particular network interface

i have 2 lan port one is connected with internet and another one is connected with data ... Data has my udp data but when i want to get my udp data it hangs does not show any data ... I want to ...
1
vote
1answer
55 views

Fast way to extract images from video using FFmpeg

I'm using FFmpeg to extract images from video, 1 frame every 6 seconds: Normal command on Dos ( Windows 8 OS) > ffmpeg -i in.mkv -r 1/6 %4d.png Takes too much time as speed is very low, around ...
-2
votes
1answer
53 views

Add watermark to bottom right with spectrum

The output image should look like this below: My command is: String[] command1211 = {"-i", inputPath_audio.mp3, "-preset", "ultrafast", "-filter_complex", ...
0
votes
1answer
73 views

Why does ffmpeg.exe -version not give simple version of software? Windows 10 - 64bit

24/Sept/2019 Ok, simple right. Not for the new users out there. You type ffmpeg -version does not give you the simple version of the current ffmpeg.exe that you just downloaded off the web site. ...
0
votes
0answers
15 views

How to create circle mask on rectangle video using geq filter? [duplicate]

I tried below code it's create circle mask on rectangle video but not at centre position. ffmpeg -loop 1 -i pic1.jpg -i semple.mp4 -filter_complex \ "[1]trim=end_frame=1,geq='st(3,pow(X-(W/4),2)+pow(...
0
votes
1answer
52 views

Understanding FFMPEG Error Extracting Subtitles

I'm trying to extract some subtitles as an srt file because there are some lines I'd like to edit therein before remuxing the video. Unfortunately I'm running into an error that I really don't ...
0
votes
0answers
41 views

ffmpeg slow performance with hardware acceleration

I have an Intel i7-8086k CPU with integrated graphics and trying to use ffmpeg to decode H264 to bmp frames for further processing over a UNIX pipe. I have ffmpeg 4.1.4 installed and latest vaapi ...
0
votes
0answers
18 views

FFMPEG add chapters entierly through CLI

I've recently gotten into using ffmpeg and was wondering if there was a way of adding chapter markers entirely through the command line interface? I have had success with first writing out a metadata ...
-1
votes
1answer
103 views

FFmpeg converting by a context menu entry

I want to create a right click/context menu entry named "Convert to MP4" available to every video file (or at least MKV, if every video file isn't possible), where it would do launch FFmpeg from a set ...