Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
11 views

Using spline36 on ffmpeg

In Avisynth you can use three spline resize filters. In FFmpeg, all I've found is there exists an spline filter, and two cryptic param0 and param1 parameters. param0, param1    ...
0
votes
0answers
9 views

ffmpeg list_devices shows dshow device (logitech c920 camera) at first, but the device eventually disappears

On Windows 7, I have a usb logitech c920 camera plugged in. It displays correctly when I run: ffmpeg -list_devices true -f dshow -i dummy I have a script that uploads a camera image every 15 ...
0
votes
0answers
21 views

FFmpeg crashes when I try to use Wget to create 30sec. videos

I'm trying to achieve the following: I have constantly streaming FFmpeg on my localhost 127.0.0.1:1234 I'm trying to use Wget to create multiple 30 sec. videos. Problems: Wget does not timeout. If ...
0
votes
1answer
14 views

How to set border color using ffmpeg deshake filter

ffmpeg using deshake filter with edge=0 setting produce green color border, how to make it black? ffmpeg -i video.mp4 -vf deshake=edge=0 video_ffmpeg_deshake.mp4
0
votes
1answer
18 views

Why does ffmpeg extracts a lot more frames than the actual?

I'm using ffmpeg to extract frames from a gif file. When I use python PIL it shows that the file has 135 frames. Even the properties window in the mac shoes the same number of frames. However, ffmpeg, ...
0
votes
0answers
5 views

Save an animation on Python [migrated]

