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

how to maintain the pixel clarity using ffmpeg to resize .gif to .gif format

I want to reduce the resolution of the .gif file but I need the clarity to be maintained with the same .gif format. Here is the ffmpeg image resize command which I used. ffmpeg -i input.gif -y -s ...
1
vote
1answer
25 views

Upscaling video with different filter on each side

I need scale up video from one DOS game using FFmpeg. But with Nearest-neighbor interpolation on left side and xBR filter on the other one. Input (320x200) Output (1280x800) Here is a command, ...
0
votes
0answers
16 views

ffmpeg, how to add new audio (mixing) in video [duplicate]

I want to add an audio file in video. The resultant video contain both the audios, first contain by video it self and second from audio file. Basically mix both the audios. Final video have two ...
0
votes
1answer
16 views

Muxing Audio Over Video Using Ffmpeg

So i have been through lots of tests and i still cannot seem to get audio to mux over video using ffmpeg and cannot figure where i am going wrong so would really appreciate some help. I have this ...
0
votes
1answer
25 views

ffmpeg - images from video at different sections and incrementally numbered

I am using ffmpeg to extract still images from a video. From a given time, for a given duration using the -ss and -t parameters. ffmpeg -ss 00:10:01 -t 2 -i /Volumes/OO_8/VideoSource.mkv -qscale:v 2 ...
1
vote
0answers
11 views

How to use ffmpeg frei0r filter with mixer2 plugins

I'm using frei0r-20121203-git-f4bac51-filters-win64.7z and zeranoe ffmpeg, then set PATH. twolay0r plugin is fine, but value plugin is error. set FREI0R_PATH=frei0r-20121203-git-f4bac51-filters-win64 ...
0
votes
0answers
10 views

ffmpeg “-bug” parameter explanation

I found "-bug" parameter for ffmpeg in one of encoding scripts, and have no idea what it is. ffmpeg man page says that it's action for not autodetected encoder bugs, but I can't find any information ...
0
votes
0answers
7 views

Pipe remote jpg webcam image to ffmpeg as video

I have a cheap ip webcam. All it provides is a single http url to a static jpg file. Such as http:///image.jpg. Repeatedly requesting the same url will provide subsequent frames from the ip camera. ...
0
votes
1answer
40 views

Force ffmpeg to use 100% of CPU

I'm using ffmpeg to extract frames from video, but the process is so slow. Looking at CPU usage I see that ffmpeg use only 50% of my CPU. I've tried also to add -threads 4, but it seems it doesn't ...
1
vote
1answer
31 views

Problems with joining videos in FFmpeg with a cross-fade effect (buffer queue overflow, frames dropped)

I can successfully join a couple of videos into one (using this method) with a nice cross-fade effect in between, but the output video contains no audio. I'm using the -filter_complex command. I've ...
0
votes
0answers
12 views

How can I batch convert all of my video files to AAC audio without converting the video?

I've used XMedia Recode to do this and it works great. I set video to "copy", audio to "convert", and it takes 2 minutes for a 2GB file. There's two problems with it for batch work though. It doesn't ...
1
vote
1answer
29 views

ffmpeg mapping help, encode 1 6ch audio into multi-tracks

I have 2 input files: cover.jpg audio.dts (6 channel) My target file will be a mp4 with 1 video and 3 audio: audio 1 is 2 channel aac audio 2 is 6 channel ac3 audio 3 is 6 channel dts Here is ...
0
votes
0answers
205 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 ...
26
votes
1answer
18k views

FFMPEG Splitting MP4 with Same Quality

I have one large MP4 file. I am attempting to split it into smaller files. ffmpeg -i largefile.mp4 -sameq -ss 00:00:00 -t 00:50:00 smallfile.mp4 I thought using -sameq would keep the same quality ...
2
votes
1answer
30 views

FFMPEG filter to boxblur and greyscale a video using alpha mask

Can someone show me how to enhance the example found here: FFmpeg - Apply blur over face To do the following: Use an input alpha mask PNG instead of a declared rectangular region both blur and ...
0
votes
2answers
3k views

HTML5 video player stutters even after video is loaded

I am using jwplayer to display videos on my websites but cannot manage to make them running smoothly. They stutter, especially in full screen, although I wait for the video to fully load. I tried ...
0
votes
0answers
38 views

Getting an mp4 to play on iOS Safari with ffmpeg

I have a script that cuts and splices some video from youtube with ffmpeg to make an mpeg thumbnail. The final result is an mp4 that runs fine with the HTML <video> tag on Mac OSX Safari, ...
0
votes
1answer
2k views

