Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated.

learn more… | top users | synonyms

1
vote
0answers
1k views

streaming to rtmp using avconv or ffmpeg

I have an IP webcam HiSilicon Hi3516C that I can successfully access from a raspberry pi. I can get still images by using a command like this: avconv -i "rtsp://192.168.1.10:554" myfile.jpg now ...
1
vote
0answers
51 views

avconv huge output file size

I am trying to rotate some mp4 videos (shot with an Android smartphone) 90 degrees clockwise. I have been using variations of the following command: avconv -i 20150604_192846.mp4 -c:v libx264 -preset ...
1
vote
0answers
186 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 ...
1
vote
0answers
59 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
0answers
26 views

FFMPEG set a upper limit to bitrate only a a interval of video

How i can define a variable bitrate from 500k to 1024k between 0~1min30, between 1min30~3min up it to 2048 to 4096 and from 3min until end down it to 500~1024 again?
1
vote
0answers
204 views

Capture desktop with FFMPEG on MacOSX 10.6.8

I tried to capture the desktop/screen-recording with this command ffmpeg -f avfoundation -i "1:0" out.mp4 this doesn't work because avfoundation is a framework on OSX >= 10.7 and my OS version is ...
1
vote
0answers
309 views

FFMPEG: Windows binaries with globbing (libavformat) support?

I am struggling to get ffmpeg to combine a bunch of images in to a video which have a format with a full 17 digit timestamp. 17 digits is well beyond what -i %d will support. So I want to use ...
1
vote
0answers
753 views

FFMPEG capture snapshot image from RTSP IPCamera

Hi I am able to stream video successfully from my IP Camera with VLC using the URL: rtsp://192.168.0.6:554/cam/realmonitor When attempting to use FFMPEG it is failing with the following errors: I ...
1
vote
0answers
196 views

Improve FFmpeg time ? conversion takes very long

I have several rules to convert a movie to several formats and create a preview image. Problem is the execution of these takes very long. Also the outputted quality is very low. I harvested these ...
1
vote
0answers
2k views

FFMPEG Lossless Video Output Options

I am looking for lossless video output options from FFMPEG that can be viewed without any special codecs or special players such as VLC. I want a basic use to be able to open up the video with a ...
1
vote
0answers
212 views

how to speed up the process of the ffmpeg command

I want use the overlay filter to composite the video with some image, Command is ffmpeg -i 30.mp4 -i out1.png -i out2.png -strict -2 -filter_complex "[0:v][1:v]overlay=enable='between(t,0,1)' [out]; [...
1
vote
0answers
188 views

ffmpeg generates videos with start time greater than 0

I'm trying to cut videos with ffmpeg. I know how to do it in the "normal way": ffmpeg -i test.mp4 -ss 0 -t 6 -c:v libx264 -profile:v main -level 3.1 -preset medium -crf 20 -r 25 -b:v 1200k -minrate ...
1
vote
0answers
189 views

FFMPEG How do I use the apad filter in a chain of filters in filter_complex?

My input is a video file with an audio track. If the audio is shorter than the video I need to extend the audio track to the length of the video. It works great with the apad filter: "C:\Program ...
1
vote
0answers
91 views

FFMPEG results in a black video from converting images

I am attempting to create an mp4 video from a sequence of images numbered 1 to 100. The problem is that I keep on getting an output video that is black. Each images is as such all the way to 100. ...
1
vote
0answers
588 views

My ffmpeg stops streaming after a few seconds

I am using ffmpeg. I type this in a DOS Prompt: ffmpeg.exe -i rtsp://admin:admin@192.168.0.8:554/video_1 -an -f image2pipe -vf fps=fps=6 -qscale 0 - It works but then just stops. So, I amended ...
1
vote
0answers
161 views

Video color is different in different programs. Which one is correct?

Someone on Reddit made a gif. I decided to try remaking the gif. My gif is not the same color as their gif. I opened the video source of the gif in VLC and MPC-HC, took snapshots using the program ...
1
vote
0answers
323 views

FFmpeg / libav / Avconv settings to add higher contrast to a video

I successfully convert videos to mp4 from images turning the video black and white, is there a way to add contrast and brightness to balance the higher contrast so that it looks sharper? Here is the ...
1
vote
0answers
366 views

ffmpeg create video from an image sequence with a windows batch script

I need to convert jpg image sequences that are changing in their file naming convention to h264 mp4 1920x1080 video files, so I thought I create a jpg2mp4.bat file in a windows text editor. I have ...
1
vote
0answers
547 views

FFmpeg Unable to find a suitable output format for … [RPi]

I was trying to set-up ffmpeg on RPi to stream video from webcam. This is my launch script: ffserver -f /etc/ffserver.conf & ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 ...
1
vote
0answers
547 views

Resume transcoding a video with ffmpeg

I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I'd like to resume transcoding the file (similar to -C with ...
1
vote
0answers
486 views

How to set profile compatibility of an fMP4 using ffmpeg?

I'm using ffmpeg to generate a fragmented mp4 stream that will be consumed by an HTML5 player. I think I have a correctly formatted mp4 stream of data with an empty moov at the start and a series of ...
1
vote
0answers
774 views

Embed album art image to FLAC file with ffmpeg

