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

FFmpeg Upscaling Video

First I just want to say a bit more about my title, I am not referring to the fact that upscaling doesnt add data(as often asked when upscaling) - but something different. Example I have raw video ...
0
votes
1answer
14 views

ffmpeg error : -vf/-af/-filter and -filter_complex cannot be used together

I am trying to run the following cmd, which should add a watermark to the video and also upscale it. ffmpeg -i "in.avi" -i "\logo.png" -vf scale=854:-1 -preset veryfast -crf 20 -filter_complex ...
0
votes
0answers
11 views

Using ffmpeg to capture time lapse of desktop

I'd like to use ffmpeg to capture a time lapse video of the desktop. The goal is to take an image every 3 seconds and create a high speed playback time lapse. Currently I'm using this command, but ...
0
votes
1answer
10 views

FFMPEG - How to record multiple RTMP streams into multiple files

I tried the following, but it does not work. ffmpeg -i rtmp://83.229.210.89/RAZTV/BTVraztv1 -map 0 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 ...
0
votes
0answers
13 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
1
vote
0answers
18 views

Is there multiple types of transitions in ffmpeg while merging two or more videos?

I have 3 video files. I am using ffmpeg library to merge them all. While merging them right now I am using fade In/Out transitions only. I want to enhance that feature in my site, can I do ...
1
vote
1answer
34 views

crossfade between 2 videos using ffmpeg

I've been trying to achieve a crossfade transition between 2 video clips using ffmpeg but have failed so far. I'm new to ffmpeg and am mostly relying on tweaking what I can find in the documentation ...
-1
votes
1answer
27 views

Run shell script (.sh) from wine

I am new to the wine community. I need some help with a project I am trying to do. I have installed Wine over Ubuntu 14.04 and I have installed ffmpeg on my machine (ffmpeg as a linux program). I ...
0
votes
0answers
12 views

Webcam overlay drifts away from screengrab

I'm using ffmpeg like this: ffmpeg -itsoffset -2 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -f x11grab -r 15 -i :0.0 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; movie=/dev/video0:f=video4linux2, ...
0
votes
0answers
5 views

choppy audio output with multiple video sources

I'm running this to put a screencast and webcam side by side and stream it over the net: ffmpeg -f x11grab -r 15 -i :0.0 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; ...
0
votes
1answer
19 views

FFMPEG - Convert a video to a timelapse

I'm using ffmpeg in flash builder (Action script 3) to convert a video to a time lapse of the video. I've worked out how to use setpts to do this, but the resulting output file is the same length as ...
0
votes
1answer
29 views

ffmpeg webcam capture a/v out of sync

I'm running this command to capture video and audio from my webcam: ffmpeg -y -f video4linux2 -s 320x240 -i /dev/video0 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -ac 2 -strict experimental ...
0
votes
1answer
24 views

ffmpeg can't create Ogg Vorbis

I'm trying to convert a set of .PNG files and a .WAV file into an Ogg Vorbis video using ffmpeg on Windows 7. When I run "ffmpeg -codecs" I can see libvorbis listed, but when I try to use it in a ...
0
votes
0answers
14 views

Video orientation flag reset or disabling it on youtube [duplicate]

I've recorded a video on my smartphone (android-based). I've been recording it in a landscape mode. Then when I uploaded it on youtube - it somehow recognized the original orientation and made it to ...
0
votes
0answers
10 views

Improve seeking precision for wma encoded in ffmpeg

Compressed audio formats (like compressed video) have trouble doing precise seeking. Is there something in the ffmpeg encode settings that I can change to make the resulting audio file allow more ...
0
votes
1answer
88 views

Good way to convert video to VP9 and HEVC (h265) as easily as Handbrake [on hold]

I have a Sony 4K camcorder that records into AVC (h264). The files are enormous and I'd like to convert them into a more efficient codec. I've used Handbrake extensively to compress my videos into ...
0
votes
0answers
33 views

Mix arbitrary number of audio files into single stereo audio file using ffmpeg

I'm currently working on a karaoke application and need to merge arbitrary number (from 1 up to 12) input tracks together with a song track into single output audio file that should be stereo. I ...
0
votes
0answers
20 views

Ubuntu Screencasting: Libavdevice segmentation fault

