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
8 views

Using FFmpeg to stream from webcam on Linux

I'm try to stream input from a webcam to an http server, using FFmpeg. I cannot seem to figure out how to do this. From v4l2, these are my options: $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 ...
0
votes
0answers
10 views

Some transcoded streams delayed or not playable from ffmpeg

Some of the audio files in my music collection are unplayable when transcoding them using ffmpeg. Most audio files transcode nicely using the default settings for my Subsonic media server. I'm pretty ...
0
votes
0answers
14 views

ffmpeg - Normalize Audio With Varying Audio Volume

I have a .MOV file whose sound I would like to normalize. However, when I run the following command I see that the volume varies (mono to stereo and with varying max_volume levels) throughout the ...
1
vote
1answer
30 views

How to start watermark video when it appears?

This is my scenario: I want to add a watermark video in other video, but I want that the watermark starts when it appears. Actually I'm able to display a watermark video and playing it from the ...
0
votes
1answer
102 views

Create a folder.jpeg for videos from batch script

I want to be able to run a batch file and it looks in all the folders within directory and creates a folder.jpeg for each flv it finds in a folder. I have this script that works but it puts the ...
0
votes
1answer
9 views

instalation ffmpeg in Ubuntu

I am using following steps for installing ffmpeg-php extension in Ubuntu Download ffmpeg-php-0.5.2.1.tbz2 extract it go to this directory run this "phpize" ./configure && make but when I ...
0
votes
1answer
41 views

FFMPEG combine PNGs of different size into movie

Is it possible to combine PNG of different heights without rescaling (like tile does)? I have pairs of images of same width, but first has height 900px and second 200px. I would like them to merge ...
0
votes
0answers
12 views

Fast MP4 thumbnails

I have worked with FFmpeg, AtomicParsley and Mp4Box in the past to set MP4 thumbnails. However today I realized that MediaMonkey can also set them, and fast. The previous three programs listed all ...
0
votes
0answers
12 views

ffmpeg speed up video but keep same quality

I made a timelapse out of an image sequence using ffmpeg and the copy codec to disable compression and keep the quality to a max. The timelapse is a bit too long (10 minutes and up) so I tried to use ...
0
votes
2answers
1k views

Combine multiple images to form a strip of images ffmpeg

I wish to combine multiple images into a single strip of images, using FFMPEG. I have been trying to search this thing on google, but unable to find anything useful. All links take me to places ...
0
votes
0answers
10 views

How to split an MPEG-2 video stream accurately?

I got a NTSC DVD iso image, and the video stream was encoded to H.262/MPEG-2 format,but there are two chapters located in three seperated .vob files, the film in the first chapter has been processed ...
8
votes
1answer
4k views

Streaming mp4 with ffmpeg

I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
0
votes
1answer
30 views

error in convert video with ffmpeg

FFmpeg failed to transcode dsmall.mp4. Reported errors PHPVideoToolkit error: Execute error. It was not possible to encode ...
0
votes
2answers
1k views

How to convert .mov videos to iPhone playable mp4 videos

I am trying to convert .mov videos to mp4(should be playable in iPhone) using ffmpeg.I am using Linux CLI. I have tried the following command: -i source.MOV -s qvga -b 384k -vcodec libx264 -r 23.976 ...
0
votes
0answers
11 views

FFmpeg trick mode (fast forward and rewind) during encode possible?

I'm trying to watch a live stream on my Roku (though this should apply to other devices) though my Roku only supports mkv and mp4 which I don't believe is the issue. if I pipe in the live stream and ...
3
votes
1answer
2k views

How do I merge a folder of PNG images to a mp4 movie using avconv?

I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this: └── images ├── img_20130421_115547.png ├── ...
39
votes
4answers
52k views

Using ffmpeg to cut up video

I am using ffmpeg to cut out a section of a large file like this: ffmpeg -i input.wmv -ss 60 -t 60 -acodec copy -vcodec copy output.wmv The -ss part works fine but the -t is ignored. It correctly ...
0
votes
0answers
38 views

