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
32 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
42 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
37 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
30 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
44 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
38 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
26 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
19 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
2answers
131 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
31 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
19 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
17 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
65 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
42 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
27 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
40 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
87 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
26 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
1answer
85 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
33 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
73 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
26 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
25 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
64 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
69 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
40 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
56 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
10 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
52 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
118 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
68 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
42 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
119 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
166 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
23 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
90 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
45 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
32 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 ...
1
vote
0answers
96 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
48 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 ...
0
votes
1answer
100 views

How to convert mkv file to mp4 with subtitles and changing DTS audio to AAC or AC3?

I'm very new to ffmpeg, so I have a few questions I hope you could help me with. I have some mkv files that I would like to copy to my PS3, so I have to convert them. Someone told me the easiest way ...
1
vote
1answer
120 views

incompatible pixel format 'yuv420p10le' for codec libx265

I am using ffmpeg -probesize 2G -i input.ts -c:v libx265 -pix_fmt yuv420p10le -x265-params fps=50 -c:a libfdk_aac -t 00:00:05 /output.ts I receive the error incompatible pixel format ...
1
vote
2answers
55 views

Create MP3 from WAV without silence at the start and end

I´m creating MP3 files from WAV in FL Studio. But in created MP3 file is a very short silence (for example 0.02 sec) at the begging and at the end of the file. In my program, I want merge(join) these ...
0
votes
0answers
59 views

ffmpeg synchonization of libfdk_aac (or libfacc) and libx264

How to synchronize libfdk_aac and libx264 streams? ffmpeg -i pipe_libfdk_aac.fifo -i pipe_libx264.fifo -c copy -f flv flv_stream_pipe_or_rtmp.output I'm always receiving the same asych in all ...
0
votes
0answers
9 views

Changing the default decoder aac(native) into aac(libfdk_aac) or aac(libfaac) [duplicate]

Is is posible to change default decorder of ffmpeg? If I use ffmpeg -i pipe_video.fifo -i pipe_audio.fifo -c:v copy -f flv file.flv ffmpeg automatically changes aac(native) into (mp3)libmp3lame ...
0
votes
1answer
54 views

How can I join multiple wav/flac/audio cds into one master big audio file (>4gb)

I have multiple Audio CDs that I want to merge into one final flac or mp3 file. For example I have 10 audio cds. I can encode each CD into its single wave/flac file, or even mp3, but then I need to ...
0
votes
2answers
33 views

How to create an MP3 copy of FLAC collection, down to directory structure?

I have a collection of FLAC rips that I use for archival purposes and playing on my Hi-Fi system. However, I would like to create an MP3 copy of my entire FLAC collection (for using on my laptop, ...
1
vote
1answer
65 views

Installing the iLBC codec (libilbc) on Mac OS X for use with FFmpeg

I'm trying to use FFmpeg to encode files with the iLBC codec, e.g.: ffmpeg -i audio.wav -ar 8000 -acodec ilbc audio.lbc -y This worked fine on Windows, however on Mac OS X I'm getting the error ...
0
votes
1answer
93 views

how to fix ffmpeg inaccurate time stamp that corrupts thumbnail generation

So this is intreasting i recieved a video upload today with a time stamp of over a hour when i checked the video its only 8mins long. "C:/server/ffmpeg/bin/ffmpeg.exe" -i ...