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
1answer
634 views

How to multiplex two videos with ffmpeg

I'm converting videos using the -s option for multiple resulutions and I want to include a short intro at the begining of the video. but for some reason it skips the second -i so i'm only getting the ...
1
vote
1answer
229 views

How to merge 2 mp4 files with 1 atom?

I'm merging two mp4 files for video streaming. the problem is, the merged file contains two atoms, 1 atom from each file and that is a problem when it comes to streaming. the client needs to wait ...
1
vote
1answer
513 views

How to add watermark when converting to more than one video with -s option?

I have a problem adding watermark to my video. I'm converting a video into 5 different resolutions using the -s option. what I've tried: waterMark="\"movie=/watermark.png [watermark]; ...
1
vote
0answers
403 views

ffmpeg not adding all images when creating video

I am creating a video from 38,179 images. ffmpeg successfully creates a video but only includes the first 20,998 images. It does not include the last 17xxx images. I am running Windows 7 64-bit. The ...
1
vote
0answers
486 views

Fix audio codec error with ffmpeg

I had an AVI (XVid) file with 2 audio channels. I removed the FIRST audio channel using ffmpeg as: ffmpeg -i <input.avi> -acodec copy -vcodec copy -map 0:0 -map 0:2 <output.avi> Now, ...
1
vote
0answers
270 views

FFmpeg amerge with itsoffset on only one audio stream

I'm facing a situation which I spent the whole day trying to get this working but unfortunately I'm running out of ideas and I thought you gyus might help me out. I have two streams, one audio stream ...
1
vote
1answer
104 views

How can I combine these two commands? stream mapping & subtitles

I want to combine the following two commands into one command, if possible. Audio from audio.mp4 on top of the video from video.mp4, output to temp.mp4 ffmpeg -i video.mp4 -i audio.mp4 -map ...
1
vote
0answers
101 views

ffmpeg creates unwatchable video

I have a bunch of images in the format 000.png to 014.png. I used this command ffmpeg -r 1 -i %03d.png o.avi I expect a 1 fps video thats 15 seconds long. I get that however the first 4 seconds I ...
1
vote
0answers
410 views

ffmpeg rtsp protocol command crushed in Windows

I downloaded build file(ffmpeg-20130902-git-fdd1aaf-win64-dev.7z) from ffmpeg.Zernoe.com, and build it. When I command "ffmpeg -version", it shows normal message. version is 'N-55966-gfdd1aaf'. ...
1
vote
0answers
314 views

Invalid sample format error while converting a DVD iso file to Mp4

I get the following error when I convert a ISO file to MP4. The ISO file contains a VIDEO_TS directory with the video files: ffmpeg -i DieRelativeringVanMenswees.iso DieRelativeringVanMenswees.mp4 ...
1
vote
0answers
231 views

Adding audio to video being created with image2pipe option

I am creating a video in mp4 format from a sequence of images and an MP3 audio file. For performance reasons I switched from image2 option to image2pipe option and now video is creating OK but without ...
1
vote
0answers
629 views

FFmpeg missing frame after H264/TS to RAW/AVI

While converting a H264/TS to a RAW/AVI with ffmpeg -i in.ts -vcodec rawvideo -pix_fmt yuv420p out.avi I found that the output AVI file had less frame than expected. It may come from PTS error in ...
1
vote
1answer
627 views

ffmpeg get to Unhandled pixel format 0x11111111 only with some images

Hi I'm using ffmpeg to transform images in video. I need 1 still image for a video of 2 seconds, I'm using this call: ffmpeg -loop 1 -i img.jpg -t 2 -vcodec mpeg2video result.avi If I use some test ...
1
vote
0answers
187 views

Recording game footage with ffmpeg - issues

I'm trying to create a script to record windowed games with ffmpeg. This is what I have so far: #!/bin/sh INFO=$(xwininfo -frame) WIN_GEO=$(echo $INFO | grep -oEe 'geometry [0-9]+x[0-9]+' | grep ...
1
vote
0answers
864 views

Adding multiple chapter names in mkv files with ffmpeg