I am trying to save a simple animation maid by a Python code using the following commands: anim = animation.FuncAnimation(fig, animate, init_func=init, frames =...
0
votes
0answers
11 views

ffmpeg, Overlay two audio track [duplicate]

I Have two audio tracks, one is vocal track and other is music track, i want to overlay these tracks, when track start there should be a 5 second delay and then vocal Track should start. for example. ...
0
votes
1answer
29 views

How can I automatically cut all silence (0dB) from mp3 without reencoding?

As I read silenceremove will reencode file. Usually I do it manually creating file like: file 'file.mp3' inpoint 0 outpoint 01:55:00.0 file 'file.mp3' inpoint 02:03:50.0 and executing this command:...
0
votes
0answers
31 views

why does quicktime x shuttle so smooth? + external control?

i'm looking for a video player, which is able to smoothly shuttle back and forth at high speeds and which also can be controlled externally (eg. by an arduino). this may sound trivial at first but ...
-1
votes
0answers
19 views

bash/ffmpeg: Mux together streams from an arbitrary amount of separate files

I have a collection of shows that have multiple files per episode that I'd like to mux into a single file for each episode. Per episode, there's one mp4 file that contains one video and one audio ...
0
votes
0answers
19 views

Ffmpeg rtsp to rtmp, command or bash to reconnect

I'm using ffmpeg to stream an IP camera (rtsp) to an rtmp server, the command works fine, the problem is that connection "hiccups" sometimes and the stream stops, so I need a bash or a specific ...
-2
votes
0answers
34 views

AV synchronisation

Ubuntu 14.04. Convert udp stream to hls. ffmpeg -y -nostats -nostdin -hide_banner -loglevel quiet -fflags +genpts -analyzeduration 15000000 -probesize 5000000 -i udp://239.255.1.199:1239 -copyts -...
0
votes
0answers
16 views

how to show keyframe or fps in video with use ffmpeg [on hold]

I would like to know how to use ffmpeg to display keyframes or fps in video, just as you can use the drawtext option in video to view timecode. Thank you in advance
0
votes
0answers
20 views

Why does FFpeg throws a 'Invalid image width' error when extracting frames from a gif? [on hold]

I'm trying to convert a gif to individual jpeg images. I try the following command ffmpeg -i 250.gif temp/%d.jpg Error log - https://pastebin.com/5XBYsNgc What could be the issue? When I try the ...
1
vote
0answers
36 views

Recording screen with ffmpeg & vaapi

I got Debian 9 and stock Xorg drivers. Today i'm trying record my screen with ffmpeg & vaapi, but I have some problems. I want to record all screen with max FPS. xrandr setting is: 1920x1080 60....
0
votes
0answers
29 views

Does using ffmpeg reduce the quality of the video?

I'm using a code like that to convert a sequence of images into a video. ffmpeg -framerate 24 -i a%04d.jpg -vcodec libx264 -b 40000k video.mp4 I noticed that the size of the output video is much ...
1
vote
0answers
31 views

Can you help me optimize my FFMPEG settings for streaming?

I want to optimize settings in ffmpeg for streaming. This is what I am currently running however I've basically copied and pasted different things I've found. I probably have some duplicate settings ...
0
votes
0answers
21 views

Converting a MKV file with DTS MA audio to AC3 5.1 (With no loss in video)

I have a linux server on which i need to do this. I have a video MKV video file with AVC video and DTS MA audio, i need to convert this to a file with AC3 5.1 Audio with no loss in video and as ...
2
votes
1answer
46 views

FFMPEG: x265 video encode options

There's quite a bit of info about using ffmpeg (more) to encode with x265: HEVC. However, when I try to encode my video from x264 to x265 with scaling to reduce overall bit rate in order to save even ...
1
vote
0answers
21 views

FFMPEG not found on MACOS 10.13.6 after a brew install

I want to use ffmpeg to convert a video into a gif. I have installed it with brew using brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-...
0
votes
0answers
34 views

ffmpeg x265 - How do i saturate my 4 x 8 cores / 16 threads e5?

I have been trying ffmpeg to get to saturate my 4 x E5-4620 (8 core) CPUs with all kinds on parameters found on this forum. I cant get it to work. here is an example, but other attempts eg. threads 0, ...
0
votes
1answer
27 views

Using -c copy in ffmpeg to extract wanted frames

Good day. I am currently working on a project to make summary of the surveillance video. The idea is to read frames using OpenCV, do a foreground detection and classify person with deep learning ...
0
votes
0answers
20 views

How do I get this simple ffmpeg command to work in Automator?

I'm having trouble getting a simple Automator shell script to work. I'm trying to get an ffmpeg command line to run a task on a file that is dropped onto the appliaction icon. This is what i've done: ...
0
votes
0answers
17 views

Compress still image ffmpeg

I tried to find by myself, but understood what this none easy what I'm thinking. Please help me find optimal way. I need compress this video with 1080p demension, but more less wight. It contain ...
0
votes
0answers
21 views

Copy metadata (date taken) from photo (jpg) into video file metadata (creation date)

I have a big bunch of pictures and videos (20000+) and all videos in there I use ffmpeg to convert videos from my camera (and I forget to preserve metadata). With previous online service (flicker) I ...
0
votes
1answer
27 views

ffmpeg: yuv420p pixel format missing?

Often when I search online for ffmpeg advice, I find the answer involves using the -pix_fmt yuv420p (or I think also yuv720p) argument. Example: What ffmpeg command line produces video more compatible ...
0
votes
1answer
41 views

FFMPEG - why do I end up with old version after installing?

I managed to install FFMPEG on Centos via WHM following this guide. But when I run ffmpeg -version I get: 2.8.15 ...whereas the official site says the latest version is 4.0.2. How can I update my ...
0
votes
0answers
25 views

How to draw a path out of points in ffmpeg

I'm looking for a way to draw some doodle-like Paths on a video using ffmpeg. The Path is defined by an ordered set of points Point(x, y, width).
0
votes
0answers
24 views

ffmpeg - when converting an hls video to mp4 from https source, it keeps retrying to load a segment file

I'm running ffmpeg under a script that retrieves HLS video from a https site. One of the HLS videos seems to be corrupted as I tested it with the VLC player and the video froze midway. ffmpeg doesn't ...
1
vote
1answer
45 views

NVIDIA HEVC 4k 5.0 level support

I'm trying to encode a 4K (3840x2160) stream with level less or equal 5.0 with no success. I'm using ffmpeg latest build, nvidia drivers 410.66. All dockerized on nvidia/cuda:8.0-devel-ubuntu16.04 ...
0
votes
0answers
39 views

Error when downloading video via m3u8 playlist: Application provided duration out of range

I use the following command to download an m3u8-playlist. ffmpeg.exe -i "http://7dcdn.ivideo.sina.com.cn/7d.ivideo.sina.com.cn/app/record/subIndex/...
0
votes
0answers
22 views

FFMPEG how to set metadata languages names in .MXF video file

I would like to re-mux an .MXF video file with 2 audio tracks naming them (ITA and ENG) and save an .MXF. I can do that exporting a .MOV video file but can't with .MXF I'm using this code: ffmpeg -...
0
votes
0answers
17 views

How can I use FFMPEG to overlay one video on another [duplicate]

I have 2 videos of the same duration and framerate. I would like to overlay video A which is of size (100,210) on video B which is of size (1920,1440) and I would like the top left corner of video A ...
0
votes
0answers
39 views

How to fix recovered GoPro MP4 files

My GoPro freezed an corrupted not just the last video but the whole sd card. I was able to recover the files and all the jpegs were fine but the mp4 files won't play. Well, they do play in VLC player ...
1
vote
1answer
81 views

Read frame types from compressed video

I want to do an analysis on compressed videos, in order to save the calculations of the decoding part. So I want to read a compressed video, and check each frame if it's an I/B/P frame, and do a ...
0
votes
0answers
25 views

Ffmpeg on Mac OSx: cannot see Firewire cameras

I am trying to use ffmpeg on Mac Os x (High Sierra and Mojave: makes no difference) with a camcorder attached to a Firewire port (more precisely, I have a MacMini and the Firewire is attached to a ...
0
votes
1answer
68 views

What are FFmpeg Video/Audio Stream parameters in order

Sometime a video stream looks like this: Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m), 640x360, 935 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default) Sometimes it is different: Video: flv1,...
0
votes
0answers
22 views