ffmpeg fastest way to convert videos avi to mp4

I have server which has: 8x3,4 (sandy bridge cpu) 10gb ram i tried different combinations to convert vvideos i mean avi to mp4 but it takes so long: - ~20mins=~200mb maybe there is some ffmpeg ...
0
votes
1answer
593 views

FFMPEG “Past duration 0.xxxxxx too large”

I'm recording an HLS streaming and I would like to save in a FLV Container. My ffmpeg's cmd is: /.../recorder/class/ffmpeg-2.6.1-32bit-static/./ffmpeg -i http://server/url/playlist.m3u8 -b:a 128K ...
1
vote
2answers
27 views

ffmpeg wants to overwrite existing images

I want to make a timelapse movie with ffmpeg. For now I use mencoder with following command: mencoder mf://*.jpg -mf fps=12 -nosound -noskip -ovc copy -o Zeitraffer$begin.avi I'm trying to make a ...
27
votes
3answers
27k views

Remove audio from video file with FFmpeg

How can I strip the audio track out of a video file with FFmpeg?
2
votes
4answers
4k views

How to create a thumbnail from the middle of a video with FFmpeg

Is there a way to grab a video thumbnail in FFmpeg? I'd like to grab the middle-most frame as the video and use that as the thumbnail. Video duration is unknown. The ability to specify the ...
1
vote
1answer
24 views

FFmpeg - PNG / JPG - Invalid data found when processing input

I am trying to add a watermark to a video with FFmpeg. I have a custom build of FFmpeg that I am creating with a view to keep the binary size down. I seem to have excluded the ability for FFmpeg to ...
0
votes
2answers
266 views

Concatinating mp4 files to a single mp4 file

I have some mp4 video files with me and i need to concatenate them one by one and make a single MP4 video file. I came to know about FFMPEG through which we can concat files. I tried doing ffmpeg ...
0
votes
0answers
64 views

Can't play h264 movies using ffmpeg / vlc / mplayer [closed]

OS: Arch linux, kernel version: 4.0.2 Graphic card: Intel Graphics. I can't play h264 videos using ffmpeg / vlc / mplayer: Here are the logs: ffplay: ffplay version 2.6.2 Copyright (c) 2003-2015 ...
0
votes
1answer
39 views

Skip parts of video while converting it to images with ffmpeg

I use this command on ffmpeg to convert a video into images: ffmpeg -i video.mp4 -q:v 1 -r 1 -f image2 frame-03d%.jpg What I want to do is to skip the first x seconds and the last y seconds of the ...
0
votes
0answers
25 views

FFMPEG conversion error “unable to find a suitable output format for 'pipe:' pipe::”

ffmpeg -i input.wmv -ab 128k -ac 2 -ar 44100 -b:v 900k -r 29.97 -s 640x480 output.wmv Hi, I am trying simple ffmpeg transcoding and I am getting an error in my code above. The error I am getting is ...
1
vote
0answers
119 views

container format requires global headers

Using this file: youtube-dl --youtube-skip-dash-manifest --format m4a --output alpha.m4a 19GFDljxrY0 If I run this FFmpeg command: ffmpeg -i alpha.m4a -c copy bravo.m4a I get this message: ...
3
votes
1answer
136 views

FFmpeg streaming: problems with device name

I'm trying to stream web camera and microphone in Windows using FFmpeg. First, I get my devices names (to specify -i parameter in streaming command) using a command like this: ffmpeg -list_devices ...
1
vote
1answer
34 views

ffmpeg mp4 audio trim

My mp4 is h264+aac I want to use ffmpeg.exe to add a background music to it , this musci is shorter than the mp4,thus the music should loop I have tried ffmpeg -i test.mp4 -i background.m4a ...
0
votes
1answer
3k views

convert RTMP streaming to HLS Streaming using FFMPEG

i am doing rtmp streaming to HLS streaming using FFMPEG , the following code is used to convert my desired option ffmpeg -v verbose -i rtmp://xxxx.com:1935/live/live1 -vcodec libx264 -acodec aac -ac ...
1
vote
0answers
26 views

FFmpeg - Seek to pkt_pos?

I know that FFmpeg can start seek in terms of PTS/DTS, and that there is a limitation regarding seeking in frame number, but is there a way to seek in terms of pkt_pos? I'd also like to be able to ...
4
votes
4answers
6k views

Merge two audio channels (stereo) into one (mono) on GSM6.10 using FFMPEG

