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
16 views

Unknown encoder 'libmp3lame' in Ubuntu 14.04

I'm running Ubuntu 14.04.1 LTS. The question looks like this Unknown encoder 'libmp3lame', but I followed everything there and installed every package they mentioned but still I am getting the error. ...
0
votes
1answer
36 views

How can I burn-in subtitles to a file using ffmpeg?

I have a file called test.m4a and test.srt in the same folder. How can I burn in the subtitles to m4a? The output I am getting is : Korays-MacBook-Pro:~ koraytugay$ ./ffmpeg -i test.m4v -vf ...
-1
votes
0answers
29 views

How to reduce audio sampling rate with libmp3lame in ffmpeg [on hold]

I want to reduce the audio sampling rate of my movie in FFMPEG. When I use libmp3lame -b:a 16k -ac 1 -ar 44100 it works correctly but when I reduce those to libmp3lame -b:a -16k -ac 1 -ar 8000 I get ...
0
votes
1answer
21 views

Converting problematic 9.99fps video to something standard (ffmpeg?)

I recently got some CCTV video released to me via a FOIA/PA request. I'd like to put up the full version on YouTube, as well as version edited w/ Final Cut Pro. However, Handbrake, Quicktime, Final ...
0
votes
0answers
28 views

How to multicast live H264 without transcoding?

I have a live H264 stream (hardware encoded from the webcam) and I'd like to stream it over the network using multicast on a Linux platform. Because the platform has limited CPU power, and the data ...
1
vote
1answer
19 views

“ffmpeg: command not found” - But it's in the current directory? [duplicate]

I'm trying to convert some .png files I have into a movie using ffmpeg. I'm using the tutorial: http://www.miscdebris.net/blog/2008/04/28/create-a-movie-file-from-single-image-files-png-jpegs/ The ...
1
vote
1answer
24 views

How to pause the ffmpeg recording process?

I am working on a screencasting application and using ffmpeg for these purposes. I am able to start recording by calling ffmpeg with this command : ffmpeg -f dshow -i ...
0
votes
1answer
38 views

Adding subtitles to video fails with ffmpeg

I am trying to add a subtitle to a video using ffmpeg and a .srt file. Using the command: ffmpeg -i videopath.mp4 -i subtitlefilepath.srt -c:v libx264 -preset ultrafast -ar 44100 -ac 2 -ab 128k ...
0
votes
0answers
19 views

Adding an image around a video with padding filter

I'm using padding filter in ffmpeg. How can I put an image around the video instead of black borders? My code: for %%a in ("*.mp4") do ffmpeg -i "%%a" -y -ss 1 -b:v 2000k -filter:v ...
1
vote
1answer
29 views

Speeding up and scaling video with ffmpeg

I'm using the command below to create gif thumbnails from my videos. However the "speeding up" part doesn't work - so I'm wondering if there is something I don't know? Like combining certain flags ...
1
vote
1answer
27 views

ffmpeg doesn't convert audio

I'm trying to convert my video file. Here is Input #0, avi, from 'file.mpg': Metadata: encoder : MEncoder SVN-r37289 Duration: 01:32:15.60, start: 0.000000, bitrate: 123104 kb/s ...
0
votes
0answers
24 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 ...
0
votes
1answer
29 views

FFMPEG. Two dshow sources and one output. Combine commands

Office PC has to record what operators say to clients and contrariwise way - clients to operator. I got low resourse solution. But is there way to combine this two commands? ffmpeg.exe -f dshow -i ...
0
votes
0answers
26 views

FFMPEG: Generated video will not concat with the rest

I am trying to make a video with FFMPEG, and I am concat'ing several videos together. However, the last two are generated from a PNG image using the -loop option. ffmpeg -loop 1 -i img001.png -filter ...
0
votes
1answer
45 views

What H.264/H.265 video compression parameters provide DVD-equivalent quality with better compression?

I have got a box of DVD video disks that I seek to get rid of while I'd like to keep the videos by converting them into MP4 files to store them on a hard drive. Considering superiority of the modern ...
0
votes
1answer
46 views

Use ffmpeg for JPEG to TIFF conversion

I would like to use Tesseract OCR with a video. With ffmpeg I can export some (.jpeg) images from a video. Can I convert a .jpeg into a valid .tiff or export directly .tiff images from the video with ...
23
votes
1answer
2k views

Why are my MP3 files the same size, even when I change the bitrate with ffmpeg?

