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

3
votes
0answers
31 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 ...
0
votes
0answers
43 views

ffmpeg conversion speed difference between windows and linux

Hardware features: 2xe5645 (6core) = 24 cores Linux Centos(threads 0): fps= 13 Windows Server 2008(threads 0): fps=50~70 Why slow in linux? I'm with the installation ffmpeginstaller. Ffmpeg ...
0
votes
1answer
81 views

Extract subtitle from video.

I am trying to extract subtitle from video as .srt file, I used the following command: FFMPEG -i mytestmovie.mkv -vn -an -codec:s:0.1 srt sub.srt But, I got an error as Unrecognized option ...
1
vote
0answers
16 views

Copying 2YUV Video Streams in FFmpeg

I have noticed that when I copy 2vuy video streams with FFmpeg, the files are different in Quicktime. I am using the below command: ffmpeg -i infile.mov -vcodec copy -acodec copy outfile.mov In ...
2
votes
1answer
152 views

streaming flv using ffserver

I'm running Debian for my home-server, which is a machine that lives under the telly in the living room and stores the family's photo's, videos, music, etc. I'm using all the usual services to serve ...
1
vote
1answer
80 views

ffmpeg Issue With setpts/asetpts and/or select/aselect

As a follow-up to this question I'm now fighting with the synchronous editing of the video and audio. I still try to cut the video by frames. While the resulting timestamps seem to be correct on the ...
0
votes
1answer
137 views

How to merge an image into an audio file?

I am trying to merge a thumbnail-size (104x80) image into an audio file (M4A). I want it to be played in JW Player, but it doesn't seem to support thumbnails. I have tried it in VLC Player, but the ...
1
vote
0answers
39 views

opensource vp6a encoding

I am looking for a way to encode a movie with vp6a. I was hoping I would be able to do this with ffmpeg using this command: ffmpeg -i test.flv -loop 1 -i bg.tga -vcodec vp6a -vframes 1037 -b:v 1024k ...
1
vote
1answer
65 views

Unknown encoder libx264

I'm trying to stream mp4 file with ffmpeg: ffmpeg -re -i '/home/alex/test.mp4' \ -vcodec libx264 -ab 128k -ac 2 -ar 44100 \ -r 25 -s 320x240 -vb 660k -f \ flv 'rtmp://192.168.1.24/live/stream0' But ...
0
votes
0answers
32 views

How to use noise shaping

I came across some FFmpeg options for noise shaping -dither_method <int> ....A. set dither method (from 0 to 71) lipshitz ....A. select lipshitz noise shaping dither ...
3
votes
1answer
106 views

ffmpeg's select-filter generates unwanted black frames

I want to cut a video by frames with ffmpeg. What I came up with so far is ffmpeg -i P2.mp4 -vf "fps,setpts='PTS-STARTPTS',select='gte(n\,20)*lte(n\,30)',crop='600:430:100:650',scale='280:-1'" ...
0
votes
1answer
41 views

(ffmpeg/menc) how to split movie by given filesize?

i search for a way to split 1 eg. 4gb movie file into 1024MB parts. Does ffmpeg or mencoder this job do? and, please don't give me examples of "spliting by time (-ss)" .. i need a filesize specific ...
1
vote
2answers
114 views

Add 1 second of silence to audio through FFmpeg

I have an AC3 5.1 audio file to which I would like to insert x seconds of silent audio at the beginning. This has nothing to do with video muxing, so itsoffset is useless since it seems to only work ...
0
votes
0answers
32 views

How can I synchronize two audio files?

I've got many audio files of the same scene, but recorded with different devices. I would like to automaticaly synchronize the sources. I searched the web for a solution an I understood that I should ...
1
vote
2answers
178 views

How to flip a video 180° (vertical/upside down) with FFmpeg?

I have a video that was recorded upside down. Is it possible to correct this with FFmpeg?
0
votes
0answers
73 views

FFmpeg MPEG-4 encoder quality factor 32 not working

I'm testing all possible qualities of the MPEG-4 encoder to compare them with the H.264 and MPEG-2 codecs. I want a constant quality factor, so I forced the quality with -q:v n -qmax n -qmin n where n ...
0
votes
0answers
85 views

How Do I Detect Audio Delay With ffmpeg?

