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

ffmpeg and the 'unable to find suitable output' error

I'm trying to convert a large MKV to an old-school AVI file. I'm trying this: ffmpeg -i video.mkv -s -codec:v mpeg4 -bf 1 -b 2567k -mbd 2 -g 300 -flags cgop -acodec copy video.avi but I get [NULL ...
0
votes
0answers
46 views

Transferring .wtv files from Windows 8 Pro Media Center to OS X

Does anyone have a good way to do this using only OS X tools? That is, I have a Windows 8 Pro box that has 1 job and 1 job only, record TV shows from it's cableCARD onto its hard drive. The mac can ...
3
votes
1answer
54 views

FFMPEG blinking overlay

I have a pretty complex (for me) video manipulation to complete: get a source video crop it flip it overlay with an image: 3s OFF, 80s ON I've managed to complete first steps: ffmpeg.exe -i ...
1
vote
1answer
129 views

Linux Mint and Ubuntu ffmpeg don't do libx264 anymore?

seems Linux Mint 16 and Ubuntu current don't do libx264 with ffmpeg anymore. I have an old script from a few years ago that takes my recordings from Mythtv and converts them to the h264 format. --- ...
1
vote
1answer
539 views

Streaming to HLS server with ffmpeg and nginx-rtmp-module

I am trying to stream my desktop screen to a HLS server (nginx RTMP module), but I don't know how to go about this. I have tried ffmpeg -f x11grab -i :0.0 -f hls http://192.168.1.68/tmp/hls but ...
0
votes
1answer
365 views

How to get rid of ffmpeg pts has no value error

I am trying to convert an AVI file to an MP4 file. The video stream is an XVID whereas the audio stream is MP3. The problem is that the resulting MP4 file is not playable in QuickTime Player on a ...
1
vote
0answers
46 views

ffmpeg x11grab a single window

Is it possible with ffmpeg grab a window that is minimized or that not has the focus (there is another window over but ffmpeg records only the window which is below)? With a command like ffmpeg -f ...
0
votes
1answer
144 views

ffmpeg - joining 2 videos to play one after another

I'm trying to join two video files together - I'm piping the commands through PHP exec() as these videos are selected by the user. I can get it working, in that it does output a video of the correct ...
1
vote
2answers
110 views

How can I check the integrity of an avi file and repair it automatically in Linux?

I have an avi file and tried to check it as suggested here. But after a short while I just got a segmentation fault, without any other information! How is it possible to fix/repair this avi file? ...
0
votes
0answers
192 views

FLV video conversion using ffmpeg fails with “Changing frame properties on the fly is not supported”

I am facing a problem while converting .flv videos using ffmpeg. The output file format also has an extension of .flv. This is my command: ffmpeg -i 8617854d-77e1-4538-b7ea-2853bcb06ee2.flv -s ...
1
vote
1answer
125 views

Add audio at specific time in video using ffmpeg

I want to add an M4A audio of 5s duration to an MP4 video file. I have already tried the -itsoffset command of ffmpeg. ffmpeg -i a.mp4 -itsoffset 00:00:10 -i b.m4a -map 0:0 -map 1:0 -preset ultrafast ...
1
vote
1answer
494 views

Stream mp4 video via ffmpeg and rtmp using red5

I need to stream mp4 video file via FFMPEG and stream the output to RED5 using RTMP protocol. I am using the following command to do this. It's encoding perfectly, but it does not play when I embed ...
0
votes
0answers
41 views

Force FFMPEG to honour timestamp when receiving raw frames

My app interface is recorded with FFMPEG: ffmpeg -f rawvideo -vcodec rawvideo -s,1280x720 -pix_fmt argb -r 15 -i - -c:v libx264 -b:v 1024k result.mp4 All works very well except that the output ...
0
votes
1answer
39 views

poor video quality when timeshifting video with complex_filter

I am using a complex filter that works, but when I change it a little I get bad result quality. This version seems to work fine: [0:v]scale=640:480 [temp0]; [0:v] setpts=PTS-STARTPTS-1/TB, ...
0
votes
1answer
71 views

Decoding H.264 file to YUV with deblocking filter

When I'm decoding a H.264 file to YUV using ffmpeg, the deblocking filter flag is disabled. I ran the ffmpeg code in Linux using the command ./ffmpeg -f h264 -i input.h264 output.yuv Can anyone ...
1
vote
0answers
123 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
1answer
62 views

How to fix broken DV file using tools available for Ubuntu/Linux

I have a DV capture which for some reason is broken. By broken I mean that avconv/ffmpeg/avidemux won't open it, although totem and VLC will open it. I suppose there's something corrupt/wrong at the ...
1
vote
1answer
98 views

ffmpeg rotating source video and applying overlay images

I'm having some trouble with this, I've got a source video that has been recorded upside down. I need this video to be rotated and have a couple of transparent PNG files overlayed on top of it. I'm ...
0
votes
0answers
114 views

ffmpeg with minimum bandwidth with watchable video quality

I want ffmpeg and my video stream to use minimum bandwidth with average video quality. As I'm new to the video streaming, I'm not sure what all configurations I should add or change in my ffmpeg ...
0
votes
1answer
72 views

How to convert DV to robust compressed video file for editing later

I have 60Gb of DV footage that I need to store, but 60Gb is WAY too big. I need to transcode it to a lossy format, but I need the resulting video to be robust such that it can be easily edited with a ...
0
votes
2answers
69 views

How to add subtitle and concat video file in a line with ffmpeg?

I have 3 videos : 1387432825.avi, 1387435884.avi, 1387436066.avi and 3 subtitles for videos: part1.ass, part2.ass, part3.ass I try to add subtitle to each videos with commands: ffmpeg -i ...
0
votes
1answer
86 views

Video produced from BMP files only plays in VLC but no other players

Within my folder with bunch of 13MP bmp images named 0001.bmp, 0002.bmp,... I run the following commands from command line. Crop images to 4K ffmpeg -i %4d.bmp -vf "crop=3840:2160:184:240" ...
2
votes
1answer
175 views

FFMPEG: Convert m4a files to mp3 without significant loss of information / quality. Automated bitrate

I have a load of audio files (about 1000) which I want to convert from m4a to mp3 so I can use play them on a CD player which has a USB port. I tried doing something simple like: ffmpeg -i FILE.m4a ...
0
votes
0answers
25 views

Error while extracting 3 images from mp4 video file

I am trying to extract 3 images from mp4 video using ffmpeg.exe The images are generated just fine but I get some warning(yellow) and error (red) text Anyone can help me fix the issue? Thanks ...
0
votes
0answers
101 views

Landscape video from portrait images using ffmpeg

I have a series of pictures taken in portrait mode with a resolution of 480x800. I made video using ffmpeg command ffmpeg -r 1 -y -i image%d.jpeg out.mp4 And I get video in landscape mode with a ...
3
votes
0answers
97 views

What's the proper command syntax to change frame size/aspect ratio using ffmpeg?

I have a video that is 720x480 (3:2) that I would like to change to 720x406 (16:9) to match the other videos I have for a site. I have tried various command combinations, including: ffmpeg -i ...
2
votes
1answer
122 views

Ffmpeg Sync when extracting parts of video

This question can be seen as an extension of this question. I am using the ffmpeg 2.0.1 . The following commands is useful when you want to extract parts of one big video file given time makers. ...
1
vote
2answers
232 views

Ffmpeg Audio Stereo to Mono using only left channel

I use the following command to extract video parts of an '.MTS' record (video). ffmpeg -i 00402.MTS -s 1280x720 -r 25 -ss 0:00:05.38608 -vcodec libxvid -qscale:v 2 -acodec ac3 -ar 48000 -ab 256k -t ...
0
votes
1answer
210 views

Add custom time to video frames using ffmpeg

I am using ffmpeg to encode raw pixels data (bgr32) into a video file. Pixels data is being sent from java application to ffmpeg stdin pipe. I am looking for a way to add a timestamp overlay to each ...
1
vote
1answer
97 views

FFMPEG extracting unreasonable number of I-frames

ffmpeg version git-2014-01-14-abcde ffprobe -show_frames a.mp4 | grep pict_type=I | wc identifies 142 I-frames. ffmpeg -i a.mp4 -filter:v select='eq(pict_type\,I)' I.%03d.png generates thousands of ...
0
votes
0answers
60 views

OS X uploads .mp4 as quicktime? Changes metadata

I'm running into a rather peculiar issue uploading .mp4 from any browser on OS X. I'm using ffmpeg to convert files and .mp4's uploaded from OS X are causing issues. First off, the file I'm uploading ...
0
votes
1answer
78 views

Ffmpeg : Audio/Video mixing but no sound

I'm trying to add an audio file to a video file generated from images with FFmpeg. The command i am using on a Debian distrib is this one ffmpeg -r 1 -i edit%0d.jpg outputName.mp4 -i Test.mp3 ...
0
votes
1answer
141 views

ffmpeg drawtext and watermark only creates watermark but no text

If I try to add a text and a watermark at the same time, only the watermark shows. ffmpeg -i i.mp4 -vcodec libx264 -f mp4 -vf drawtext="fontfile=/[...]/share/fonts/freefont-ttf/FreeSans.ttf ...
0
votes
0answers
50 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) ...
0
votes
0answers
93 views

