Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

0
votes
1answer
111 views

Video takes long time to start

I use this command to convert video using ffmpeg on phpvibe: unfortunately the videos take a long time to start on firefox so I'm looking for a command to move the video's atom to the beginning so ...
1
vote
1answer
63 views

Show multiple images using ffmpeg

I've created a video slideshow from images with a background image but I want to be able to add another picture at the bottom left of the video. How can I make the -i "C:/test/logo.png" show at the ...
0
votes
0answers
111 views

ffmpeg watermark with opacity

I can easily add a watermark on my video, but this watermark is on opacity 100%: ffmpeg -i aa.mov -i image.png -filter_complex 'overlay=10:10' bb.mp4 But how to make the image file have an opacity ...
0
votes
1answer
55 views

How to remove words “Video” from a video with ffmpeg?

I use ffmpeg to make a movie with 100 images *.png, but in the produced movie video.mov, there's big word VIDEO.mov at the bottom of my movie and it covers some of my info within the images, how can I ...
0
votes
1answer
85 views

ffmpeg atempo filter not working

When I run the following: ffmpeg -i input.mp3 -filter:a "atempo=2.0" -vn output.mp3 I expect output.mp3 to be twice as fast (and half the length) of input.mp3, but it is exactly the same speed and ...
1
vote
1answer
122 views

batch file for hardcoding subtitles in multiple videos with ffmpeg

My question at the top: What is the correct way to refer to a dynamic file name for the ass filter when using -filter_complex in ffmpeg? The story and my attempt: I have a folder that contains ...
1
vote
1answer
190 views

Insert background image using FFmpeg

I've just started using FFMpeg and I'm trying to create a video slideshow from images with a background image. The background would not change only the image. Similar to this: I have the following ...
0
votes
0answers
52 views

How to constrain/stretch a video to a fixed duration using ffmpeg or avconv?

So I have a few hundred clips of videos, about 1 to 5 seconds each, that I'd like to all play at 2 seconds each...this means for the 1 second videos, they get stretched out, and the 5 second videos, ...
-1
votes
1answer
116 views

FFMPEG conversion from webm to mp4 intermittent on Ubuntu 14.04 [duplicate]

I am trying to convert .webm file that we get from google's screencastify to .mp4 file. I need it to be playable using Windows Media Player. I need it the file to be playing with all the WMP versions ...
0
votes
1answer
55 views

Connecting PAL camera to pc and working with the feed

I have an ancient analog camera which has the classic PAL analog output. I want to get this feed, display it on the computer's monitor and save the stream on the pc hard drive. I know that if it was ...
0
votes
0answers
162 views

how to generate multiple bitrate HLS content from live rtsp stream?

I am gerating single bitrate live hls content from live rtsp stream . I am using the following command ffmpeg -v verbose -i rtsp://127.0.0.1:8080/test.sdp -vcodec libx264 -acodec aac -ac 1 -strict -2 ...
1
vote
1answer
73 views

FFMPEG drawtext filter - get total width of text string so that it can start off stage

I have the following FFMPEG command which simply wipes text from left to right. What I am trying to do is determine the total width of the text string so I can subtract this amount from the x position ...
2
votes
1answer
101 views

Loop text that wipes left to right using FFMPEG drawtext filter

I have the following FFMPEG command which correctly wipes text across the bottom of a video. ffmpeg -y -i test_small.mov -acodec libmp3lame -vcodec libx264 -pix_fmt yuv420p -b:a 192k -b:v 1400k -ar ...
0
votes
0answers
14 views

FFMPEG drawText horizontal scroll start and end completely off stage [duplicate]

I have the following FFMPEG drawtext command which scrolls some text from left to right ffmpeg -y -i test.mov -acodec libmp3lame -vcodec libx264 -pix_fmt yuv420p -b:a 192k -b:v 1000k -ar 44100 -vf ...
0
votes
1answer
192 views

Creating video containing animated text using FFMPEG alone

I doubt this is possible, but am trying to find some way to 1 dynamically render text, and then 2 optionally animate it (simple left to right movement) and then 3 composite the result on top of ...
0
votes
1answer
134 views

Lossless H.264 MP4 file created from images cannot be played in QuickTime

I'm trying to find the optimum settings for creating a .mp4 file that will load easilly both on Mac and Windows. Right now with these settings f image2 -pattern_type glob -i '*.png' -vcodec libx264 ...
-1
votes
1answer
69 views

how to upgrade ffmpeg to latest version in centos 5.11?