when I'm multiplexing video, audio and subtitle files into one mkv file I'm using ffmetadata files like this to add chapters: ;FFMETADATA1 title=Hello world [CHAPTER] TIMEBASE=1/25 START=0 END=2821 ...
1
vote
1answer
187 views

How do I extract parts of a video with a specific aspect ratio with ffmpeg or mencoder?

I've got some recordings from TV. The movies are all in 4:3 but the advertisement is in 16:9. My input format is a mpeg 2 transport stream. I would like to convert my movies to mp4 with h264 video and ...
1
vote
2answers
10k views

Double deinterlace with full motion - ffmpeg + yadif 50i-50p 60i-60p

I'm trying to figure out how to use yadif / yadif-2x with ffmpeg to convert 50i source material into 50p output that preserves the motion of all fifty fields per second. Right now, I am using the ...
1
vote
0answers
134 views

Using jpegtran with ffmpeg via piping?

I use ffmpeg to generate a ton of jpeg images. However, these jpegs aren't optimized by ffmpeg. On average, the images losslessly compress another 10-20% when I run them through jpegtran. I don't ...
1
vote
0answers
94 views

Preserve text readability while encoding game screencasts

I have a bunch of (almost lossless) 3d game screencasts which now occupy considerable amount of my hdd space. I would like to reduce their size. Overall image quality isn't of great concern, except ...
1
vote
0answers
63 views

Video output options of the CLI players?

Just thought I'd jot this down while I have the problem: On a computer that apparently has a problem with having X11 use graphics acceleration, I experience (understandably) problems playing video ...
1
vote
0answers
556 views

How to encode a video with timestamps in order to have audio/video sync

DISCLAIMER: I am unfortunately very new to codecs and using FFMPEG, so I apologize for any incorrect terminology or if this is in actuality a very easily resolved question. I have a sequence of jpeg ...
1
vote
0answers
2k views

Convert stream file (mux) to mp4 gstreamer

I used a program to capture my screen (called Kazam for linux). My computer crashed and I lost my screen capture which I cannot recreate. I found two files that seem to hold my video, a .mux and ...
1
vote
1answer
448 views

How do I create a streamable and seekable MP4?

I want to create an MP4 that supports seeking and streaming. DASH appears to be what I want except that the segment seek points are stored in an external file (the MPD) which doesn't work for my ...
1
vote
0answers
273 views

ffmpeg/avconv getting file reports in time not offset

Using the advice from another superuser question I'm using the following to check video files for errors: avconv -v error -i myfile -f null - Unfortunately, this gives me an error in this format: ...
1
vote
1answer
389 views

extracting mp3 audio from mp4: audio longer than video?

I have an mp4 video that has no audio/video sync issue. I tried to extract audio to an mp3 file, following the suggestion in this thread: Extracting audio from MP4 video into MP3 ffmpeg -i ...
1
vote
0answers
2k views

FFmpeg/avconv and UDP - connect listener after sender?

I'm trying to troubleshoot a port binding issue in avconv/FFmpeg. I have two test commands; one which sends an audio stream over UDP: avconv -i test.wav ...
1
vote
0answers
359 views

FFmpeg/avconv - non-blocking live audio input?

I'm using avconv/FFmpeg to parse a video feed and an audio feed into a broadcast stream. Currently, it gets its audio information via UDP with the options -f wav -ac 1 -i udp://localhost:6613, since ...
1
vote
0answers
191 views

How to append 2 video files

Is there any way to append one video file to another ? I've got a very large file (2GB) to which I'm trying to append some tiny files (~4MB). They all are in the same format. It's easy to concat ...
1
vote
2answers
4k views

Re-stream/Mirror HTTP Live Stream

I need to re-stream/mirror some HLS’s (HTTP Live Stream) using a Linux server. From input http://anystream.com/channel1.m3u8 To output http://127.0.0.1/abc.m3u8 I found several media servers ...
1
vote
0answers
801 views

Applying multiple filters at once in ffmpeg

I have a video that I am trying to apply two filters to. I want to rotate the video 90 degrees clockwise followed by scaling it down from 1280 x 720 to 720 x 576 with letterboxing. I also want to ...
1
vote
0answers
992 views

mpeg_decode_postinit() failure [closed]