Creating video from set of images on windows with java language

I am stuck making a video from set of images using ffmpeg on Windows. For a single image it is converting into mp4 but for a set of images it failed, I have converted single % to double % with double ...
0
votes
0answers
15 views

FFmpeg overlay two videos, one input with transparency

I am trying to create a karaoke from a CD+G file (converted to AVI using FFmpeg) and add a video as a background of the lyrics. Here's a screenshot of a the output from CD+G conversion, for ...
1
vote
1answer
17 views

How to place metadata at beginning of MP4 video using ffmpeg

I am trimming the video using ffmpeg but the metadata position was founded at last in output video. Is there any way to put metadata at beginning of output.mp4
4
votes
1answer
2k views

Can ImageMagick make thumbnails from video?

I'm trying to extract thumbnails from video via ImageMagick. I found some samples from their official site, but it makes GIF, not PNG. I want a solid thumbnail though. Can it create the same output ...
9
votes
2answers
7k views

Convert audio file to FLAC with ffmpeg?

can I convert one of this format to compatible 16000.0 Sample Rate FLAC file? kAudioFormatLinearPCM = 'lpcm', kAudioFormatAppleIMA4 = 'ima4', kAudioFormatMPEG4AAC ...
1
vote
0answers
83 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 ...
0
votes
0answers
16 views

Merging audio and video files of different length using mp4box

I have to merge video and audio file together. Currently I am using this command mp4box -flat -add <video> -add <audio> <outputfile>.mp4 But the problem is, if the video is of say ...
3
votes
1answer
10k views

How To Check My Current Version of FFMPEG

I have FFMPEG installed on 2 different servers. On one of the servers, i run into an issue every time i try to convert m4v files where ffmpeg just processes the file indefinitely. When I take the ...
0
votes
2answers
49 views

Crazy terminal behavior

I am trying to run a script to rip all the audio from a bunch of MP4 files. Everything works when I do it line by line cutting and pasting from my text editor into terminal, but when I create a shell ...
0
votes
1answer
23 views

Issue in converting the video

I'm trying to convert a video of configuration 1080p-Resolution; 18Mps-video bitrate; 30fps to 1080p; 18Mps; 60fps using ffmpeg on windows platform. I use the command: ffmpeg -i input.avi -r 60 ...
0
votes
1answer
26 views

ffmpeg: Adding Drawtext timecode & Watermark with -filter_complex, Stream Matching

I am trying to add the timecode with drawtext and put a logo with ffmpeg. The command line looks like this: ffmpeg -i INPUT.MP4 -i logo.png / -filter_complex ...
0
votes
1answer
299 views

Rip CD/DVD with ffmpeg

Is this possible with ffmpeg? Do you have any links that explain how to do this? I have searched with Google but had not many results. I just want to be able to convert a CD or DVD to MP3 audio ...
0
votes
2answers
22 views

ffmpeg add audio but keep video length the same (not -shortest)

I'm adding audio to a video file using ffmpeg like so ffmpeg -i videofile.mp4 -i audiofile.wav output.mp4 However this extends the output video file to be the length of the audio file if it is ...
0
votes
1answer
42 views

ffmpeg edit avi metadata and audio track naming

I have a bunch of movies in avi format on my disk. However, they don't contain any metadata like title etc. I found a command which would do it for me : ffmpeg -i input.avi -metadata ...
0
votes
1answer
26 views

How can I convert videos for Sony Xperia U on my Linux box?

I would like to send a few videos for my girlfriend, but I would ensure they are playable on her mobile phone. I want to carry out the encoding tasks on my Arch Linux box, because my PC is a low end. ...
1
vote
0answers
698 views

Fade in a movie from white with FFmpeg

I have an AVI file and I want to create a fade effect, BUT I want the fade-in to begin with white, meaning I want the first frame to be white and the movie should slowly (and continuously) appear ...
1
vote
1answer
11 views

