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
2answers
283 views

select ffplay audio out device

Hello I have an HDMI out and a USB sound card connected to pcduino running Ubuntu. When I run a video through ffplay, the audio out is selected by default as HDMI. How can I specify or force the out ...
2
votes
0answers
80 views

Disappearing characters between youtube-dl, ffmpeg, and cmd

so what happens is that if the video title has a symbol that isn't supported by your current locale then ffmpeg won't be able to get to that file properly. Here's one example ►2 HOURS BEST MELODIC ...
0
votes
0answers
255 views

DEBIAN / MOTION / FFMPEG not compliant - can't get up to date versions working together

Goals I'm running debian 7.5 (wheezy). In a previous post I described the problem I faced with motion 3.2.12 usage (Avcodec opening fails). To move forward I want to compile the same motion version ...
0
votes
1answer
611 views

How to batch multiplex audio and video track files with ffmpeg

I think that everybody knows that problem about downloading 480p & 1080p videos from Youtube, and that the only way available for many Download programs is to download the Video and Audio Tracks ...
0
votes
1answer
588 views

FFmpeg add multiple audio files to video at specific points

I have two audio files, each about 3 minutes long. I want to take the first 10 seconds of each file and add them each to a video file at specific points - 0 seconds and 10 seconds. So the resulting ...
4
votes
0answers
2k views

create video from jpg images using ffmpeg

I want to make short timelapse video using ffmpeg under ubuntu 12.04 LTS. I have a folder containing all images with names DSC_0000.jpg DSC_0001.jpg and so on. I found this question ffmpeg: create a ...
0
votes
1answer
25 views

map based on specific type of stream

Consider the following file Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'infile.mp4': Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1038 Stream #0:1(eng): Audio: aac (mp4a / ...
0
votes
0answers
232 views

VIDEO Streaming - How to output the video timestamp?

I would like to backup an ASF video stream with the time stamp (I mean the original recording date/time) on the output stream ? Usage I convert / store my video using the mkv format (Matroska) ...
0
votes
0answers
388 views

ffserver-2.2 - streaming an ASF video as OGG output with ffserver on Debian 7.5

I'm trying to stream an IP webcam ASF live stream to a ffserver to output an OGG format. The server starts successfully but the ffserver commands used to feed the ffserver fails with a segment fault. ...
2
votes
1answer
450 views

Encoding H264 with windows ffmpeg results in first few seconds being “blocky”

I am using the following code to transcode a 10mbps high quality 1280x720 H264 mp4 into a lower quality H264 mp4 with our logo watermarked on the video. ffmpeg.exe -i test.mp4 -i watermark.png ...
0
votes
0answers
147 views

ffmpeg: Convert any Video to padded and scaled 720p

I looked for 2 hours through the documentation, but I couldn't figure it out. I currently write a script and now I need to concat up to 10 videos with different ratios/framerates/codecs/size etc. ...
0
votes
1answer
57 views

Sync two movies, frame-accurate?

Given video recordings made on two (or more) cameras such as gopros or keychain cameras, and given a "clapperboard" event in each recording, what is a simple way to trim each recording to start with ...
1
vote
1answer
1k views

Receiving FFMPEG error -22 when piping data to stdout

