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
0answers
18 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
15 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
61 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
38 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
36 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
80 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
25 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
73 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
69 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
24 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
60 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
60 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
38 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
51 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
48 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
109 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
65 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
41 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
99 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
142 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
89 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
40 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
31 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
86 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
47 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
96 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
113 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
53 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
57 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
51 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
32 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
61 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
88 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 ...
1
vote
1answer
22 views

Can ffmpeg capture a frame from a part of a video that's been split?

I have a video file split into many small files with the split command (then I can merge them with cat). split --bytes=100M video.mp4 new Now I want to take a snapshot of the beginning of each ...
0
votes
0answers
52 views

How can I make a video “seekable” using ffmpeg when played in VLC player?

I have a .mkv video with the following properties: Input #0, matroska,webm, from 'DEMO.mkv': Metadata: ENCODER : Lavf56.4.101 Duration: 00:00:56.37, start: 2.333000, bitrate: 2032 ...
0
votes
0answers
66 views

my own tv news channel - using vlc streaming

I want to create my own tv channel (using vlc streaming). And for now - it works great: cvlc --sout-keep --loop --sout '#standard{access=http,mux=ts,dst=:2000}' file.avi But i have two problems: ...
0
votes
1answer
110 views

Converting DVD subtitles to text

I want to convert image-based subtitles (dvd_subtitle) to text-based subtitles (mov_text). I'm on OS X and would strongly prefer to use a free command-line based tool. My source data is either a DVD ...
0
votes
0answers
26 views

best directory to install ffmpeg on centos to use in php

I want to install ffmpeg.(I am on a VPS - centos6.5) I failed before...for example when I installed it I couldn't call it in php for example: exec('ffmpeg ... ') it returned me:no permission ...
0
votes
1answer
28 views

Is ffmpeg-php important to run ffmpeg in php?

I installed ffmpeg (not ffmpeg-php) Now can I run a command like this?: exect('ffmpeg -i begin.mp4 end.ogg'); My server provider told me I couldn't run this command in php because of ffmpeg-php! ...
0
votes
0answers
30 views

Video streaming in Mac using ffmpeg

I've installed latest version of ffmpeg using Homebrew. Specifically, I used the following command: brew reinstall ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass ...
0
votes
0answers
152 views

How to join two videos with a cross-fade effect using FFmpeg?

I want to merge two video files with a cross-fade effect between them (just about a second long), but without fading to black or white or any colour at all - it has to be a smooth transition from one ...
0
votes
0answers
34 views

FFMPEG How to write errors or crashes to syslog (Windows event viewer)

So in php when errors occur you can send errors to the syslog. error_log = syslog With ffmpegs command line how can you tell ffmpeg to write errors or crashes to the syslog so you can open windows ...
1
vote
0answers
63 views

ffmpeg create video from an image sequence with a windows batch script

I need to convert jpg image sequences that are changing in their file naming convention to h264 mp4 1920x1080 video files, so I thought I create a jpg2mp4.bat file in a windows text editor. I have ...
0
votes
1answer
90 views

ffmpeg records RTSP only for 30 seconds and then freezes

while trying to record RTSP stream, I noticed that ffmpeg only records up to 30 seconds, and then it just simply freezes I pressure Ctrl + C to terminate. I am running ffmpeg version 2.5.2 ...