I would like to know if it is possible to merge stereo audio into mono on a GSM6.10 audio file using FFMPEG. If it is, please provide the command to achieve this. Otherwise, is it possible to convert ...
1
vote
1answer
31 views

How to merge two 4 channel audio into a single 2 channel output

I'm trying to merge these two WAVs (L.wav and R.wav) into a single, dual-channel stereo OGG. This is what I'm trying: ffmpeg -i L.wav -i R.wav -c:a libvorbis -q:a 5 \ -filter_complex ...
3
votes
1answer
3k 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 ├── ...
7
votes
4answers
2k views

Automatically split large .mov video files into smaller files at black frames (scene changes)?

I have 65 .mov video files named tape_01.mov, tape_02.mov, ..., tape_65.mov. Each is about 2.5 hours long and takes up many gigabytes. They are digital copies of what were VHS tapes (my family's ...
10
votes
2answers
7k views

Using FFmpeg to locate moov atom

I have a library of videos, all of which should have been adjusted for web-streaming by putting the moov atom ahead of the rest of the video. This allows playback to begin before the client has ...
-1
votes
0answers
28 views

How to convert video audio codec with ffmpeg

I am trying this command but it fails I need to convert audio track of 17gb movie file with fastest way So i only need to convert audio and leave video file alone Here the command But it fails It ...
4
votes
1answer
646 views

How can I convert an m4v video to a widely viewable format using ffmpeg?

I have a m4v video generated by iMovie. I want to use ffmpeg to generate a widely viewable video on Windows. I cannot assume that the viewer will have VLC (or any other sophisticated viewer). It needs ...
0
votes
1answer
34 views

FFmpeg – Keep original video orientation

I'm converting 3gp video to mp4 format and that is working. But I have one issue: original video orientation is not kept. I know about rotate, flip and other commands, but I'm converting video ...
2
votes
1answer
4k views

ffserver configuration to handle a large webm stream

I'm setting up an ffserver for CCTV streams with 16 cameras - all the individual channels are streaming well with a config like: <Feed 0.ffm> File /tmp/0.ffm FileMaxSize 5M ACL allow 10.1.2.2 ...
0
votes
0answers
37 views

FFmpeg - Transcode video and keep original EXIF metadata in the transcoded file?

I am trying to transcode a video from a .mov (recorded with the iPhone) and add the original metadata (EXIF) to transcoded file, how can I achieve that? The original video contains EXIF metadata, etc. ...
13
votes
3answers
13k views

How to create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG

How can I create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG? I used this command to convert an input.avi file to a series of PNG frames: ffmpeg -y -i input.avi -an ...
22
votes
6answers
33k views

Cut part from video file from start position to end position with FFmpeg

I have a video file of 30 minutes, but I want to extract a video from 00:09:23 to 00:25:33. I can define the startposition with -ss, but I couldn't find one for the end position. Any help please?
1
vote
5answers
8k views

FFmpeg - No Such File or Directory?

I am attempting to use FFmpeg to extract audio from a mp4 and I keep running into this error: CFileffmpegvideo.mp4: No such file or directory exist. I am in command prompt (in Windows 7) and have ...
0
votes
0answers
39 views

MP4 file ignores subtitle settings in VLC

When playing an MKV movie (h264/aac) with a separate .SRT file, VLC lets me control the looks of subtitles perfectly from the menu. However, after losslessly converting the MKV/SRT to MP4 with ...
4
votes
2answers
166 views

Re-encoding in FFMPEG using the exact same settings as the input file

I have a use-case where I take a few MPEG-4 files, trim them and concatenate them in to one file. I have a second use-case where one of those files are trimmed and also cropped/scaled, these files ...
-2
votes
1answer
64 views

Analyzing h264 100GB video stream

I have a big file, an h264 stream video of a CCTV. I analyze this file with ffprobe and the result is this: [h264 @ 0000000002d24480] no frame! [h264 @ 0000000002d24480] non-existing PPS 0 referenced ...
0
votes
1answer
1k views

FFMPEG H264 split demux a stream video

I've got an H264 video (Stored in an 264 file). With ffplay i see that: [NULL @ 00000000003454a0] start time for stream 0 is not set in estimate_timings _from_pts [mpeg @ 0000000000344560] Could not ...
0
votes
1answer
48 views

ffmpeg changes audio bitrate when transcoding from MKV to FLV

I have one file - sample.mkv ========================================================= File: sample.mkv Width: 854 pixels Height: 480 pixels Aspect ...