I have CentoS 5.11 installed. and ffmpeg 0.10.2 [ [root@cs1590 ~]# ffmpeg ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Jun 5 2012 08:51:26 with gcc 4.1.2 ...
0
votes
0answers
21 views

ffmpeg output video doubles duration time [duplicate]

So i modify an audio file and trim some parts from the beginning and end of it, but when i check the file duration MAC OS -> right click -> get info, its duration time went up to 07:09, its supposed ...
-2
votes
3answers
414 views

Conversion from WebM to MP4 in Ubuntu is slow and bad quality

I have used the command ffmpeg -i input.webm -q:v 10 -c:a copy out.mp4 I also tried using avconv instead of ffmpeg. The conversion is successful but the quality is bad. Also it takes a lot of ...
2
votes
0answers
42 views

Ffmpeg - How to zoomin a video from the center [duplicate]

I'm trying to make a video from an image and I want to add a zoom effect on the center. The input image is 640x360. The command I'm using is: ffmpeg -framerate 25 -loop 1 -i 46686405.jpg -vf ...
0
votes
0answers
37 views

Mix 2 audio files and adjust volume

I am trying to mix two wave files background.wav (10 sec) and message.wav (5 sec). I want the volume of background.wav to reduce to 0.5 when message.wav is playing, so that the message is clearly ...
0
votes
0answers
65 views

layering video with ffmpeg using black color as mask

I've got two videos (in.mp4 / layer.mp4). The layer.mp4 video contains stuff and pure black color. I wonder how I could use filter to remove the black and replace by alpha. I'm trying to use ...
1
vote
1answer
96 views

Proper DVD rip for serving via UPnP

I am a happy user of minidlna (version 1.0.24) on an old Mac Mini G4. It does work quite well in my environment. Since minidlna does not allow transcoding, I would like to rip a set of DVDs (mostly ...
0
votes
2answers
119 views

How to combine WebM and Opus to generate MP4?

I am using following command but it is giving wrong output. ffmpeg -i video.webm -i audio.opus -c:v copy -c:a aac -strict experimental output.mp4 Output: ffmpeg version 1.2.6-7:1.2.6-1~trusty1 ...
0
votes
1answer
51 views

Error when trying to convert 2-channels sound file to mono using sox or ffmpeg

When I tried: sox file.wav -c 1 file.wav I got: sox WARN wav: Premature EOF on .wav input file When I tried: ffmpeg -i file.wav -ac 1 file.wav I got: [pcm_s16le @ 0x2997880] Invalid PCM ...
0
votes
0answers
93 views

Using ffmpeg for mp3 conversion: could not find codec parameters / unspecified frame size

I have an mp3 file that I can't play with any of my audio players that I have on Windows 8, so I decided to convert it using ffmpeg. I downloaded it from a website, which was able to play the mp3. I ...
0
votes
0answers
149 views

ffmpeg or video codec

I have this problem but I don't understand if is a codec or wrong ffmpeg profile. I'm viewing a video in a web player (videojs). From some PC video work good but, from other PCs, with the same version ...
0
votes
0answers
39 views

MJPEG format not working

Gphoto2 captures live preview frames from cameras and store them as a MJPEG encoded movie. For some reason, nothing besides ffmpeg works with it as it should, all programs just see the first JPG ...
1
vote
2answers
231 views

FFMPEG extract audio with exact frame length of video

For a digital cinema package I need to extract the audio track (.wav, 48000 khz, 16-bit) from Quicktime movies (in this case with Prores or Photo-JPEG codec). The catch is that the duration of the ...
1
vote
1answer
50 views

What does the at symbol (@) with IPs mean in ffmpeg and vlc?

In vlc, ffmpeg, and mplayer, I see some docs and forum posts that start an IP with an at symbol, e.g., udp://@239.192.1.31:1234. Other times, I see it used to replace localhost, e.g. rtp://@:8005. ...
1
vote
0answers
186 views

How to add zoom in effect to a video?

I'm working in a project where I should generate a video, from an input set of videos or images. The problem is when I generate the video I must add a zoomin effect to each input element. I solved ...
0
votes
0answers
73 views

Multiple Outputs using ffmpeg

I need to convert an audio file(.mp3) to another format(.wav) & also to http stream. I'm using this to convert to 2 different files at a time. ./ffmpeg -i test.mp3 -c:a mp3 -f tee -map 0:a ...
1
vote
2answers
35 views

How to use ffmpeg to rip audio from mp4 and add it to another

I created a video using Final Cut Pro X (10.1.4) and added a commentary using the voiceover feature. I was surprised to discover that FCPX does not support outputting a file with multiple audio ...
1
vote
1answer
141 views

Combine three live audio streams into one live audio stream

I have three live audio feeds which I want to rebroadcast as one combined audio stream. I would like to listen to all three of these live audio feeds at once, but my home connection is limited by data ...
0
votes
0answers
149 views

How to set PTS for audio packets in mpegts?

I written mpegts muxer, which change PTS and PCR in mpegts live stream. I analyze mpegts stream, which has 25 fps video, and if I find new video startcode (new frame) I increasing PTS by 3600. Also, ...
0
votes
1answer
56 views

FFMPEG and input video-any way to retrieve height & width dynamically? [duplicate]

What I am trying to do is set up one script that will check the ratio of height over width and then determine WHICH dimension to scale to fit HD(1920x1080). Is this possible using standard FFMPEG ...
0
votes
1answer
147 views

FFMPEG to convert swfs - could not find codec parameters

I've read mixed reports online about the ability to convert basic SWF files to a video format using FFMPEG. Can any FFMPEG experts suggest whether there is a way to get this to work reliably? Using ...
0
votes
0answers
11 views

FFMPEG - scale a video WITHOUT distorting [duplicate]

I know that the -s parameter is for scaling, but if you don't know the size of the input video, how would you scale to say 1920x1080 under 2 conditions 1) longest dimension matches either width(1920) ...
0
votes
1answer
158 views

how to join ts files together into mp4 with ffmpeg?

I download a lot of streams since the internet speed is too slow to watch high definition. When I download a stream I find the .m3u8 file which points to the TS files. Then I use the following ...
0
votes
2answers
370 views

Hardcoding Subs with ffmpeg?

Is it possible to hardcode subs with ffmpeg? By hardcode, I mean overlaying the subtitles as pictures on top of the video, and would be unremovable because they would be a part of the video. I tried ...
0
votes
2answers
189 views

How to put border around video to prevent clipping of content

My TV is old and for some reason clips some content off of the left edge. I'm trying to show a video on it in which the left edge is vital to the presentation. Is there some way (with ...
2
votes
1answer
46 views

Delete .avi videos by length using Linux terminal

How can I delete videos, via terminal, by length of the video? I have a cutoff point of 30 seconds, and I want to delete anything under that. If I select by size (find . -type f -size +27818098c) it ...
0
votes
1answer
302 views

How to build FFmpeg with Freetype2 for Android

On OSX Yosemite I'm trying to build FFmpeg with freetype library included ( I need it for drawtext filter ). Unfortunately I cannot configure ffmpeg properly and every try ends with "freetype not ...
1
vote
2answers
794 views

overlay transparent animation over video with ffmpeg

Overall task is to overlay animated infographics over video. What I would like as a result shown in this video http://www.youtube.com/watch?v=ZhMF3WD9pr0 Nice animated semi-transparent cyan line on ...
0
votes
0answers
34 views

ffmpeg: video4linux2 + pulse desync

I was able to get the Video4Linux2 driver to use my USB capture card, Roxio Easy VHS to DVD, but only the audio. I've given up on fixing that, so I'm using my microphone ports, with an RCA adapter. I ...
0
votes
0answers
212 views

What ffmpeg command line matches the one YouTube uses?

I am trying to use the same command line YouTube uses for quality etc. in H.264/MP4 containers. I have been working on converting videos into multiple formats, scales, sizes and adjusting the bit ...
0
votes
0answers
106 views

FFmpeg / libav / Avconv settings to add higher contrast to a video

I successfully convert videos to mp4 from images turning the video black and white, is there a way to add contrast and brightness to balance the higher contrast so that it looks sharper? Here is the ...
0
votes
1answer
54 views

Mux .aac and .h265 together using ffmpeg

I found some example codes on the internet and built a program to encode a live feed from a webcam or yuv file using h265. I used the libx265 for this with ffmpeg. Now i want to mux an aac file with ...
2
votes
0answers
310 views

Cutting videos at exact frames with ffmpeg select filter

Instead of using -ss and -to seeking parameters, which are seems not very accurate, can I cut videos for given frame numbers? For example; ffmpeg -i video.webm -startingframe 80 -endingframe 560 ...
0
votes
3answers
85 views

combining 1 image + 1 audio using FFmpeg

I want to combine an audio file and one image file into a video. Output will be in .webm format so I will be using libvpx. The video must have one frame with the best/lossless quality. So far I have ...