I am attempting to use FFMPEG to transcode avi files to mp4 and pipe the data to stdout using the following command (technically through NodeJS, but I receive the same error when executing the ...
0
votes
1answer
315 views

merging video and audio with custom panning

I have: a video which has mono audio inside a audio (mono) I'd like to merge those two to a single video file containing: video from #1 audio from #1 full left pan + audio #2 full right pan Is ...
0
votes
0answers
24 views

How can the user-time be so much higher than my real-time when I run ffmpeg on my Mac OS X?

I recently installed ffmpeg on my Macbook Pro, which has 1 processor with 4 cores. I ran a command to convert a video (and timed it), roughly like: time ffmpeg -threads 2 -i blah.mp4 -c:v libx264 ...
0
votes
1answer
37 views

FFMPEG cut for time range

I am using below command for having 15sec - 45 sec range of music but sample.m4a file is starting from 15 sec to 60 sec. Am i using wrong syntax or why it is so ? ffmpeg -ss 00:00:15 -t 00:00:45 -i ...
1
vote
0answers
658 views

ffmpeg - complex filter putting 2 videos side by side results in audio out of sync

We have 2 videos. One is a professionally produced video by an artist that performs a song stopping in certain parts to let the user sing. The second video is a stream that is recorded while the user ...
0
votes
1answer
689 views

Improve ffmpeg command for MKV to MP4 for iPad?

I have many MKVs made from DVDs and BRs by MakeMKV that I converting to MP4 so I can play/stream on my iPad Air. I now use this command for converting my MKVs to MP4: ffmpeg -i input.mkv -strict ...
0
votes
0answers
188 views

Keep album art with ffmpeg while cutting a mp3 file

i try to cut a mp3 file but also keep its album art with ffmpeg. I found out that if the cut begins from 00:00:00 it does keep the album art, if not it does not keep it. I get an error message : ...
3
votes
1answer
9k 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. ...
0
votes
0answers
145 views

.swf file gets cut short after conversion to mp3 with ffmpeg

So I have a .swf file which i need to convert to .mp3 (or any other audio file), it looks like this: vytautas@vytautas-SATELLITE-C660:~/Desktop$ ffmpeg -i rem.swf ffmpeg version 2.2.git Copyright (c) ...
1
vote
1answer
400 views

using ffmpeg to convert mxf to yuv

I am trying to convert mxf file to yuv using ffmpeg. I gave the following command : ffmpeg.exe -i eldorado_really_cutdown.mxf output.yuv but I am getting some errors. This is the output I am getting ...
0
votes
0answers
253 views

ffmpeg how do I use movflags with the segment muxer?

If I encode a file like this: ffmpeg -i input.mp4 -movflags faststart output.mp4 The moov atom is shifted to the start of the output file as expected But when using the segment muxer like this: ...
-1
votes
1answer
159 views

Play FFMPEG while downloading

My internet connection is too slow for streaming videos. However, i found a way to download m3u8 files, which are used for streaming media, and I use ffmpeg to download and transcode the video via a ...
1
vote
1answer
984 views

How to play 4096x2304 video on 3840x2160 Samsung UE65HU7500 [closed]

[To the close voters: TVs are basically tablets now, and similar questions were welcome here in 2012. Please support this proposal and migrate your TV questions if firmware and such are off-topic ...
2
votes
1answer
1k views

Apply fadeout effect to video at multiple places

I have a video of 12 seconds, frame rate is 30 frames per second. I want to apply fade out effect to video on multiple places, for example from second 3rd to 4th and from second 7th to 8th. Have a ...
0
votes
1answer
219 views

Side by Side Videos with faster frame rate

I have been able to combine two videos into one single video with a side by side overlay and I have been able to increase the framerate for a movie but I cannot figure out how to do both. I have ...
0
votes
0answers
95 views

Playback multiple (three) videos, with different starting point, side by side synchronized?

This question is similar to, but not the same as: How to play multiple videos side-by-side synchronized? Difference is that videos I try to playback has different/offset starting point. The answers ...
1
vote
0answers
509 views

Play two files in VLC dummy and give sout parameters to both of them

I want to add multiple files to VLC's web interface. And the commands below do exactly that. Two files are added to the VLC's web interface's playlist. But as you can see, that's not all I wanted - ...
0
votes
0answers
188 views

Audio and video streams merging

I receive two streams. One of them is audio and the second is video. After that i mix them and send like "rtmp" stream. But the problem is video stream falls every 3-4 minutes and i need that "ffmpeg" ...
0
votes
1answer
347 views

FFmpeg map optional (audio) stream

I use this command to produce a file scaled and with an overlay image: ffmpeg -i input.* -i overlay.png -filter_complex "[0:v]...; ...[1:v]overlay=... ... [resultingvideo]" -map "[resultingvideo]" ...
2
votes
0answers
158 views

ffmpeg slow down video and audio leads to garbled audio

I am using this command: ffmpeg -i test-video.mp4 -filter_complex "[0:v]setpts=(2/1)*PTS[v];[0:a]atempo=.5[a]" -map "[v]" -map "[a]" slow-output.mp4 And the audio that comes out is very "digital" ...
0
votes
1answer
38 views

Visual FFMPEG Crop?

Is there a way to get a 'preview' of an ffmepg command to see how the current crop settings would look on an exported video? If not I'll use handbreak as it has a visual preview window when cropping ...
2
votes
1answer
109 views

Is is possible to join H.264 streams encoded with different parameters?

The following commands generate two H.264 video clips, 10 seconds each, with different preset parameters (veryslow vs veryfast), and join them into one single MP4 container. $ ffmpeg -loglevel quiet ...
0
votes
1answer
78 views

Lossless gain audio

I came across this answer How can I normalize audio using ffmpeg? However this involves transcoding the audio stream. I know that programs like MP3Gain AACGain can adjust the volume losslessly, ...
0
votes
3answers
97 views

Let user '_www' execute binary in /usr/local/bin

Total *nix n00b, so I apologize in advance. I installed ffmpeg through homebrew, now I want to call it from a PHP script with shell_exec(), e.g. ffmpeg -v. But nothing is happening. From Terminal it ...
1
vote
0answers
76 views

Overlay two sequences of png's and turn them into a movie

I've found how to turn a png sequence into a movie and I've found how to overlay two movies using transparency but I don't know how to do both things at once (using png's transparency). The bottom ...
4
votes
1answer
817 views

Using ffmpeg to split mkv but get a few seconds video lost (cutting between keyframes without re-encoding?)

I am using ffmpeg (the real one from FFmpeg, not the fake one from Libav) to split some mkv files: ffmpeg -i input.mkv -ss 00:01:00 -to 00:02:00 -codec copy output.mkv However, when I open the ...
1
vote
0answers
1k views

Use a IP-camera as a virtual camera

I want to use an IP camera with webrtc. However webrtc seems to support only webcams. So I try to convert the IP camera's stream to a virtual webcam. I found software like IP Camera Adapter, but they ...
4
votes
1answer
6k views

Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

When i tried to merge an avi file with a wav file it shows the error "Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height". I will ...
-1
votes
1answer
766 views

ffmpeg - convert audio (.au) to mp3

i'm using ffmpeg (on Ubuntu) to convert a .au file to .mp3. File mp3 is created but have 0 byte. That's my output: $ ffmpeg -i 12345678.au output.mp3 ffmpeg version 2.1.4 Copyright (c) 2000-2014 ...
0
votes
1answer
99 views

How do I convert avi and mkv to Mp4 while preserving quality using ffmpeg?

How do I convert avi and mkv to Mp4 using ffmpeg? I would like to preserve the quality of the video during conversion as best as possible.
2
votes
0answers
333 views

Packets are not in the proper order with respect to DTS when using libx264 for video

I'm trying to use the following command to transcode one stream to a different format and send it over to RTMP server for live streaming. This is the command I am using: ffmpeg -f mxg -i ...
2
votes
1answer
464 views

ffmpeg: how to set “joint-stereo” mode in mp3?

How to set joint-stereo mode in ffmpeg when converting from flac to mp3 format? Normally I use this command, but it produces "stereo" mode. I need "joint-stereo". ffmpeg -i input.flac -vn -ac 2 -ar ...
3
votes
1answer
274 views

Skipping the temp dir or changing it at runtime with FFMPEG

See the edit at the bottom. Some info below is wrong. Is there a way to make FFMPEG write directly to the destination and skip the tmp dir? If not is there a way to choose the temp dir at runtime? ...
0
votes
0answers
546 views

Streaming FLV with H.264 and AAC

I'm trying to turn Mobotix IP Camera MxPEG based stream into a FLV stream that uses H.264 for video and AAC for audio, to be used from web-browser context with a flash based player. I've been trying ...
4
votes
1answer
2k views

Convert AVI into H.264 that works inside an HTML5 Video tag

I would like to convert an existing black and white AVI into an H.264 video that works inside an HTML5 video tag. I'm currently using this ffmpeg command: ffmpeg -i file.avi -y -c:v libx264 ...
0
votes
0answers
65 views

FFMPEG concatenation not working correctly

I have a code for wav file concatenation using ffmpeg. E:\vishnu>ffmpeg -f concat -i C:\Users\admin\Desktop\ConcateFile.txt -c copy C:\Users\admin\Desktop\new.wav I will also include the ...
0
votes
1answer
183 views

How to control keyframe generation in ffmpeg

I use ffmpeg to transcode an FLV file that only has one GOP, that is, only the first frame is an I-frame. The problem is that my output file has more than one I-frame, but I need it to only have one ...
1
vote
0answers
127 views

Mixed results writing M4A metadata

Given this file I am having mixed results writing metadata. For example this command ffmpeg -i confetti.mp4 -c copy -f adts - | ffmpeg -i - -c copy -bsf aac_adtstoasc -movflags faststart \ ...