Is there an option in ffmpeg to specify a subtitle track that should be shown by default?

I have a video in MP4 format that is predominantly English language, but has a scene in which a character speaks another language. I have an English subtitle track in SRT format for this character's ...
0
votes
1answer
72 views

Use ffmpeg to transcode only wma lossless files and not wma files

I have a list of wma files with wma lossless files as well, and what i want to do is to use ffmpeg to transcode only those which are wma lossless and not the wma files. As we cannot distinguish these ...
1
vote
0answers
245 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 ...
0
votes
0answers
146 views

Recording RTSP using FFmpeg without packetloss

I want to record an RTSP stream using ffmpeg. ffmpeg -i "rtsp://link" -acodec copy -vcodec copy output.flv I am able to record. But its always missing packets like [NULL @ 0x2818340] RTP: missed ...
0
votes
0answers
70 views

Using multiple instances of webcam without thirdparty applications in windows

I want to show my webcam out in an swf file. That is in a webpage. At the same time, i need to record the stream using FFmpeg or Vlc. But the problem is the webcam cant be accessed by two applications ...
1
vote
0answers
215 views

Live video transcoding with reduced quality

I need to transcode input rtsp stream into HLS output of the certain quality. The input stream might be of 3 different qualities 2000kbs 30fps 1920x1080 500kbs 30fps 1280x720 192kbs 30fps 320x240 ...
0
votes
1answer
83 views

