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

1
vote
1answer
511 views

ffmpeg stereo3d filter not working

I followed the FFmpeg wiki for trying to convert my side-by-side video to above/below format. I typed this line: ffmpeg -i source.mp4 -vf stereo3d=sbs1:ab1 output.mp4 and the system replied: ...
0
votes
1answer
91 views

storing and securing the video using ffmpeg

this is my first question on the site. Currently I am working on one application which captures the video and store it in the system hard drive. Both the functionality is working fine.We are storing ...
0
votes
0answers
378 views

ffmpeg -sample_fmt error under Windows

I was tasked to convert a simple audio track on windows using the following command: ffmpeg -i mySound.mp3 -acodec libmp3lame -ar 48000 -ab 128k -ac 2 -sample_fmt s16 out.mp3 However it fails ...
1
vote
1answer
262 views

How does video encoding bitrate affect duration and why?

Does encoding an uncompressed video into a higher bitrate take longer (than into a lower bitrate)? If so, why - it seems that the encoder should need less effort because it doesn't have to compress ...
2
votes
1answer
2k views

How to make left-right transition of overlay image ffmpeg

I have used the below command to make a left to right transition of overlay image over a video. ffmpeg -i Test.mp4 -i transparent.png -filter_complex "overlay=x='if(gte(t,0), -w+(t)*100, 3)':y=...
0
votes
1answer
306 views

How to offset a video horizontally in ffmpeg?

I'm trying to make some 360° video, where the leftmost side shall be connected to the rightmost side in the interactive player. Instead of setting that in the player, how can I shift the content by ...
5
votes
2answers
3k views

Got black screen when recording screen from xvfb by ffmpeg x11grab device

I'm trying to record video from a firefox run by xvfb-run but it always output nothing in the video file except black screen. Here's what I did: start a firefox, open google.com: $ xvfb-run firefox ...
3
votes
1answer
917 views

How to reduce latency on FFmpeg video streaming?

On a video streaming application between Linux server (FFmpeg) and Windows client (VLC player), there is a noticeable latency of about 10 seconds. FFmpeg command: ffmpeg -re -f v4l2 -i /dev/video0 ...
0
votes
1answer
2k views

ffmpeg : creating video from image results in just 1 second video

I'm trying to create a short video file out of a single image for 5 seconds on a windows machine using ffmpeg. The video file is to be used to concat in front of video files taken with a camera that ...
1
vote
1answer
628 views

How to keep EXIF data in a DSLR video after editing / compressing with Photoshop CC?

So I have a bunch of home video files with my kids and family. I want to do some edits like text overlay, music backgrounds etc and also compress them using Photoshop CC. However, after compressing or ...
1
vote
1answer
617 views

Why does FFmpeg append blank black video to the end of my MP4 files when compressed from MOV?