I'm used to record non-HD TV-shows, use DGIndex to convert the resulting ts-file and continue to remove commercials, transcode to mp4, ... Now I recorded a TV-show in 1080p. Since DGIndex doesn't ...
1
vote
1answer
53 views

FFMPEG keeps converting without stopping

I have a web application that converts videos and splits them using FFMPEG. It was working fine until recently I noticed that the videos were taking much more time converting than they are supposed ...
1
vote
1answer
119 views

mixing transparent FLV video and background-image with FFMPEG

I'm having a hard time mixing a background png with a transparent flv. I scale and crop an flv video with filter_complex, and then i want to overlay it on a background png. When I put the png in the ...
2
votes
0answers
32 views

FFMPEG Stream Definition - changing number of files

I have a BD Rip in an MKV which I am trying to remux with ffmpeg into a MOV container. So far am having some good success, but I am trying to enhance the process a little by including a 2 channel AAC ...
2
votes
1answer
64 views

What does the “cutoff” option do in FFmpeg?

I am encoding some FLAC files into AAC and I came across the -cutoff option. I do not see this option in the documentation, however I did find it in the help $ ffmpeg -v warning -h full | grep ...
1
vote
0answers
116 views

Convert .mts file to .mp4 retain metadata

I would like to convert .mts files to .mp4 and retain the 'creation date' and 'modified date' metadata. I found the following post How to make Handbrake preserve capture time / creation time? that ...
3
votes
1answer
109 views

ffmpeg - How to copy|extract encoding settings from existing media file?

I wished to be able do this multiple times now so I ask. If I have an existing video or audio file, ffmpeg, mplayer and other media players can detect at least some of it's "propreties" like ...
1
vote
1answer
131 views

Can FFMPEG extract images from a video with timestamps?

I'm trying to extract frames from a video and get the exact timestamps of each frame extracted (on a picture). To extract frames from video without timestamps I use this syntax: ffmpeg -i video.wmv ...
0
votes
0answers
11 views

ffmpeg better quality animated gif [duplicate]

I'm currently doing the below command to get 20 images from a clip. However, when I convert it to a gif file format, the quality is horrible. Is there anyway we can make the quality better? ffmpeg -i ...
2
votes
0answers
45 views

concat subsections of a video using ffmpeg

I would like to take several subsections of a video and concatenate them using the concat ffmpeg filter. It's just like the the example in the FFmpeg documentation, except that all of the clips are ...
1
vote
0answers
51 views

Trimming videos - quicktime vs. mplayer/ffmpeg stack

I have several mp4 video files (H.264, AAC) from which I want to trim a few seconds at the beginning and the end. I used Quicktime Player 7 and MPEG Streamclip for this. The generated files are a bit ...
1
vote
1answer
71 views

Create thumbnails with 80% height of the input using FFmpeg

I want to take a screenshot/thumbnail from a clip whose size is 1024×780, but I don't want the entire height. I just want the screenshot to take 768 × 80% of the height. This is because ...
1
vote
1answer
55 views

Can't type in CLI after running ffmpeg

I get a strange behaviour after running ffmpeg in console and piping its output to mplayer. After I close mplayer's window or I close ffmpeg with Ctrl+C sometimes I can't type anything in that console ...
4
votes
2answers
142 views

Drop every even or odd frames using FFmpeg?

Is there an accurate way to take raw video and extract from it a new video that contains only odd frames or even frames (by choice)? For example: I have "blah.yuv" with 400 frames (0-399). I want to ...
0
votes
0answers
94 views

What are the correct options to use to verify video files using ffmpeg.exe in Windows 7?

I have thousands of video files to check/verify if they have an error or a warning. A firm just digitized them over old tapes (VHS, Umatic ...) All these videos are in mp4 format and i want to check ...
1
vote
1answer
97 views

record application audio only with ffmpeg

I would like to use ffmpeg to use application audio only instead of the whole system audio while screen grabbing. How can I do this if the grabbing command is something like this? By application ...
1
vote
1answer
83 views

How to batch cut avi files to a certain length?

The problem I have a folder containing approximately 1000 .avi video files, which should be split to 1 sec long film clips or alternatively cut at a certain point (say between 7 sec and 8 sec) to a ...
2
votes
1answer
114 views

Stream/record desktop, mic and system output

Im try to stream my desktop, and two audio: system output, and mic. Im using this command, but the audio from my system (hw:0,0) dont hear in output file... avconv \ -f alsa -i pulse \ -f alsa -i ...
1
vote
1answer
72 views