How to make the cygwin fontconfig package inherit Windows fonts?

I'm using a cygwin64 build of ffmpeg (1, 2) to burn subtitles into a video file as follows: $ ffmpeg -i file.mp4 -vf subtitles=file.srt file.ts ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg ...
0
votes
1answer
2k views

Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they ...
0
votes
1answer
3k views

Extract subtitle from video.

I am trying to extract subtitle from video as .srt file, I used the following command: FFMPEG -i mytestmovie.mkv -vn -an -codec:s:0.1 srt sub.srt But, I got an error as Unrecognized option ...
8
votes
3answers
24k views

Convert AVI to MP4 keeping the same quality

I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it? Original Video: Original Video Screen: FFmpeg console output (ffmpeg -i ...
1
vote
1answer
30 views

How to remove fisheye from videos on Ubuntu

I have some videos I have taken using a head-mounted video-camera. The camera records the videos with a 'fisheye' effect. How do I remove it?
0
votes
1answer
1k views

ffmpeg: Converting MKV to MP4 lossless

I'm new to ffmpeg (windows), and need some help. I want to convert my MKVs to MP4 with as little loss in quality as possible. The MKVs are made with makemkv, and contains among others DTS soundtrack. ...
1
vote
1answer
1k views

FFMPEG video to FLV conversion optimization

I have a video site where users can upload videos which will be converted to FLV format and displayed. Those videos are shown at a size of 420x350. I'm using FFmpeg to convert then to FLV format ...
0
votes
0answers
23 views

How to save udp stream to .ts files whith ffmpeg while keeping timestamp?

I need to record a live udp stream containing multiple TV programs ( up to 30 ) to .ts files .To do so i'm using FFMPEG . I have a muxer at work , but i dont go there everyday so im using a sample ...
0
votes
1answer
23 views

How to replace an audio stream in a video file with multiple audio streams?

I want to replace the second audio stream (0:2) in a video file that has two audio streams and give it a label if possible. How would I go about this? All the ffmpeg commands I found won't let me keep ...
3
votes
1answer
132 views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
3
votes
1answer
536 views

New FFMPEG; “[swscaler @ 0xa314080] Warning: data is not aligned! This can lead to a speedloss”

related to ; Create a screencast with ffmpeg: how to keep video+audio in sync? ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers built on Mar 13 2014 16:08:45 with gcc 4.8 ...
0
votes
0answers
20 views

Trying to remove 1152 samples, but the queue is empty

I am streaming mp3 files,using this command : ffmpeg -re -i 'INPUT.mp3' -map_metadata -1 -map 0:0 URL I create a loop which stream files,and there is no problem with reviving stream,just from ...
0
votes
1answer
30 views

Use FFMPEG to create xvid avi from image sequence

I'm having trouble encoding a sequence of images (that might not start from 0000) to an avi ffmpeg -y -f image2 -framerate 30 -start_number 560 -i "images_%04d.png" -an -vcodec rawvideo -pix_fmt ...
3
votes
1answer
3k 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 ...
3
votes
3answers
1k views

Convert video from .mp4 to .ogg

I am using ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers . I need to convert a file .mp4, to .ogg format. I am on Mac OS X, and I have tried this so far: ffmpeg -i ...
0
votes
0answers
43 views

connection timed out on terminal , ubuntu 14.04 , ffmpeg streaming ,rtmp://

my problem is "rtmp://... :connection timed out" and "cannot open connection tcp://..." on terminal ubuntu 14.04. i'm trying streaming with ffmpeg, but errors that, please help me, thank you in advice ...
4
votes
2answers
6k views

Why is converting WMV to MP4 so slow?

I am trying to convert a video from WMV to MP4 with FFmpeg but it takes couple of hours. If I try to convert it to AVI it only takes about 10-15 minutes. ffmpeg version ffmpeg version ...