I have several large MOV files that I want to compress to MP4. Unfortunately, when I use FFmpeg, it appends lots of black (blank) video at the end. (The destination file is longer than the source ...
1
vote
1answer
1k views

ffmpeg: adaptively stretch contrast

Consider a (color) video recorded under poor conditions. Its frames' brightest pixels are well below pure white, its darkest ones well above pure black. Can each frame's contrast be stretched closer ...
0
votes
1answer
1k views

Create a screencast with ffmpeg: how to keep video+audio in sync?

I created some screencasts with ffmpeg. The PC I use has capable hardware (Intel Core i7-4930K Six Core 3.40GHz 12MB Cache, 32 GB RAM), but unfortunately it runs Windows 7. Because I want to do my ...
0
votes
1answer
156 views

add audio to a specfic time at video while merging

I have an audio(REC00006.wav) of 6 seconds duration. I have a video(SUNP.avi) of 17 seconds duration. I need to merge these two files,but the audio should come from the 11th to 17th second of the ...
1
vote
1answer
101 views

Keep input codecs

I have an MKV file with H.264 video and AAC audio. With FFmpeg the default audio codec for MKV is AC3, so if you run a command such as ffmpeg -i infile.mkv -ac 2 outfile.mkv it will transcode the ...
0
votes
0answers
509 views

Video streaming fails over rtp protocol

Video streaming between Unix Server (ffmpeg) and Windows client (vlc) completed without errors. Server side: ffmpeg -f v4l2 -r 25 -i /dev/video0 http://192.168.1.114:27018/feed1.ffm Client side: ...
5
votes
1answer
353 views

Combine/concatenate multiple MP4 files, making each file into a chapter

I am looking to use handbrake to combine 43 short mp4 files into one larger file. However, I want to ensure that the start of each file is recognized as a chapter. I'd be using vlc to play the file.
1
vote
0answers
154 views

Add background music at specific time period in mp3 files using ffmpeg

I want to add background music after every 5 seconds in .mp3 file using ffmpeg. I have 2 audio files : input1.mp3 of 5 seconds and input2.mp3 of 4 minutes 04 seconds. I want to add input1.mp3 after ...
5
votes
1answer
3k views

How to generate a sine wave with ffmpeg?

I would like to generate an audio file with a sine (sinusoid) wave with FFmpeg. I know there is a sine filter but that's as far as it goes. I tried: fmpeg -filter "sine=48:1:5" -c:a pcms16le test ...
0
votes
1answer
2k views

Optimum parameters for FFMPEG to keep file size

so the idea is: I want to convert every.single.video I have in a 1 terabyte drive to a format that my Chromecast can play (https://developers.google.com/cast/docs/media) and I'll happily leaving my ...
0
votes
0answers
367 views

ffmpeg capture frame from input on demand

I'm trying to capture image frames from a webcam on demand. I'm using ffmpeg and I was thinking of keeping a stream running, sort of as a daemon, with: ffmpeg -f v4l2 -i /dev/video0 /dev/null Is it ...
0
votes
1answer
580 views

Downmix drops low frequency channel

I have noticed a problem with FFmpeg downmixing. If I run a command such as ffmpeg -i infile.flac -ac 2 outfile.flac It will have identical result as ffmpeg -i infile.flac \ -map_channel 0.0.0 \ ...
1
vote
1answer
601 views

Using Raspberry Pi as I/O for webcams

I'm working on a project where a Raspberry Pi is being used as an I/O board for multiple servos, which are actually controlled by another computer, connected to the RPi via ethernet. I need to add 2 ...
3
votes
1answer
340 views

Multiple Image Sequences thumbnailed on one image plane. (FFMPEG)

I am asking this question, as i couldn't find anything similar to my problem. I would like to read different image sequence streams and put it "thumbnailed" to a new image stream. From the example ...
0
votes
1answer
460 views

Why can I play ogg file but not convert to mkv or mp4 with FFMPEG?

I want to convert a ogg video to mp4 or mkv, but different errors appear. I have two streams (from the same source) that I captured. They are in an ogg container. If I try to convert them to mkv ...
2
votes
2answers
2k views

How to download a mms stream with G2M4 video?

I have found that Gotomeeting recorded webinars are streamed as MMS streams. It is well known that MMS streams can be downloaded/saved. For instance VLC has a corresponding option in the Open Network ...
0
votes
1answer
1k views

How can I remove multiple segments from a video, keeping the audio, using FFmpeg?

I have tried the method described in an answer to "How can I remove multiple segments from a video using FFmpeg?". It works well, except that the audio is missing. Can anyone suggest how to get both ...
0
votes
1answer
370 views

ffmpeg 2nd pass segfault

I'm trying to get an old transcoding server up and running in a new environment and I'm experiencing some issues getting the well tested ffmpeg commands to work in the new environment. It's a 2 pass ...
1
vote
0answers
133 views

Concatenation of two avi files using ffmpeg in windows 7 [closed]

I have two avi files namely test.avi and SUNP.avi . I need to concatenate these two files into a single avi file I tried with this code ffmpeg -i concat:test.avi|SUNP.avi -c copy new1.avi It is ...
1
vote
1answer
487 views

How to convert any video to .avi with wmv1 codec using ffmpeg/avconv?

I have installed ffmpeg to convert a video. I am trying to convert a .mp4 to a .avi video with the codec wmv1. How to do this? I am using the command avconv in a Kubuntu terminal. Last attempt I did ...
0
votes
0answers
62 views

Put audio and video tracks all together

I have one video track (xvid) and two audio tracks (ac3) in three different files, and I want to put them together. I succeeded, but there is a problem. This is the command I use: ffmpeg -i video....
0
votes
1answer
1k views

stream vlc playlist trhough rtmp live streaming

i am just tried to stream my playlist mp4 file to my live stream. i am using play my playlist via vlc and also stream via vlc. i am using the following code vlc --playlist-autostart --loop --...
0
votes
1answer
343 views

FFmpeg: Connection timed out

I've the following error in my FFmpeg log. It appears after 24+ hours of work. rtsp://admin:passwd@myip:554/live1.sdp: Connection timed out I use the following command: nohup ./ffmpeg -i rtsp://...
0
votes
0answers
407 views

auto install script: ffmpeg + most supported codecs

I would like to install the real ffmpeg framework on my Mint 16 (not the libav one!). The problems are: The public available ffmpeg install packages only offer versions of ffmpeg that do not ...
0
votes
1answer
1k views

Linux On-Demand Streaming Server

I'm looking for a server software for Linux, with which I can stream Video files via the network. I'd prefer a Software with a (web) GUI or one where you only have to point your media player to a URI....
1
vote
0answers
400 views

Second audio stream gets muted and affected by first audio stream's trimming in FFmpeg

I have filter_complex and atrim options in this FFmpeg command: ffmpeg -i adele.mp3 -i Ruby\ on\ Rails\ 101-\ What\ is\ Ruby\ on\ Rails_.mp4 -filter_complex \ "[0:a]aformat=sample_fmts=fltp:...
1
vote
0answers
3k views

Opening a H264 stream from DVR using VLC/FFmpeg

I've been tinkering with ITX's DVR for the past few days, trying to connect to its RTSP stream using the SDK that manufacturer provides. The official syntax goes like this: PLAY rtsp://192.168.100....
1
vote
1answer
278 views

Hauppauge HD PVR 2 to ffmpeg on OS X

How can I use ffmpeg to capture video and audio from a Hauppauge HD PVR 2 connected to my Mac via USB? I have seen a couple posts here and here about doing this on a Unix machine (not OS X) using ...
0
votes
2answers
11k views

Subtitles .SRT are not displayed on my Sony Bravia TV while they are displayed on my Samsung TV

I have plenty of MKV files with their SRT files stored on a DLNA server. Subtitles appear well when watching these movies on my Samsung TV, but do not appear on my Sony Bravia. How can I solve the ...
1
vote
1answer
629 views

FFMPEG stops converting

I've got Ubuntu 12.04 LTS, which runs Wowza Media Server, so I use FFmpeg as a transcoder for live streaming and JWplayer on my website. But ffmpeg always stops converting, and I have to input the ...
1
vote
1answer
703 views

Additional audio duration has been added after using afade filter in FFmpeg

I'm trying to add a fade in effect to an audio using afade filter. Audio is originally 3:30 in time but after executing this command: ffmpeg -i adele.mp3 -af "afade=t=in:ss=0:d=15" test.mp3 it ...
0
votes
0answers
65 views

FFmpeg: Insert a segment from a audio track into another? [duplicate]

Using ffmpeg: How to insert seconds 15 to 20 from "f2.ac3" (5.1) into "f1.mp3" (stereo) at position 44s, thus producing stereo "final.mp3" 5s longer than "f1.mp3", if possible ? final.mp3 = f1.mp3[0,...
1
vote
1answer
6k views

Rotate MP4 video using ffmpeg

I have a webserver running ubuntu that accepts videos from an iPhone app. Obviously this wasn't playing on the Android version of the app as the video was a MOV file. I was easily able to convert the ...
1
vote
4answers
4k views

ffmpeg concat doesn't work with absolute path

I need to use concat with absolute path, but it doesn't seem to work. In the doc it says it should work. Anyone have an idea how to make it work? ffmpeg Doc It doesn't work because it seem to ...
5
votes
1answer
14k views

ffmpeg: Could not find codec parameters for stream 0 (Video: h264) unspecified size

I try to convert a video from .raw to .mp4. For this reason I did download, build and install both x264 and ffmpeg. However, command: ffmpeg -f h264 -i output.raw -vcodec copy output.mp4 fails with ...
4
votes
1answer
941 views

ffmpeg: change alpha channel of a showwaves filter

I've been trying to figure this issue out for a few hours and I can't seem to find any solution. I'm creating a video from an .mp3 and some images with the following command fmpeg.exe -y -i temp\...
3
votes
2answers
837 views

Burn filenames of single images into FFmpeg output video

I am using FFmpeg to read in a series of single images and output them as a video. The result is a timelapse of screenshots of a website in 1 minute intervals. Now I would like to burn the original ...
0
votes
1answer
47 views

Converting images to youtube supported video using ffmpeg

I'm trying to generate a 1.5hr video for uploading to Youtube using ffmpeg with a 1280x720 screenshot and a audio file. I've tried but it takes a long time for Youtube to process the video. how can i ...
3
votes
1answer
679 views

use FFMpeg to send BMPs to stdout

I see lots of examples using FFMpeg to make a video file from a set of images. I can also see how to do the opposite if I want individual files. However, I want the images to be pushed to stdout. This ...
0
votes
1answer
25 views

Does a line with “video:24803kB audio:945kB…” indicate a successful conversion?

I redirect the output during ffmpeg conversion into txt files and I noticed that after multiple lines, it shows the progress. For example: frame= 867 fps= 18 q=29.0 q=31.0 size= 17846kB time=00:00:28....