3,273 reputation
11718
bio website
location
age
visits member for 5 years, 5 months
seen Dec 22 at 8:16

Jun
16
comment ffmpeg: combine two mono live audio stream to single stereo stream
If you have more questions then add a new Question, not a comment.
Jun
13
comment ffmpeg: combine two mono live audio stream to single stereo stream
@Yuvrajsinh: If you use -itsoffset place it before the -i option for the input you want to adjust. Alternatively try the adelay filter, e.g. [0:a]adelay=3000[delay0];[delay0][1:a]amix
Dec
4
comment How to add my logo for the first 30 seconds in a video with ffmpeg?
@Rajib: The reason for the -framerate and -loop for a still image is so that the fade out will work. If there is only a single frame then it has no way to fade out over a 1 second interval. Ideally it should be the same frame rate as the video so that the fade will be as smooth as possible.
Dec
4
comment How to add my logo for the first 30 seconds in a video with ffmpeg?
@iwocan: Sorry, add -shortest (or -t and the desired duration) before the output file name. Otherwise the png will be looped forever.
Dec
4
comment Creating a movie from images using ffmpeg but getting only one frame
The second command should work. Are your files named input-00001.png, input-00002.png, etc.? What does the output from ffmpeg say?
Nov
4
comment dividing a video clip by 4 areas
@Saeid87: It's working for me. You can also specify numbers if you know the width and height.
Sep
9
comment Converted MP4 not playing in Chrome
MP4 is a container and can contain video and audio using various codecs. In VLC choose Media Information from the menu, click on Codec Details and expand the streams. Verify that the video codec is H.264.
Aug
16
comment dividing a video clip by 4 areas
See the documentation for the full crop syntax. ffmpeg.org/ffmpeg-filters.html#crop
Aug
15
comment Converting avi to mov (pro res format) using ffmpeg
Looks ok, although normally the frame rate (-r) is specified in the container and you shouldn't need to change it. You shouldn't need to set the number of samples per audio packet either. What is the issue that you are encountering?
Aug
13
comment Put loudness of many video files to the same level
Are you using a program to edit/encode the videos? If so then look for a normalize option (ideally EBU R128 loudness normalization) in that program. If you don't want to re-encode anything, many formats have a way to add a tag that asks the player to adjust the gain by a specified amount.
Jul
11
comment FFmpeg: image intro
You can use ffprobe to get the dimensions and duration first if you don't already know them. Insert scale=1280x720, before the intro fade-out if you want to scale the intro to those dimensions. If you want to fade to an outro I suggest overlaying the outro over the main video and fade it in, so that you won't need an alpha channel on your main video. Use the duration to compute the time of the fade and its -itsoffset. Or use the concat filter if you don't care about fading and just want a jump cut.
Jul
6
comment Chrome and Safari show the same behavior on OS X
Have you disabled Javascript, Flash, or cookies? Those links work for me if Javascript is on, but do nothing if it is off.
Jul
4
comment ffmpeg does not apply watermark on first generated frame (wm is applied on all other frames)
@JohnSmith: In general, movie= provides multiple frames. It has to start at some time. You could use the setpts filter to shift the movie= to start earlier, if you knew how much to shift. But removing the negative portions with select is better since the start frame will then be closer to what was requested.
Jun
24
comment Double deinterlace with full motion - ffmpeg + yadif 50i-50p 60i-60p
Are you sure that your input is interlaced? You can use ffmpeg -i input.m2t -filter:v idet -f null - to analyze it for frames that appear to be top-frame-first interlaced, bottom-frame-first interlaced, or progressive.
Jun
22
comment Double deinterlace with full motion - ffmpeg + yadif 50i-50p 60i-60p
yadif=1 works for me: twice as many frames and each is different
Jun
20
comment Extracting wav from mp4 while preserving the highest possible quality
BTW you could also ask it to resample at a higher rate, but that would just increase the file size and not the quality, so there's not much point in that unless you need a specific sample rate.
Jun
20
comment Extracting wav from mp4 while preserving the highest possible quality
The sample rate will be the same as that of the input. Because it is uncompressed, the bitrate for the wav file is simply the sample rate × sample size × number of channels. If you wanted to reduce the quality you can ask ffmpeg to resample it to a lower rate, change it to 8-bit PCM, or downmix to mono, but it does not do that by default.
Jun
12
comment FFmpeg: image intro
With the -itsoffset 5 it will put the intro in front and shift the video by 5 seconds, or remove that to overlay with no shifting. To add an outro you can add a 3rd input like the 2nd (-r + -loop + -i), and add more filters to alpha-fade it in at the desired frame (e.g. length of the video × frame rate) and overlay it. You can have as many filters as you like (e.g. fade in, watermark), separated by ;, within a single -filter_complex argument. See the documentation for complete details and some examples.
May
14
comment Automatic updates of Firefox (stable and beta) don't work on OS X
The aurora/nightly builds are automatically generated and I don't think it uses all of the variables to pick one, whereas beta and stable are tested and have officially supported versions and platforms.
May
14
comment Automatic updates of Firefox (stable and beta) don't work on OS X
@Ube: Darwin_x86_64-gcc3-u-i386-x86_64 means a universal binary supporting both i386 and x86_64, running on x86_64. Darwin_x86_64-gcc‌​3 means that you are running an x86_64-only version. The distribution Mac builds are universal; there are no x86_64-only updates. Did you build it yourself or strip out the i386 part? file /Applications/Firefox.app/Contents/MacOS/firefox in a Terminal will show which architectures your firefox binary supports. I don't know how it got that way but you could potentially edit app.update.url and replace %BUILD_TARGET% with Darwin_x86_64-gcc3-u-i386-x86_64.