I converted an audio stream into 3 different settings using essentially the same format. They ended up being exactly the same size. Why is this? ffmpeg -i "Likoonl-Q1-All.mp4" -c:v copy -c:a ...
-1
votes
1answer
31 views

FFMPEG get mono WAV audio 8khz 16 bit out of mp4 video

I need to extract audio out of MP4 video file using FFMPEG. Just extracting audio is easy enough but I can't figure out the right parameters to get audio in mono 8khz 16 bit. Basically I need to take ...
2
votes
1answer
27 views

ffmpeg not outputting video

I am trying to use ffmpeg to split up a quicktime into smaller quicktimes. I have a csv file with in and out points that I feed to Python, which in turn builds a ffmpeg command. However, I have ...
2
votes
1answer
59 views

Splitting video file into equivalent segments with ffmpeg

I have ffmpeg installed in my linux box. I am using it to split files into equivalent segments. So far I have test two approaches: 1. Create a bash script that grabs the file durationffprobe and then ...
1
vote
1answer
58 views

Change codec of WAV file

Is there a way to change the codec/format of WAV file? Can I use ffmpegor anything else? From RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz to RIFF (little-endian) ...
2
votes
0answers
40 views

Pipe issue with ffmpeg

I have been using the following ffmpeg command successfully to extract the first frame of an mp4 file: ./ffmpeg -i video.mp4 -vframes 1 -y frame.bmp However, when I try to use the below pipe ...
2
votes
1answer
63 views

Use ffmpeg on linux, without administrative rights

I'm a beginner linux user, and I don't have administrative rights on a linux system, but I would like to run ffmpeg somehow. I know, I can't install it, so I'm looking for some installed binaries to ...
0
votes
1answer
30 views

Mixing two sounds in ffmpeg going wrong

I've come across a certain problem and couldn't find a solution anywhere, so: I have two files, f1.mp3 which is a common mp3 file, some sounds that's all, and f2.mp3 which is mostly silence but has ...
0
votes
1answer
37 views

Confused about timecode/fps results when using avconv/avprobe

I'm using avprobe to get information about timecode and fps from videos. Getting the information isn't a problem but I'm a bit confused as to the result. When running avprobe on an H.264 file I'm ...
0
votes
1answer
28 views

Loop audio file to a given length

I'm currently facing an issue where I need to take some mp3 file and make another mp3 file where the first one is playing for a given amount of time, looped if needed. Preferably I'm looking for a ...
2
votes
2answers
142 views

Slicing video file into several segments

I am currently using ffmpeg to slice video files. I automated the process through a script called ffmpeg_split.sh. Although this very slow it is efficient in splitting videos into equivalent settings. ...
1
vote
0answers
37 views

ffmpeg add alpha channel to a video

