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

1
vote
0answers
796 views

Scale (or center) watermark with ffmpeg to same resolution as output file

I want to have the watermark scaled to the same resolution as the output file. How do I do this? Alternatively, how do I center the watermark in the middle of the output instead? Here is what I have: ...
1
vote
0answers
231 views

ffmpeg mysteriously adding start delay

When converting a mp4 to TS, I am observing ffmpeg adding a "start" delay that the input file did not seem to possess. For my input, ffprobe reveals: ffprobe version N-57943-g7b76976 Copyright (c) ...
1
vote
0answers
762 views

exec ffmpeg not working for nginx-rtmp-module on AWS Ubuntu

I was trying out the nginx-rtmp module from https://github.com/arut/nginx-rtmp-module. While implementing the example for ffmpeg given in the link, my exec ffmpeg is not getting executed. My rtmp ...
1
vote
0answers
387 views

compressing video with ffmpeg while maintaining high frame rate

Update: I watched the output video on a different machine and it was fine. The issue must've been with the program I was using to watch the video. Nevermind. I'm trying to compress videos taken with ...
1
vote
0answers
541 views

ProRes transcoding in ffmpeg too slow

We are trying to transcode movies / clips into ProRes LT by using following options: ffmpeg -threads "16" -i "$2" -flags +ildct -vcodec prores -profile 1 -qscale 4 \ -threads "16" -r 24 -vf ...
1
vote
0answers
381 views

Ffmpeg dropping frames, but not using more the 10-20% of cpu

I have some old hardware so I'm not expecting miracles. I want to stream from a webcam to ustream at standard quality. I'm using a code like sudo ffmpeg -re -f v4l2 -i /dev/video1 -f flv ...
1
vote
0answers
221 views

Wrong duration for H.264 MOV files

We are using ffmpeg to get the metadata for video files. For H.264 MOV files, ffmpeg is wrongly giving the duration as 00:05:34, whereas the real duration of the video file is 00:00:30. It is ...
1
vote
0answers
36 views

“Freely positionable” Videos

The following is a requirement for loading a video into National Instruments DIAdem: The videos must be freely positionable, so that DIAdem can display each frame in the videos. Video - DIAdem 2012 ...
1
vote
0answers
201 views

How to convert video file saving all metadata except global?

I have .m4a video file. mediainfo: General Complete name : C:\foo\Brazil (HD).m4v Format : MPEG-4 Codec ID ...
1
vote
0answers
381 views

FFmpeg drawtext width

It seems that ffmpeg is great for single line scrolling, but I have not been able to find anyone or any examples that set a multi-line based on a width. I have been looking at DrawText instead of ...
1
vote
0answers
135 views

FFmpeg audio dont work in converted videos

NOTICE: When I convert videos via terminal and download them from ftp into my PC, the audio works fine. I use: if($ext == "avi" && $convert_avi == true) { $convert_source = ...
1
vote
0answers
632 views

Echo cancel and noise reduction - how to use WebRTC echo cancel engine with VLC, Gstreamer, Mplayer, FFmpeg?

How to use WebRTC echo cancel with VLC, Gstreamer, Mplayer, FFmpeg? e.g: vlc alsa://plughw:0,0 gst-launch-0.10 alsasrc device=hw:0 ! autoaudiosink arecord -D hw:0 -r 44100 -c 2 -f S16_LE | aplay ...
1
vote
0answers
235 views

FFMPEG converted file for jwplayer shows black

im new to ffmpeg, and I'm trying to convert it to mp4 to play on jwplayer, the video converts, the sound is good, but all i can see is black color, maybie anyone knows the answer to this problem? ...
1
vote
0answers
157 views

Cut part of video with ffmpeg with both sync and quality?

How to cut part of video with ffmpeg without any problems? The following command ffmpeg -i <infile> -ss <starttime> -to <endtime> -vcodec copy -acodec copy <outfile> will ...
1
vote
0answers
529 views

Find out rotation metadata from video in ffmpeg

If I use: ffmpeg -i in.mov -vf "transpose=1" out.mov all .mov files are getting rotated, but what I need is to automatically detect just the rotated videos and change orientation for just those ...
1
vote
0answers
559 views

ffmpeg to remote ffserver

I'm trying to set up a live audio feed from my camera to a webserver. I'm currently using a D-SRL to capture Video/Audio via Firewire then using dvgrab on Ubuntu running ffmpeg. My Machine (Example ...
1
vote
0answers
115 views

error while merging videos with ffmpeg

I am trying to concat videos with different resolutions using ffmpeg and I am encountering this error shown below while that the video resizes when playing the videos I merge them using ffmpeg with ...
1
vote
0answers
172 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
0answers
341 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
334 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
224 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
0answers
92 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
323 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
261 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
185 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
505 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
0answers
155 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
658 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
0answers
85 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
60 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
427 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
1k 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
0answers
297 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
258 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
0answers
1k 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
298 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
145 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
0answers
567 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
62 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
399 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
0answers
367 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
0answers
299 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
0answers
81 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
779 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
0answers
239 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
0answers
685 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
503 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
201 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
373 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
385 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 ...