Tagged Questions

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

0
votes
1answer
14 views

How do I name an audio track with ffmpeg

When a file has more audio tracks, VLC can show their names - or titles, I am not sure about the terminology - in menu under Audio>Audio Track. When I recode the file with ffmpeg -i input.mp4 -map ...
0
votes
0answers
8 views

Minimize PCR Jitter in mpegts stream

I am using ffmpeg for capturing desktop screen and creating mpegts stream. I am using following command. ffmpeg -y -loglevel warning -f alsa -ac 2 -i pulse -f x11grab -s `xdpyinfo | grep ...
-5
votes
1answer
39 views

Create video with 5 images with fadeIn/out effect in ffmpeg

With 5 images I have to create a video of 60 seconds in ffmpeg, each image has to display for 15 seconds. after 15 seconds, first image has to fade out and 2nd image has to fade in, after that 2nd ...
0
votes
1answer
21 views

How to encode and split an audio file in FFmpeg using asplit

I am trying to turn and split an audio file into two separate mp3 files with different qualities; One at 128k One at 320k What I 've come up so far is this: ffmpeg -i myaudiofile.wav ...
0
votes
1answer
20 views

ffmpeg: How to add two consecutive audio streams to a video file

I have following files: - video.mp4 (120sec, no audio) - audio1.mp3 (70sec) - audio2.mp3 (50sec) I want to combine these files in such a way that audio1.mp3 will start at the begining of a video, ...
0
votes
0answers
13 views

How to cut video using ffmpeg [duplicate]

I have a video file of 2 hours, but I want to remove the time from 00:45:00 to 01:05:00 and from 01:50:00 to 02:00:00. How can I do that? Please help.
0
votes
1answer
16 views

Why use -vframes and -ss to get thumbnail image from video?

I am using this argument to FFmpeg to get a thumbnail image from a video file: ffmpeg -i input.mp4 -vframes 1 -s 320x240 -ss 10 output.jpg I understand that -ss 10 tells FFmpeg to capture the ...
0
votes
0answers
30 views

ffmpeg glob pattern not working [on hold]

I want to convert all files in a folder. I am using this command: ffmpeg -pattern_type glob -i "*.jpg" "new_Folder/%04d.jpg" But its not working. it says *.jpg invalid argument . I am writing this ...
0
votes
0answers
38 views

Best CPU for ffmpeg encoding on linux? [closed]

What would be the best CPU for parallel video transcoding on a Linux server using ffmpeg, I am confused between the i7's and Xeon's. While Intel Core i7 has GPU which should help in faster ...
1
vote
2answers
45 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
2answers
44 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
33 views

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

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
22 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
35 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
23 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
26 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
47 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
20 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
39 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
29 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
27 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
35 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
28 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
65 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
49 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
35 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
31 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
68 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
62 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
43 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
32 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
40 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
30 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
146 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
46 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
428 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
25 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
63 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
37 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
68 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
46 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
36 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
33 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
43 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
66 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
54 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
145 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 ...