Video creating using “-vprofile baseline” giving error

I am padding a video using ffmpeg -i input.mp4 -vf "pad=width=640:height=480:x=0:y=120:color=black" output.mp4 The command is working fine. But I want to use "-vprofile baseline" to get a small ...
0
votes
0answers
56 views

ffmepg always get broken video streaming from rtsp protocol

I'm trying to capture rtsp streaming from Ip Camera by the command ffmpeg -t 10 -i rtsp://172.19.1.42/live.sdp -ss 00:00:02.500 -c:v copy download.mp4 However I always get the broken streaming, ...
1
vote
0answers
264 views

FFmpeg audio and video out of sync

I know there's a ton of questions on here about video and audio being out of sync when using ffmpeg, however I couldn't find a single one that solved my problem, so I'm hoping you all can help. I'm ...
0
votes
0answers
89 views

Record Audio From USB device using FFmpeg

I am trying to record an MP3 file from an audio device connected to the USB port using ffmpeg. I am on a Windows 7 machine, and I am trying to do this from a command line: ffmpeg -f alsa -i hw:0 -ac ...
0
votes
2answers
93 views

Concat 2 .mp4 files created with ffmpeg not working correctly

I am trying to concat 2 mp4 files that were both created with ffmpeg however the resulting output file does not contain any audio, can someone please help? Here's my current code: function ...
0
votes
0answers
125 views

How can I repair a damaged H.264 video stream from a security camera?

I have a security camera file in H.264 format. It cannot be converted due to error messages stating the file is damaged. Is there any way to repair this single 12 MB file so it can be converted to a ...
1
vote
0answers
92 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 ...
0
votes
0answers
175 views

How to stream video from VLC with subtitles overlayed?

I am trying to stream a video with VLC with subtitles overlayed on my local network. The command I am using without success: vlc -vvv myvideo.mkv :sub-file=mysub.srt :file-caching=300 ...
1
vote
1answer
3k views

Convert video with vp9 codec using ffmpeg

I am trying to convert input.mp4 video to output.mkv using vp9 codec. I have install development version of ffmpeg via: brew install ffmpeg --devel. ffmpeg -i input.mp4 -vcodec vp9 output.mkv But I ...
-2
votes
1answer
147 views

How to use equalizer on ffmpeg

I want to change the frequency of my videos. I think I can do this with ffmpeg equalizer but i couldn't find any documents about that. My video's name is video1.mp4 Thank you.