I'm trying to stream to twitch a screencast of a remote desktop, but I meet some segmentation fault. The OS is: Xubuntu 14.04 , xfce, x2go I tried with Ubuntu 14.04, Ubuntu 12.04, ffmpeg and avconv, ...
1
vote
0answers
25 views

FFMPEG create zoompan shaky or jittery

I want to create 5 second mp4 video from 1 image. When I use below code the video is smooth. Default direction is zoom in to top left. ffmpeg -loop 1 -i prop1.jpeg -vf ...
0
votes
0answers
19 views

ffmpeg errors when converting caf to mp3/wav

It seems similar posts around here suggest this should work but I keep getting errors. While trying to convert a caf file to an mp3 or wav using ffmpeg ffmpeg -i sample.caf out.mp3 libavutil ...
0
votes
0answers
17 views

ffmpeg overlay rotated images onto a video, how to transparent the output area not covered by the rotated image?

I am using ffmpeg to overlay a picture on a movie. The requirement is to rotate the picture through an arbitrary angle. Using filter_complex, I can overlay the rotated picture now. However, the output ...
0
votes
0answers
11 views

Troubles getting -t option with ffmpeg to produce a gif with the right fps and length

I created a movie using matplotlib (the Python graphing package). It is 10 seconds long. I attempted to produce a *.gif using ffmpeg with the following command: ffmpeg -i animation.mp4 -pix_fmt ...
0
votes
1answer
23 views

ffmpeg hue shift in tiff output

I'm using these commands to generate tiff and jpeg output from the same input mpeg2 file ffmpeg -ss 14 -i '../test/test-in.mpg' -q:v 3 -vframes 1 -aspect 4:3 -vf ...
0
votes
0answers
33 views

ffmpeg - cannot fade to white in x264

I have a directory full of images that I am converting into a video using ffmpeg. The first frame is a black title frame that fades/morphs into the first video frame, with a 5-frame morph. I do ...
0
votes
1answer
67 views

Unrecognized option 'b:v' when trying to convert a video

I get "Unrecognized option b:v" when I tried to convert a video. I'm using FFmpeg version SVN-r26402. Here is my error log: Raw Conversion Log Started on 2014-06-29 00:02:02 - 2014 Jun 29 Checking ...
0
votes
1answer
40 views

FFmpeg encoding part of the video with subtitles

encode part of a file and at the same time add the subtitles for that part. I am using: ffmpeg -ss 00:02:00 -t 00:00:30 -i "path/to/input" -c:v libvpx -crf 5 -b:v 3M -c:a libvorbis -vf ...
0
votes
0answers
120 views

Streaming an RTMP live stream from NGINX to Icecast2 on CentOS

I have had success with using exec_push in NGINX's RTMP module to have FFMPEG convert live streams to HLS. The next thing that I would like to do is publish an audio stream from the same source to ...
2
votes
0answers
61 views

How to merge MP4 files with different bitrates?

I want to merge two or three MP4 videos with MPEG-4 AVC video codec and MP3 (sometimes MP3 Surround) audio codecs. Both audio and video can have different bitrate. If it will be possible, without ...
0
votes
1answer
32 views

Using a screen capture program (ffmpeg with uscreencapture in my case) to record a Flash video playing on screen

I'm trying to capture my desktop, precisely a full screen video - think "YouTube video on full screen situation", or if you'd record a programme on iPlayer (or any other content deliverer) - what ...
1
vote
0answers
18 views

How can I select the most “steady” frames from a video with ffmpeg, where less motion occurs?

I would like to use ffmpeg to select out frames from a video to make a preview picture. In the past I selected out frames manually: I extracted 1000 frames at equidistant time and then I picked out ...
0
votes
1answer
33 views

Fast-Play 1 Hr. Video (with Audio stream) in 2 min

For a Research Project in brain and cognition we need to show the subjects 1Hr. videos in 2 mins. I understand there is a function in most media players out there to speed up the video. But I'm not ...
1
vote
1answer
20 views

Piping xpra to ffmpeg

I'm trying to record a headless, xpra display. (I've attempted both the xvfb and Xdummy options). The issue is with ffmpeg's "x11grab". The command being used is: /usr/bin/ffmpeg -y -framerate 2 ...
0
votes
0answers
32 views

Converting RAW Blackmagic Intensity Card frames

I am trying to convert raw video frames that I have captured using a Blackmagic Design Intensity card. The output frames are of the format: YCbCr 4:2:2 packed 8 Bit UYVY Abekas How can I convert ...
1
vote
1answer
24 views