FFmpeg X11 Grab Black Screen on Ubuntu Server

I've been trying to grab the output of a second display server with FFmpeg, however when I open the video in VLC on my PC it appears to be a black screen. I've tried both with FFmpeg from apt and one ...
0
votes
0answers
20 views

Save 3 images per second from a live stream

I'm attempting to use streamlink and ffmpeg to save 3 images per second from a twitch livestream. The goal is to be able to analyze the images as quickly as possible. So far, I've tried the following:...
0
votes
1answer
43 views

Reducing command-line shortcomings caused by excessive number of FFmpeg inputs

I have for a long time used a script that does concatenation for different codecs using complex filters as described here. This wiki gives the following example command: ffmpeg -i input1.mp4 -i ...
0
votes
1answer
18 views

Copy audio stream, while also re-encoding with filters?

I'm using this command to copy the video & audio streams while also encoding the first audio stream to a stereo AAC track as well: ffmpeg -y -i in.mkv -map 0:v -c:v copy -map 0:a:0? -c:a:0 copy -...
0
votes
1answer
77 views

ffmpeg -vf: command not found

I am still a semi-novice at ffmpeg. I can do the basics with 1-pass crf encoding but as I am venturing into 2-pass encoding, I am running into an error I cannot solve. Any help is appreciated. In ...
0
votes
1answer
34 views

MPEG video not pausing at accurate timestamp

We are using xuggle API to create MP4 file with variable duration between images. Following is the sample code final com.xuggle.mediatool.IMediaWriter writer = com.xuggle.mediatool.ToolFactory....
0
votes
0answers
16 views

Multicast Routing table configuration

I have two ethernet ports: From eth0 I receive live UDP data and from eth1 I send stream to UDP. All thing works good but problem is each time that before sending or receiving data I have to add ...
0
votes
0answers
28 views

Wait for input and display placeholder when input is not available FFmpeg

What I am currently doing is taking two inputs and outputting them side by side. ffmpeg -i "rtmp://input1" -i "rtmp://input2" -filter_complex "[0]crop=iw/2:ih:0:0, pad=iw*2:ih[left];[1]crop=iw/2:ih:...
0
votes
1answer
22 views

Correct Version of ffmpeg

I'm having issues replicating a centos 6 instance. It looks like I have 2 versions of ffmpeg on my old server: ffmpeg -version gives me: ffmpeg version 1.2.5 built on Jan 30 2014 19:45:47 with gcc 4....
1
vote
1answer
100 views

download stream from m3u8 file with a particular resolution with ffmpeg

hi i am a new member of this site after looking at this site for hours i found how to download 'HLS' from a site and it works also. but one thing i could not find is if a particular site has available ...
0
votes
0answers
31 views

ffmpeg - downmix audio but merge with original audio & video?

I'm currently working on using this 'nightmode downmix' script for ffmpeg which I found here. @echo off set PATH_MKVMERGE=D:\Programs\VideoProcessing\mkvtoolnix set PATH=%PATH%;%PATH_MKVMERGE% @echo ...
0
votes
1answer
72 views

Record from two devices, and failing to record from hardware device, ffmpeg

I realize that asking two questions at once is likely a breach of normal protocol, but since I think perhaps my two problems are related (and I only really need to fix the first one if the second isn'...
0
votes
1answer
46 views

How to simulate the viewer skipping through the video by tapping right arrow key in ffmpeg?

I'd like it to be obvious. Thinking either skip N frames after every M frames or modulate the frame rate like the jitter effect in some video editors. I've tried something like this, but there still ...