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
20 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
21 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
1answer
25 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 ...
2
votes
0answers
37 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 ...
0
votes
0answers
18 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
40 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 ...
0
votes
0answers
22 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
23 views

What MPEG4 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
6 views

How to convert video files using settings from ffprobe?

I want to convert a video file .mp4 to .avi using the setting of an .avi file that works for me on my DVD player. I used ffprobe to see the settings of the working .avi file and here it is: Duration: ...
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
29 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 ...
0
votes
1answer
29 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 ...
2
votes
1answer
24 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 ...
3
votes
1answer
2k views

Can FFMPEG convert mp3 files into m4a in full, i.e. with both audio and video streams (jpeg cover) copied?

I use Zeranoe build of ffmpeg. It converts mp3 files into m4a files just fine, as far as the audio stream is concerned, but I can't figure out a way to keep the songs album cover jpeg, which ffmpeg ...
23
votes
4answers
19k views

How can I make ffmpeg be quieter/less verbose?

By default ffmpeg sends a whole lotta messages to stderr: when built, how built, codecs, etc, etc, etc. How can I make it quieter? I've tried -v 0 (and -v 10 since the documentation just coyly says ...
0
votes
0answers
30 views

Converting avi to mp4 with h.264 codec [closed]

I had been trying to convert my avi file to h.264 codec to be able to use it in Latex. I tried every example i could find online , and most of the time the converted video is blank! However a ...
2
votes
2answers
132 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. ...
2
votes
1answer
52 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
54 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
1answer
40 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
268 views

Converting Unix script to Windows batch for FFmpeg resizing

I want to reduce video dimension to 720:480 & keep original aspect ration when input video width > 720 else, keep original dimension and aspect ratio. I am trying to reproduce this script in a ...
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
153 views

Can't convert FLV to MP4 for iPhone with ffmpeg

I'm having issues with converting an FLV to an MP4 that will play on iPhone/iPad via Video-js. It seems that the ffmpeg commands are not converting properly. Here's one of the original commands ...
2
votes
1answer
53 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 ...
10
votes
1answer
4k views

FFMPEG - Non-monotonous DTS

When I use FFMPEG to convert a video from MP4 to M3U8, using the following command, ffmpeg -i op.mp4 -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 ...
1
vote
1answer
2k views

Problems with frame rate on video conversion using ffmpeg with libx264

I have problems with transcoding some videos. I ran the most simple ffmpeg command and it takes very long time and the output file is about 10 times bigger. If I provide the frame rate parameter -r it ...
23
votes
3answers
8k views

Meaningful thumbnails for a Video using FFmpeg

FFmpeg can capture images from videos that can be used as thumbnails to represent the video. Most common ways of doing that are captured in the FFmpeg Wiki. But, I don't want to pick random frames at ...
1
vote
1answer
3k views

ffserver configuration to handle a large webm stream

I'm setting up an ffserver for CCTV streams with 16 cameras - all the individual channels are streaming well with a config like: <Feed 0.ffm> File /tmp/0.ffm FileMaxSize 5M ACL allow 10.1.2.2 ...
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 ...
0
votes
1answer
6 views

Is it possible to count from a given number when extracting images from a video with FFmpeg?

I am using ffmpeg to extract still images from a video. First from the beginning of the video, to a given time and then from the end of the video from a given time. So I am using two ffmpeg command ...
0
votes
1answer
35 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 ...
8
votes
1answer
398 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. ...
1
vote
0answers
31 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 ...
1
vote
1answer
55 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 ...
0
votes
1answer
183 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" ...
0
votes
0answers
20 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 ...
1
vote
1answer
102 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
0answers
34 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 ...
2
votes
3answers
985 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 ...
1
vote
0answers
237 views

Conversion from MP4 to WAV results in desync with FFmpeg, but not when using VLC

Converstion to .wav from .mp4 video causes a desynchronization when the conversion is done with FFmpeg, but not when with VLC. I've been trying to figure this out for days now and any help is greatly ...
0
votes
0answers
118 views

Needing to stream video or audio, and manage it as a file

I am using ffserver to stream video from my webcam to over the net. I am looking to make these streams available as a file, so I can serve them over http and through an apache server uri scheme. I ...
1
vote
1answer
32 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 ...
1
vote
0answers
541 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 ...
0
votes
0answers
21 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 ...
7
votes
3answers
6k views

How to generate an MP4 with H.265 codec using FFmpeg?

I want to encode a video file to H.265. The last version of ffmpeg should be support H.265 (Source). However, I could not find any information about the exact command. I do not know, which library I ...
3
votes
0answers
546 views

ffmpeg to resize and concatenate multiple videos

I need to perform 3 operations on a source video (in sequence) 1 resize the source video from 320X 240 to 640X480 (200%) 2 add another video file before 3 add a 3rd video after In addition I ...
0
votes
1answer
180 views

(ffmpeg/menc) how to split movie by given filesize?

I am looking for a way to split a larger file into smaller parts - for example a 4gb movie file into 1024MB parts. Does ffmpeg or mencoder this do this jon?? I need a filesize specific solution to ...
0
votes
1answer
116 views

Automatic width calculation for video resizing in FFMPEG

Right now I'm using this to try and scale a 720p video down to 480p, the problem is the automatic width is selecting an odd number. I am currently using -vf "scale=trunc(oh*a*2)/2:480 and it still ...
0
votes
0answers
28 views

FFmpeg on Linux Video Size in Preset

Hi everyone I am trying to create a preset to encode my videos with ffmpeg through this file: #video options s=716x402 vcodec=libx264 minrate=900k maxrate=1100k bufsize=1500k vprofile=high level=4 ...