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

ffmpeg shortening wav file when converting from pcm

I am using this command to convert large pcms (90 mins recording) into wav files: ffmpeg -f s16be -ar 11025 -ac 2 -acodec pcm_s16be -i f7.pcm f7.wav The wav I get back is usually about 50 - 65 ...
0
votes
0answers
14 views

Trying to multicast a file using FFmpeg but the output in VLC is pixilated with audio breakups

I am trying to multicast a file using FFmpeg but the resulting output in VLC is pixilated with audio breakups. If I try to convert this source in a TS file then there are no issues with the resulting ...
0
votes
0answers
14 views

Encode stereoscopic h265 video with FFmpeg

I've seen somewhere to encode a 3D stereoscopic h264 video in an MP4 container for YouTube with FFmpeg you'd put the argument -x264opts frame-packing=3 (or something along those lines, don't remember ...
0
votes
1answer
20 views

ffmpeg matches no streams

I'm trying to make complex filters with fluent ffmpeg work, but getting the error: Stream specifier 'pts' in filtergraph description [0:v]setpts=0.3333333333333333*PTS[pts];[pts]crop=out_w=3381....
0
votes
0answers
26 views

Live streaming and FFMPEG

Introduction and problem description Hello everyone, I have a server that generates a series of bitmaps of the same resolution and at a fixed rate. I have to make a webserver which converts them into ...
0
votes
0answers
38 views

Two questions about using FFmpeg on Debian

There are a couple of questions about using FFmpeg. I use Debian stable branch. I make separate caps from a video file. A very long time. I would like to understand how this can be optimized? What ...
0
votes
0answers
10 views

re orientate video in equirectangular format with ffmpeg

Is there anyway to re-orientate an equirectangular via ffmpeg or similar? i.e. so the centre of the video moved to the edge or something? I did come up with a hacky solution of cropping the 2 ...
0
votes
1answer
22 views

ffmpeg stills to GIF: workflow streamlining

I'm having a great time revisiting ffmpeg and tinkering about, but can anybody assist me with streamlining the 'still image/add cross-fade/save as gif' process, please? I'm trying to eradicate the ...
0
votes
0answers
36 views

Seeking in M3U8 file results in 20 seconds delay or more

I have a list of ts files. For each ts file I have an m3u8 file. But for some ts files I don't have m3u8 files. My m3u8 file is in the below format(showing the already existed file). This file ...
0
votes
0answers
18 views

Embed timestamp in video file using ffmpeg

I'm trying to record a video from the webcam using ffmpeg, while saving the exact timestamp in the video format so that I can later match it with other recorded videos: ffmpeg -f v4l2 -ts abs -...
0
votes
0answers
27 views

Non-monotonous DTS in output stream 0:1

I have a video and I try to cut some scenes from it, for example: ffmpeg -i "/test-in.mp4" -ss 00:00:00 -t 967.640 -g 25 -b 350k -maxrate 350k -bufsize 700k /test-out1.mp4 ffmpeg -i "/test-in.mp4" -...
0
votes
0answers
21 views

ffmpeg - waveform.png: Invalid argument

I'm trying to use ffmpeg on Synology NAS with DSM 6.2 to create waveform of my mp4 files. ffmpeg -i aaa.mp4 -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png [NULL @ 0x24271e0] Unable to ...
0
votes
2answers
70 views

Keep FFmpeg running

Good morning, I have a script that generates 2 images every second in a folder and I want ffmpeg to convert them into a series of mpeg-4 videos of 5 secs duration and that shows 2 images per second (...
1
vote
1answer
31 views

Unable to parse option value “bpyramid”

ffmpeg -version ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-23) configuration: --prefix=/opt/ffmpeg-4.1/ --extra-cflags=-I/opt/...
0
votes
0answers
26 views

ffmpeg - Bad Video output low on youtube

So I'm using Azure to try and run a 24/7 stream on ubuntu 18.04. When the server is fresh, I can run the stream for about 10 hour before it comes up with 2 errors: Bad Video output low on youtube ...
0
votes
1answer
71 views

How can I convert a .ts file to a single .m3u8 file using ffmpeg?

I have a .ts file, but I don't have the source file(video file). I need to generate a m3u8 file from the .ts file itself without creating other .ts files. I used the following command. ffmpeg -i ...
0
votes
0answers
25 views

FFmpeg multiple video outputs from series of images [duplicate]

I have a program that generates infinite bitmap images in a folder (named 00001,00002 etc.) and I need ffmpeg to make 5 secs MPEG-4 videos of a set resolution from all of them and put all these videos ...
0
votes
0answers
20 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
16 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
37 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
41 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
24 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
33 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:...
-1
votes
0answers
23 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
28 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
49 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
17 views

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

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? [closed]

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
42 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
30 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
44 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
30 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
57 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
23 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
38 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
28 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
21 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
18 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
24 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
31 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
49 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
48 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
43 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
42 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 ...