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
9 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 ...
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
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
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
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 ...
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 ...
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 ...
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 ...
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
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 ...
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
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. ...
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 ...
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 ...
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
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 ...
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 ...
0
votes
0answers
16 views

ffmpeg default filter for input sources

I'd like to create a video from a bunch of still images (as described on the ffmpeg wiki) but I'd like to do a cross fade between each image. Is there any way to do this short of dynamically ...
0
votes
1answer
36 views

Ffmpeg drawtext on top of scaled video regardless of image size

I am making a video from single image using ffmpeg and draw text on top of the video. How can I drawtext that will overlay on top of the scaled video size instead of the image scale? Right now when ...
0
votes
1answer
26 views

ffmpeg video with single image and drawtext failed, -loop causes short freeze

I am trying to create a video from single image and add a text on top. Command on Ubuntu: ffmpeg -loop 1 -r 1 -i image.jpg -b:v 1M -vf scale=320:240 ...
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
0answers
11 views

Overhead in ffmpeg

I am streaming mp3 files,I use libmp3lame for audio codec,there is 2 condition, 1- ffmpeg + nginx rtmp module 2- ffmpeg + ffserver when music is over,in first condition I get 3.8% overhead and with ...
1
vote
0answers
26 views

Re-stream (forward) UDP-Live-Video-Stream (using winsock) reduce video quality?

So, I used ffmpeg to stream the live webcam using UDP protocol to port 1111 : ffmpeg -f dshow -i video="Lenovo EasyCamera" -f mpegts udp://localhost:1111 When I played it directly by ffplay 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 ...
0
votes
0answers
11 views

silence in front of generated audio mpegts

./ffmpeg/ffmpeg -i a.ts -acodec aac -strict -2 -loglevel debug audio.ts Input #0, aac, from 'a.ts': Duration: 00:00:05.06, bitrate: 126 kb/s Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, ...
0
votes
1answer
19 views

Putting a lower bitrate of my video stream in my current mp4 container

What I have is an MP4 movie with a video stream and an audio stream. What I want in the output is an MP4 file containing: the same video stream the same audio stream the same video stream with a ...
1
vote
0answers
26 views

Why can't I get a delay between two audio files

I would like to delay only ONE of the two input files. But, even with a value of 5, itsoffset is not working....why?? ffmpeg -itsoffset 5 -i one.m4a -i five.m4a -strict -2 -filter_complex ...
0
votes
1answer
14 views

Ripping BluRay Audio Streams

I have a bluray audio disc. I've been trying to identify the streams with ffplay but I'm not sure how to do so. I was following the guide on gentoo's website, however ffplay does't show me the ...
0
votes
0answers
11 views

Ffmpeg not copying location metadata

I'm converting vidoes and even though I"m using -map_metadata 0 ffmpeg -i input.mp4 -map_metadata 0 output.mp4 The above code defaults to libx264/libvo_aacenc. The location metadata is not copied, ...
0
votes
2answers
28 views

Split MKV based on Chapters

I have a long MKV file which I want to split into its individual chapters. Running ffmpeg -i long.mkv gives me all the information about the chapters embedded in the file: Duration: 01:23:45.80, ...
1
vote
1answer
9 views

Secure ffmpeg streaming connection?

I've googled & "stackoverflow-ed" but have not found any article about securing the ffmpeg streaming. I want to stream my webcam/ desktop screen to the lan/internet but the first thing in my mind ...
0
votes
1answer
25 views

Live stream backup/alternative source

Hello I Am using ffmpeg and ffserver to stream mpegts with h264 encoding on an Ubuntu Server How Can I create a backup/alternative server so that if server1 stopped for any reason server2 takes its ...
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 ...
2
votes
1answer
18 views

Can't use any wildcard with ffmpeg

The aim is simple, I have a sequence of GIF files: 000000.gif 000001.gif 000002.gif ... I want to make a movie out of them. I tried: ffmpeg.exe -i *.gif output.flv and got "*.gif: Invalid ...
0
votes
0answers
19 views

ffmpeg - how to see what scaling algorithm is used

I'm upscaling a 200x200 video to 400x400 using the -sws_flags scaling option to set the scaling algorithm. Now, I can't tell by the console output if some algorithm was used, neither by the looks of ...
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
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 ...
2
votes
0answers
62 views

FFmpeg “ass” filter not working

I'm haveing a bit of a problem when trying to use FFmpeg. I've mostly been using it to extract clips from videos and such. However, I've been trying to get some subtitles embedded (hardsubs) into the ...
0
votes
0answers
14 views

Is it possible to record live streams with ffmpeg in an audio file with embedded timestamps?

I would like to record the daily programme of an IceCast radio channel (maybe a 24 hour stream), and then select my favourite programmes by embedded timestamps - if possible - according to the daily ...
1
vote
0answers
45 views

How to concat VOB files with ffmpeg using stream mapping?

I have 5 VOB files, I would like to concat them to a big mpegts file, and keeping only the video stream and the last (3rd) audio stream. Unfortunately the stream ordering is different in the VOBs: ...
0
votes
1answer
28 views

Ignore unsupported stream when converting an avi file to an mkv file using ffmpeg

The question Remux to MKV but add all streams using FFmpeg explain how to mux all streams to an MKV file. However this fails when on of the stream was not supported by FFMPEG. For instance using the ...
0
votes
1answer
37 views

How to change ffmpeg -threads settings

Working on a tube site. I'm running videos through ffmpeg on a linux dedicated server to convert to mp4. The server specs: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
0
votes
0answers
49 views

FFmpeg: m2ts -> MKV/AVI/MP4 w/ tri-audio and subtitles

I have a 1080p m2ts file with three audio tracks and a subtitle track. I'd like to convert it to a 720p MKV, or really any format at all, while retaining all three audio tracks along with the subtitle ...
0
votes
1answer
59 views

cannot mix two audio files with amerge/amix ffmpeg

I'm mixing two wav audio files as follows /data/data/com.example.letsjam/app_bin/ffmpeg -i /storage/emulated/0/test1.wav -i /storage/emulated/0/test2.wav -filter:v amerge=inputs=2 ...
0
votes
0answers
36 views

How to concatenate MP4 files without losing embedded subtitle or audio tracks?

I have two MP4 files (mediainfo below), one is a short intro scene, and the other is the primary feature. Now, the primary video contains several audio tracks and embedded subtitles. I want to simply ...
0
votes
0answers
23 views

Using amerge filter in FFMPEG throwing error

I am using FFMPEG to overlay two audios using amerge. I am getting following error : No Opaque field provided, an AVABufferSinkParams struct is required I am using ffmpeg.so file in my ...