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.

learn more… | top users | synonyms

0
votes
0answers
6 views

Cannot play MPEG-TS from webcam using ExoPlayer on Android or Quicktime on Mac

I'm trying to use FFmpeg to stream my webcam to an Android device based on the HttpLiveStreaming(HLS). In order to play the MPEG-TS on Android, I use ExoPlayer. FFmpeg streaming command: ffmpeg -f ...
0
votes
1answer
15 views

how to user “compressor” with ffmpeg

I want to use the compressor to process the video with the command parameters: Compressor: Threshold = -21dB Noise floor = -35dB Ratio = 9:1 Attack time = 0,20 secs ...
0
votes
1answer
14 views

How do I make a video with a gift image background in FFMPEG?

i try this code but error: ffmpeg -loop 1 -i test.gif -i input.mp4 -filter_complex "overlay=(W-w)/2:(H-h)/2:shortest=1,format=yuv420p" -c:a copy output.mp4 enter image description here My error ...
-1
votes
0answers
22 views

method ANNOUNCE failed: 405 Method Not Allowed

I am trying to make an RTSP audio streaming and i am considering my computer's microphone as input so i wrote this ffserver : HTTPPort 8090 RTSPPort 7001 MaxBandwidth 10000 CustomLog - <Feed test....
0
votes
1answer
55 views

Installing python script for ffmpeg

I am trying to use ffmpeg-normalize found here: https://pypi.python.org/pypi/ffmpeg-normalize I am not familiar with python so I need some help to install the script. The documentation says to ...
0
votes
0answers
20 views

How to create a video file from images on hard disk using ffmpeg command line?

In command prompt window i typed in the directory of the images: D:\SavedScreenshots>ffmpeg.exe -r 3 -i Imgp%04d.bmp -s 720x480 test.avi The images file are Bmp type. The first image file name is: ...
1
vote
1answer
60 views

Loop a video overlay with ffmpeg

I have two videos, one of which is overlaid onto the other. The one that is overlaid is only a few seconds long, and I want it to keep looping whilst the main video plays. I have tried everything I ...
0
votes
0answers
19 views

FFMPEG Overlay of multiple videos

I am trying to overlay multiple videos on a base video, the videos get overlaid but the audio of the primary base video is lost. Also, if I want to add more videos what steps need to be taken? ...
1
vote
1answer
4k views

Media Player Classic Home Cinema stops on MKV

Media Player Classic Home Cinema stops on MKV. It goes to "stop" mode after file open. Unable to run playing. No error messages generated. MPC-HC version: 1.6.7.7114 (9eb64ec) 64 bit Compiler ...
2
votes
1answer
3k views

Is there a way to deal with ffmpeg http input loosing connection?

I have a problem I'm recording a stream from my ip webcam (and storing it to a server but that's not the issue right now). the command looks something like this ffmpeg -f mjpeg -i http://ip.ad.dd....
41
votes
5answers
72k views

How to merge audio and video file in ffmpeg

I want to merge an audio file (.wav or .au format) with a video file (.mp4 format). Please suggest me how to achieve this. I want to merge these file to new .mp4 video file. An ffmpeg command would ...
0
votes
0answers
20 views

ffmpeg headers not found while configuring ffmpeg-php

I am configuring ffmpeg-php in a cpanel installed centos 6.8 server. I was able to successfully install all necessary packages that were required to install ffmpeg. Also I had successfully converted ...
1
vote
0answers
16 views

SSA/ASS Subtitles - Use frame number instead of time?

I'm trying to construct subtitle tracks from an array of known text strings. The ASS subtitle format can allow me to burn those strings on screen at known timing intervals. However, I don't want to ...
1
vote
2answers
25 views

How can you test a video with alpha channel before merging it with another video?

I am working on videos with alpha channel to be merged with a background video at a given position (for instance, [100,100]) . You can accomplish this by using: ffmpeg -i BACK -i OVER -...
0
votes
0answers
23 views

Display image every X seconds and during Y seconds in ffmpeg

I want to stream video with gif image (myimage.gif) but I want to display it every X minute (every 10 minutes) and during this time I want to make it loops Y time and then disappear (fade out). or ...
-1
votes
0answers
14 views

Upgrading and old ffmpeg version to the latest on redhat

Currently I'm on a new project and working with an existing server (redhat) that has already been setup. One of my tasks right now is to upgrade ffmpeg to the latest version. I'm familiar with ...
1
vote
2answers
49 views