Is it possible to autocrop black borders of a video with ffmpeg?

I think it has a "blackness" video filter, which can determine if a picture sequence is black. Maybe it also has a filter to determine crop values automatically to remove black borders form edges of a ...
1
vote
1answer
13 views

FFmpeg pass through

I've a number of downloaded FLV files which I would like to convert to MP4. They are already in the correct format so I am told all I need to do is to remux the video and audio streams into an MP4 ...
0
votes
0answers
38 views

FFplay : How to play multi audio track at the same time?

I'm trying to play a video with multi audio track in it. It's a conversation on three different tracks. At the moment, I'm only able to play one track at a time. I can't find a player that work this ...
0
votes
1answer
33 views

Missing reference frame, slice header decode error

I split this (http://www.auby.no/files/video_tests/h264_720p_mp_3.1_3mbps_aac_shrinkage.mp4) video using mp4box command "MP4Box -split 1 shrinking.mp4" into slices of 1 second each. I have following ...
0
votes
1answer
24 views

How to replace part of audio in a video using the command line?

Part of a recorded audio contains sensitive information. I want to remove that information while keeping the video and rest of the audio intact. Ideally using command line and being able to exactly ...
1
vote
1answer
24 views

How can I save an avconv/ffmpeg command for later?

I'd like to save my entire avconv command with options so that I can reuse it without typing it in every time. I would still need to specify the input and output filenames. How do I do this? I'm on ...
1
vote
0answers
25 views

How to check .mp4 file is corrupted or not.

I am recording two different videos in the .mp4 format using ffmpeg command and after that combining them. But sometimes one of the video is get corrupted because of that it will affecting on the ...
0
votes
0answers
20 views

Ffmpeg : I-Frame detection oddity on a single channel input

Summary: When trying to abstract out I-Frames from various positions in videos with slight time offsets, identical results were produced between different offsets. Through experimentation a workaround ...
1
vote
0answers
70 views

Using avconv to convert an animated gif to mp4 with sound

I want to convert an animated gif and a midi (music) file into a mp4 video. Is it possible? I saw a lot of topics on documentation, foruns and stackexchange sites, but I didn't find. It works with 1 ...
1
vote
1answer
13 views

Problems when batch converting .aea files using ffmpeg

I'm running into a problem when using a bash for loop to convert all .aea files in a directory using ffmpeg (in this case, to .wav). I'm using the following: for f in *.aea; do ffmpeg -i "$f" ...
1
vote
1answer
31 views

FFmpeg : Slow seeking on compression process

I use ffmpeg to cut some parts of videos. To target the part I want, I usually use the options -ss 01:00:00 -to 01:00:10. That allow me to select the 10 seconds I want to grab but more far the start ...
0
votes
0answers
19 views

How to burn colorful subtitle into video using ffmpeg?

I want to burn an srt file into a mp4 video. To make the subtitles perfectly visible, I want the subtitle text to be yellow on a brownish semi-transparent background. I know that there are some GUI ...
0
votes
1answer
30 views

How to determine stream delay in ffmpeg

I am using following command to merge two live audio streams and also want to manage delay between streams: ffmpeg -i rtmp://myIp:1935/live/stream1 -i rtmp:/myIp:1935/live/stream2 -codec:a aac ...
0
votes
1answer
74 views

FFmpeg : mixing and setting each volume of a multi audio track file

I'm trying to mix all audio tracks from a multi audio track video file. I did it successfully but I noticed that the first is loud, the second is normal and the third is low. I would like to normalise ...
0
votes
1answer
34 views

MPEG-TS playback with MPlayer: current timestamp and duration are wrong

Recently I have been playing a lot of MPEG-TS videos on MPlayer. The sources of the videos are unclear to me, so I have no idea of with which software these TS videos were created. The problem is ...
0
votes
0answers
51 views

FFmpeg unable to find a suitable output format when run from script

I'm trying to write bash script, which I can use to start encode of my video for web player, and also log to file when it started / finished. It looks like this: #!/bin/bash ...
0
votes
1answer
47 views

FFMPEG not working after upgrade php version from 5.2 to 5.3.28

After upgrade php version DL() function is not working. I have tried with extension=extension.so in php.ini its working but below command ffmpeg -y -i input.m4v -vcodec libx264 -vpre ipod640 -bt 50k ...