Basically I have a video with a green background, and I mean a perfect green background (red = 0, green = 255, blue = 0) and I want to convert this to alpha (i.e add an alpha channel where 0 255 0 ...
8
votes
1answer
412 views

Why can't Quicktime play a movie file encoded by FFmpeg? [duplicate]

When I try to open a movie I just created with the command: ffmpeg -pattern_type glob -i '*.JPG' -s 640x480 movie.mp4 I get an error from QuickTime: The document “movie.mp4” could not be opened. ...
0
votes
0answers
22 views

Consolidating multiple mp3 files into 1 m4a file, keeping chapter metadata

I chose ffmpeg as the tool by recommendation from How to convert series of MP3 to a M4B in a batch. evilsoup mentioned Neither of these will add chapter metadata, I'm afraid. So is there any ...
2
votes
1answer
58 views

Split Up a Video Using FFMPEG through Scene Detection

I saw this thread, which almost exactly does what I want, but I'm actually looking for splitting on scene detection. Automatically split large .mov video files into smaller files at black frames ...
0
votes
0answers
35 views

FFmpeg - Converting JPG to AVI issue

I'm having an issue converting jpg files to avi using ffmpeg. I use this command: ./ffmpeg -start_number 1 -i ~/PycharmProjects/images/test/img%04d.jpg -vcodec mpeg4 test.avi My files are named ...
0
votes
1answer
22 views

Making application globally available in Terminal

I've downloaded ffmpeg and placed it in a folder, say /user/bla. Now every time I wish to run ffmpeg, i need to enter system:random/path user$ /user/bla/ffmpeg [arguments] Can I make the application ...
1
vote
1answer
62 views

ffmpeg-transcoded H.264 video does not play in Chrome

I am trying to transcode videos using ffmpeg. Following is the sample command. ffmpeg.exe -i 534.mp4 -vcodec libx264 -level 3.1 -b:v 396k -ar 48000 -ab 32k -s 100x100 -force_key_frames ...
2
votes
1answer
42 views

Put MXF video into a MOV container with FFMPEG?

I am trying to put MXF video and audio tracks into a single MOV container with FFMPEG. I would like to maintain the existing video format. My FFMPEG build parameters are the following: ffmpeg version ...
1
vote
1answer
34 views

ffmpeg - silencing a section of video with multiple audio streams

I have been trying to silence a section of a video with multiple audio streams. I'm not getting it to work correctly. Trying with afade option gives me a silent video. Test video just has one audio ...
0
votes
0answers
28 views

How to create a GTK window that can display outputs from two webcams?

I searched for this a lot for the past few days. I am kind of a newbie to GTK. My assingnment is to make a GTK window that can display outputs from two different webcams using either C or C++. I know ...
0
votes
0answers
37 views

ffmpeg seems to use video's key frame position when cutting audio segment

Whenever I try to cut an audio segment (almost always AAC format) from a video file (almost always h264 format in MKV or MP4 container), ffmpeg fails to accurately cut the audio as instructed. I am ...
1
vote
2answers
61 views

How do I “grep” output in Windows [duplicate]

Every answer I've found to get a video's duration with ffmpeg contains grep, which cmd doesn't natively have. I know there's a "Grep for windows" thing, but I'd rather use a function that comes with ...
0
votes
0answers
50 views

ffmpeg Error while opening decoder for input stream #0:0 : Resource temporarily unavailable

I want to convert png images into mp4, this my ffmpeg code: /usr/local/vencode/bin/ffmpeg -y -framerate 1/5 -i /home/fanzaholic/public_html/lab/server/script/1411400997_open_%03d.png -c:v ...
1
vote
1answer
129 views

How to stream MPEG video using RTP using VLC command line

I'm attempting to convert the following vlc command line which is streaming an MPEG video over UDP ( no RTP ): cvlc -vvv /vlc/attract.mpg :norm=ntsc :v4l2-width=320 :v4l2-height=240 ...
0
votes
1answer
31 views

How to avoid videos (made of images) look tilted in VLC?

I created this video using the following FFmpeg command: ffmpeg -i in.ffconcat -c:v libx264 -pix_fmt yuv420p -r 30 out.mp4 The content of the file in.ffconcat is: ffconcat version 1.0 file ...
0
votes
1answer
40 views

FFmpeg Converted files not working on firefox

When i convert a file with ffmpeg and play the video in firefox i get this error : "VIDEOJS:" "ERROR:" "(CODE:3 MEDIA_ERR_DECODE)" "The video playback was aborted due to a corruption problem or ...
0
votes
0answers
45 views

Pipe ffmpeg->ffmbc cut files after some length

I recently tried the following command: ffmpeg.exe -i "C:\Users\Dennis\git\cnn\CNN\watch\filea.mp4" -i "C:\Users\Dennis\git\cnn\CNN\watch\fileb.mp4" -filter_complex ...
0
votes
0answers
27 views

Why doesn't my audio work in Quicktime (but does in other players) when combining an mp3 and video file using FFmpeg?

I'm trying to denoise the audio in a video. I've determined that this isn't really possible in ffmpeg, so I've extracted the audio from the video this way. $ ffmpeg -i found1-1.mp4 audio.mp3 $ ffmpeg ...
0
votes
0answers
16 views

FFmpeg Negative Duration

i have a large number of small videos (parts of a larger) of the form : Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.43.100 ...
0
votes
0answers
64 views

ffmpeg drawtext timecode filter using low frame rate

I am using the drawtext timecode filter in ffmpeg with great results when the source video is 25 Frames per second but I have a number of uncompressed avi's with low frame rates, mainly 6. When I use ...
0
votes
1answer
43 views

How to delete the embedded picture and add lyrics in flac?

According to FLAC Documentation, pictures can be stored in flac audio format, but lyrics (maybe lrc, srt, or even ass/ssa) isn't mentioned in that documentation. So, how to delete the embedded ...
0
votes
1answer
70 views

FFMPEG to stream to rtmp

I am streaming a file from hard disk to rtmp server. What i need is to stream a file from the client PC. i.e., I am hosting ffmpeg on the server and my web application streams the file from the client ...
1
vote
0answers
67 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: ...