How to increase video speed and frame rate without duplicating frames

I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame ...
0
votes
1answer
21 views

FFMPEG: How can I combine multiple video files into one and replace audio with new audio file

I have a question about ffmpeg I have many shot mp4 video file and one mp3 audio (example: 1 hour long ) I want to combine random mp4 video file to one output file (length match mp3 length) and ...
0
votes
2answers
71 views

Copying audio from a quicktime with ffmpeg

I am trying to copy just the audio from a quicktime. >"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -y -i a.mov -vn -acodec pcm_s16le a.wav Here is my output. Sorry for the formatting. ffmpeg ...
0
votes
2answers
16 views

how to save custom data into header in movie file using ffmpeg?

I was looking for saving custom data into movie file using ffmpeg mainly actual start frame, end frame, and other few information something like key:value pair, so later on I can fetch the details ...
-1
votes
0answers
27 views

How to insert a video intro & outtro with ffmpeg

I have a video long time, i want to insert a video intro & outtro ? how can I do this? ffmpeg -i intro -i mainvideo -i outtro outputvideo
0
votes
1answer
22 views

FFMEG won't transcode from 7.1 AAC to 7.1 eAC3

Have been trying to convert my video files from AAC to eAC3. I don't have Adobe Media Encoder, and am trying to do this with FFMPEG. Any help is Note: I have copies of the following software that ...
-4
votes
0answers
19 views

ffmpeg Read input at native frame rate skip first 5 sec [migrated]