i am trying to embed Album Art to a FLAC file with ffmpeg. It seems that it cannot embed Album Art to a FLAC File and the file that is generated has zero length. I know that you can put the image in ...
1
vote
0answers
675 views

FFmpeg mp3 file header restore

I got mp3 files without headers, ffmpeg -i shows: . . . [mp3 @ 003e9700] Header missing . . . They sound well, but not in all players. So how can I restore header info or re-pack file without ...
1
vote
0answers
413 views

How can I reduce the choppiness of my ffmpeg conversions

Here are the options I'm sending ffmpeg: ffmpeg. -i input.flv -crf 18 -profile:v baseline -level 3.0 -pix_fmt yuv420p -preset veryslow output.mp4 Here's the input file: http://ct.recorder.s3....
1
vote
0answers
652 views

I get wrong aspect ratio for images and video converted using ffmpeg

I am trying to convert some old movie files to images (and later to reencode as h.264). The problem is that the resulting images are stretched vertically. Here is the ffmpeg command: ffmpeg -i ...
1
vote
0answers
821 views

How to save udp stream to .ts files whith ffmpeg while keeping timestamp?

I need to record a live udp stream containing multiple TV programs ( up to 30 ) to .ts files .To do so i'm using FFMPEG . I have a muxer at work , but i dont go there everyday so im using a sample ....
1
vote
0answers
411 views

Trying to remove 1152 samples, but the queue is empty

I am streaming mp3 files,using this command : ffmpeg -re -i 'INPUT.mp3' -map_metadata -1 -map 0:0 URL I create a loop which stream files,and there is no problem with reviving stream,just from ...
1
vote
0answers
690 views

Re-stream (forward) UDP-Live-Video-Stream (using winsock) reduce video quality?

So, I used ffmpeg to stream the live webcam using UDP protocol to port 1111 : ffmpeg -f dshow -i video="Lenovo EasyCamera" -f mpegts udp://localhost:1111 When I played it directly by ffplay from ...
1
vote
0answers
37 views

silence in front of generated audio mpegts

./ffmpeg/ffmpeg -i a.ts -acodec aac -strict -2 -loglevel debug audio.ts Input #0, aac, from 'a.ts': Duration: 00:00:05.06, bitrate: 126 kb/s Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, ...
1
vote
0answers
189 views

Why can't I get a delay between two audio files

I would like to delay only ONE of the two input files. But, even with a value of 5, itsoffset is not working....why?? ffmpeg -itsoffset 5 -i one.m4a -i five.m4a -strict -2 -filter_complex "[0:a][1:a]...
1
vote
0answers
302 views

Ffmpeg not copying location metadata

I'm converting vidoes and even though I"m using -map_metadata 0 ffmpeg -i input.mp4 -map_metadata 0 output.mp4 The above code defaults to libx264/libvo_aacenc. The location metadata is not copied, ...
1
vote
0answers
142 views

Is it possible to record live streams with ffmpeg in an audio file with embedded timestamps?

I would like to record the daily programme of an IceCast radio channel (maybe a 24 hour stream), and then select my favourite programmes by embedded timestamps - if possible - according to the daily ...
1
vote
0answers
461 views

How to extract frames with ffmpeg? What I'm doing wrong?

I'm trying to extract frames from an MP4 using FFMpeg. When I run: ffmpeg -i aaa.mp4 -r 10 extraced%03d.png I keep getting this error: Could not open file extracted"path-were-ffmpeg.exe-is/a....
1
vote
0answers
2k 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 ...
1
vote
0answers
127 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
0answers
148 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 ...
1
vote
0answers
80 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 ...
1
vote
0answers
375 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
0answers
2k 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
0answers
974 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 >/var/www/stat/encode....
1
vote
0answers
505 views

FFMPEG DirectShow: Could not run filter

I'm trying to take a picture from my webcam using FFMpeg. This is what I'm trying to run: @echo off :: Get date and time for /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /...
1
vote
0answers
1k 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 ...
1
vote
0answers
269 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
0answers
918 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 - ...
1
vote
0answers
180 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 ...
1
vote
0answers
159 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 \ -...
1
vote
0answers
919 views

stream byte arrays to a video using ffmpeg

This is what I am trying to do: I receive jpegs from an IP camera. If motion is detected I want to upload the jpeg still shot to my server. To save on bandwidth I save each jpeg to a file on my ...
1
vote
0answers
170 views

How i could cut exactly frames from an avi with ffmpeg

I use the command below to cut it to frames. I want 48 frames for my video which is 7 seconds. ffmpeg -i output.avi -r 6.4 -s sxga images\\image%d.jpeg It creates me the frames but i was use it ...
1
vote
0answers
663 views

ffmpeg HLS demuxer handling of videos with overlapping timestamps

I have a HLS stream, that contains a number of arbitrary TS segments, some of which may refer to the same file. Desktop and mobile Safari plays it just fine, e.g. if I have a playlist that contains ...
1
vote
0answers
332 views

Using pipes on ffmpeg has different behaviour than using files

I am using pipes to provide input and to send out output from FFmpeg The command I use is essentially ffmpeg -i pipe:0 -f flv pipe:1 I am using a Java program that basically provides an input ...