I'm trying to take some thumbnails via ffmpeg command. My file name is "aaa.ts" and I want to take some thumbnails every second. Frankly, it works, but I have 4 red lines in terminal. So can you tell ...
1
vote
0answers
75 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 ...
1
vote
0answers
472 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
383 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
2k 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
0answers
95 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 ...
1
vote
0answers
273 views

ffmpeg cpu stuck at 99%

I get this sometimes when using ffmpeg Stream mapping: Stream #0:0 -> #0:0 (mjpeg -> mjpeg) Press [q] to stop, [?] for help Input stream #0:0 frame changed from size:559x1425 fmt:yuvj420p ...
1
vote
3answers
938 views

Overlay frame number with ffmpeg starting at 1

I managed to encode a video using ffmpeg and to overlay each frame with the frame number using the drawtext filter. My problem was that using the "text=%{n}" option resulted in the first frame being ...
1
vote
0answers
30 views

How do i convert a transparent .mov-file to an mp4 file overlayed on a background-image using FFMPEG [duplicate]

I'm trying to convert a mov file with the following specs: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov': Metadata: major_brand : qt minor_version : 537199360 ...
1
vote
1answer
352 views

How do I create a bat file to convert video files in a folder using ffmpeg

I would like to create a bat file that will go to a certain folder that contains video files, look for any files that are not .avi and convert them to .avi using ffmpeg. I don't need, and don't want, ...
1
vote
0answers
773 views

FFmpeg AVI to MP4 preserves sound, but not images

Working with FFmpeg at a conversion (any file to MP4 (H.264/AAC)): ffmpeg -y -i testdatei.avi -i logo.jpg -filter_complex overlay=15:15,scale=-1:720 -c:v libx264 -profile:v baseline -preset medium ...
1
vote
0answers
598 views

ffmpeg and matching encoding options

I have two mp4 files captured from different android devices. the ffmpeg output of each file is listed below. Can i re-encode two.mp4 so that the encoding options are the same as one.mp4? I cant see ...
1
vote
0answers
218 views

Stop ffmpeg from creating multipart avi files

I am trying to convert h264 avi files to Xvid format using FFMPEG. The video files are about 90min long. The code I am using is: ffmpeg -i input.avi -c:v libxvid -r 15 -an -vtag xvid -f avi ...
1
vote
0answers
434 views

what is missing in this ffmpeg statement to create a working video conversion

I want to convert videos to a format that my camera reads with ffmpeg. I have some sample videos from the camera and analyzed them with mplayer -frames 0 -identify DSCN0001.mov and with ffprobe ...
1
vote
0answers
442 views

FFmpeg failed to transcode

I have successfully installed Video Module with FFmpeg/avconv in local machine. My current version of FFmpeg is "0.6.0-svn". I have downloaded the video preset package from drupal.org for FFMPEG and ...
1
vote
0answers
757 views

Creating video from DNG images with FFmpeg

I'm trying to make a video from TIFF images that are DNG pictures. The problem is that the resulting video that FFmpeg creates, have a resolution lower than the original pictures I tried with image2 ...
1
vote
0answers
993 views

how to reduce h264 annex B NAL unit sizes to avoid IP fragmentation?

I'm trying to stream a video over to a terminal using RTP. The video is coded in h.246. I'm using ffmpeg to extract the byte stream according to h.264 annex B : ffmpeg -i test.h264 -vcodec copy -vbsf ...
1
vote
0answers
1k views

Webcam stream doesn't work on Logitech E2500

I'm currently trying to get webcam streaming to work on a Logitech E2500 with ffmpeg. Running the command gives me some kind of buffer length error. pi@raspberrypi ~/ffmpeg-dmo-1.0 $ sudo ...
1
vote
1answer
471 views

Audio of DV video files is corrupted

I have .dv files which I have recorded from DV tapes with iMovie. The formats are as follows: Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, 25 tbr, 25 tbn, 25 tbc ...
1
vote
1answer
286 views

FFmpeg 1.0 Angel --soname-prefix=PREFIX

I'm trying to compile FFmpeg 1.0 "Angel" with following configure : ./configure --enable-gpl --enable-encoder=mpeg2video --enable-version3 / --soname-prefix="/pc/temp/myproject/" ...