i want to force ffmpeg to skip first 5 sec then set re flag this main code of ffmpeg related static int get_input_packet(InputFile *f, AVPacket *pkt) { if (f->rate_emu) { ...
4
votes
1answer
898 views

FFmpeg metadata not showing in Windows?

If I run this command ffmpeg -i Acetone.wav Acetone.mp3 the metadata (ID3 tags) shows in ffmpeg for the output file, but not in Windows. Output #0, mp3, to 'Acetone.mp3': Metadata: TPE1 ...
0
votes
1answer
28 views

Cut Video with FFmpeg

I have a video 20 muminute long time, I want to cut the first 5 minutes and 5 minutes of video finally. I have to use commands like, can help me? I user commant here: ffmpeg -ss [start_seconds] -i [...
0
votes
1answer
12 views

Why does FFMPEG different arguments' placement create different mov clips?

I use ffmpeg to cut the first 4 seconds of a mov 14 seconds video file. This is the command I use (on Ubuntu) to create the new clip: ffmpeg -i H264_test1_Talkinghead_mov_480x360.mov -ss 0 -t 4 -c ...
0
votes
1answer
109 views

A command to merge video and audio file using “ffmpeg” and remove the source files

I want to merge audio and video using ffmpeg. I use following command but it keeps the input (source) files while I want to delete them after they were merged. I want to see if there is a command for ...
0
votes
1answer
22 views

Issue using 'force_style' for subtitles in FFMPEG

I've recently run into an issue in using FFMPEG's 'force_style' filter. Adding subtitles by themselves works just fine, but when force_style parameters are included, I get "Option 'force_style' not ...
1
vote
2answers
307 views

Conflicts between attempted installs while installing gstreamer plugin on Centos

I am trying to install gstreamer-ffmpeg package for opencv c++ coding purpose on Centos-6.7 When I type; sudo yum install gstreamer-ffmpeg* it gives error: Transaction Check Error: file /usr/...
1
vote
1answer
18 views

How to get width of the video and scale another video to that width using ffmpeg?

I'm using ffmpeg to stack two videos vertically. They might be different size so I need to scale them to same size. I have found following commands. First one works for different sizes (but won't ...
0
votes
1answer
38 views

ffmpeg: .ogv to .mp4 - audio video not synchronized

I have a video in .ogv and want to convert it to .mp4 so I can upload it to youtube. I am trying ffmpeg for it: ffmpeg -i *.ogv -acodec libmp3lame -vcodec libx264 -crf 18 Windup-demo.mp4 After ...
0
votes
1answer
23 views

Increase video *and* audio playback speed without losing quality

I'm speeding up a video by 2x with this command: ffmpeg -i input.mp4 -r 50 -vcodec mpeg4 -filter:v "setpts=0.5*PTS" -filter:a "atempo=2" output.mp4 However, the output quality is very low. I used -...
0
votes
0answers
15 views

Converting subtitle from text-based to bitmap-based in FFMPEG

I'm a Linux user with a Playstation 3 by my side, and my favourite function of this big black monolith is the video-playing function. Recently, I've taken to watching all my videos on this thing. But ...
1
vote
2answers
5k views

FFMPEG “Past duration 0.xxxxxx too large”

I'm recording an HLS streaming and I would like to save in a FLV Container. My ffmpeg's cmd is: /.../recorder/class/ffmpeg-2.6.1-32bit-static/./ffmpeg -i http://server/url/playlist.m3u8 -b:a 128K -...
1
vote
1answer
6k views

How to stream MPEG video using RTP using VLC command line

I'm attempting to convert the following vlc command line which is streaming an MPEG video over UDP ( no RTP ): cvlc -vvv /vlc/attract.mpg :norm=ntsc :v4l2-width=320 :v4l2-height=240 :v4l2-standard=...
0
votes
2answers
4k views

HTML5 video player stutters even after video is loaded

I am using jwplayer to display videos on my websites but cannot manage to make them running smoothly. They stutter, especially in full screen, although I wait for the video to fully load. I tried ...
0
votes
0answers
16 views

ffmpeg piping to aucdtect in a batch file

I am trying to pipe ffmpeg output to auCDtect in a batch file like this: ffmpeg -i %1 -acodec pcm_s16le -f wav - ^| auCDtect.exe -- For some reason aucdtect just freeze at Data analysis: [...
0
votes
0answers
16 views

Video concatenation excruciatingly slow

I tried using OpenShot Video Editor to concatenate a few videos of a vacation I recently went on. However, the process seems to be taking forever; I really do not want to leave the computer on all day....
4
votes
1answer
3k views

How to add image logo in the end of video?

Can we adding image(logo) to end of video?. I already found the way add logo 5second before video played with delayed the video? Material: video file = af.flv ( format can be changed, avi or mp4 is ...
0
votes
0answers
42 views

FFmpeg and HLS multiple audio renditions

I'm trying to use FFmpeg to produce an HLS playlist which contains multiple audio renditions, but I cannot get the audio & video tracks to sync together. Here is the scenario: Suppose I have 2 ...
21
votes
7answers
54k views

How to install FFmpeg on Debian?

I would like to know how to install FFmpeg on Debian.
4
votes
1answer
742 views

FFmpeg/avidemux: fix packed B-frames

I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4 When doing ...
1
vote
2answers
31 views

Batch extract thumbnails with ffmpeg

I need to batch extract thumbnail pic from hundreds of .mpg files using the following bat code, which works like a charm, but the only drawback is that the output png are with file name like "filename....
1
vote
1answer
17 views

Adding ffmpeg as environment variable

I've been trying to follow step two of the dependence guide of Microsofts Project Malmo. https://github.com/Microsoft/malmo/blob/master/doc/install_windows.md I need to create the environment ...
0
votes
0answers
25 views

FFmpeg: Unrecognized option preset

I'm using ffmpeg to convert yuv to mp4 losslesly in ubuntu 14.04. My code is (without line splitting): ffmpeg -f rawvideo -vcodec rawvideo -s 560x448 -r 40 -pix_fmt yuv420p -i ...
10
votes
3answers
10k views

What is the CORRECT way to fix keyframes in FFMPEG for DASH?

When conditioning a stream for DASH playback, random access points must be at the exact same source stream time in all streams. The usual way to do this is to force a fixed frame rate and fixed GOP ...
0
votes
1answer
27 views

ffmpeg Audio Conversion m4a to wav - file size bloat

While converting audio files from *.m4a to *.wav using ffmpeg (and other audio converters - I've tried a few and cannot remember but they were worse) the file size increases by a lot (10x). original ...
0
votes
0answers
8 views

Editing a video

I used OpenShot Video Editor to concatenate a few videos of a vacation I recently went on. However, the first 18 seconds of the video is upside down; the rest of it is fine. Even though I am using ...
40
votes
7answers
41k views

How can I make ffmpeg be quieter/less verbose?

By default ffmpeg sends a whole lotta messages to stderr: when built, how built, codecs, etc, etc, etc. How can I make it quieter? I've tried -v 0 (and -v 10 since the documentation just coyly says ...
0
votes
0answers
27 views

How to watermark all files in folder with ffmpeg? (Windows)

I'm using the following command to resize and watermark videos: ffmpeg -i "input video.mp4" -s 640x480 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-...