How do I recompile libav on ubuntu 12.04 without breaking anything

I have a "Little" script for screencasting - I'll skip to the good part. In my avconv command I record 3 different sources simultaneously to 3 different tracks. The only way I know of getting audio ...
2
votes
1answer
125 views

ffmpeg cannot generate thumbnail

I use ffmpeg to generate 10 .jpeg thumbs out of a video file. Most of the time it works fine but for some files (a 55seconds .mp4 for example) I get only the first 4 out of 10 captures, for the rest I ...
2
votes
2answers
113 views

ffmpeg/avconv force scaled output to be divisible by 2

I record my desktop with avconv (aka ffmpeg) and then scale it to 720p. I recently added to my script so they can select a window with xwininfo and it will record that one specifically. However, if ...
2
votes
1answer
68 views

Duration parameter being ignored

I am converting a FLAC file to AAC. I have noticed that the duration is off on the output file. This is even the case if you explicitly set the output duration, it just gets ignored $ ffmpeg -i ...
0
votes
1answer
149 views

avconv video from single jpg and ogg

I have a long ogg sounds file that I want to put on youtube, I don't have a video so want to display a single jpg for the duration for the ogg. I've seen: avconv -i "sound file.ogg" -i cog.jpg ...
2
votes
1answer
94 views

Is there a way to deal with ffmpeg http input loosing connection?

I have a problem I'm recording a stream from my ip webcam (and storing it to a server but that's not the issue right now). the command looks something like this ffmpeg -f mjpeg -i ...
1
vote
1answer
50 views

“-r” parameter affecting duration

Starting with this file Input #0, flac, from 'bar.flac': Duration: 00:02:52.48, bitrate: 503 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 running this command yields similar output ...
1
vote
0answers
246 views

Alternatives to Video4Linux2 for grabbing from webcam (Using FFmpeg)

I'm getting (two alternating) errors following this guide for streaming from a Raspberry Pi. Are there any other grabbers besides V4L2 that I can use with ffmpeg? Or are there any other streaming ...
1
vote
0answers
32 views

FFmpeg audio disappears in the middle of the video

I've been trying to convert a sequence of PNG files to a video with some sound (mp3 or wav). It pretty much works with different codecs and quality settings for both video and audio.But the audio ...
2
votes
2answers
237 views

ffmpeg: How to place multiple overlays and fade out the topmost properly

I'm trying to place several overlays on top of each other and fade out the topmost after some frames. Therefore I'm using 2 .png files which should be placed on the final video in the following order: ...
0
votes
0answers
48 views

dynamic ffserver authentication

Ideally I'd like to just be able to add/remove a list of session keys to/from a text file stored on the server without restarting the ffserver instance, but am open to other solutions such as proxies ...
1
vote
0answers
119 views

ALSA buffer xrun when recording with ffmpeg

Is there any way to increase the ALSA buffer size? When running this command: ffmpeg -f alsa -ac 2 -i hw:1 -ar 44100 -b 64k output.mp3 I get a "ALSA buffer xrun" before my system locks up Input ...
1
vote
1answer
54 views

Is there a way to re-encode video files ripped by Handbrake to add iPod 5G support?

Handbrake has an option for iPod 5G support. But I have some video files I ripped without checking that option. Can I use ffmpeg or Handbrake to re-encode those files without having to re-rip from ...
2
votes
2answers
109 views

How to make -vf “movie=…” point to another folder in FFmpeg

I'm trying to watermark a video with another video placed in a different folder. Source video [video.mov] is placed in a folder like x:\test1\ Overlay video [overlay.mov] is placed in x:\test2\ ...
1
vote
1answer
105 views

Number of stream maps must match number of output streams running ffmpeg

Trying to cut a fragment from MKV video, but getting an error. What can be a reason? V:\VIDEO>ffmpeg -ss 00:42:35 -t 00:43:05 -i smenia.mkv -map 0:0 -map 0:1 -vcodec copy -acodec copy ...
2
votes
0answers
153 views

Fixing ffmpeg latency accrued over time

I have ffmpeg/ffserver running in the following setup: 10.1.2.2 captures from video capture cards (16 channels) and streams them to an ffserver as mpeg1video 10.1.1.1/10.1.2.1 (two NICs) hosts the ...

1 2 3 4 5 14