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
146 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
64 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 ...
1
vote
1answer
2k 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
160 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 ...
25
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
220 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
57 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
164 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
246 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
165 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
79 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
124 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
78 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
326 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
374 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
200 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 ...
9
votes
1answer
2k 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
94 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 ...
4
votes
1answer
387 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
68 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
33 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
201 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
122 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
181 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
93 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
95 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 ...
2
votes
2answers
184 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
159 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
966 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 ...
1
vote
5answers
250 views

How to convert from .avi container to .mp4

I have an .avi file containing the following streams: Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 608x256 [PAR 1:1 DAR 19:8], 23.98 tbn, 23.98 tbc Stream #0.1: Audio: mp3, 48000 ...
0
votes
1answer
67 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
309 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
138 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 ...
1
vote
0answers
150 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
34 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
251 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
228 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
443 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
141 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: ...
0
votes
3answers
786 views

How do I extract DTS core from a DTS-HD MA track using ffmpeg or alternative linux based tool?

I'm trying to extract the DTS core from a DTS-HD MA track using ffmpeg running on a Linux dedicated server. I've tried: ffmpeg -i input.mkv -vn -sn c:a copy output.dts Note switches -vn and -sn ...
0
votes
1answer
44 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: ...
0
votes
0answers
99 views

Prevent ffmpg from concealing errors during conversion

I'm experimenting with using Audacity to create glitch videos (datamosh and databend are synonyms). So, I create an AVI, pull it into Audacity as raw data, manipulate the stream, and the save it back ...
0
votes
0answers
233 views

Some ffmpeg command not working properly when I execute through java on ubuntu 14.04

When I execute ffmpeg command through java code then It is not executing properly Example-: I want to draw text in video through java code My code in java is String cmd="ffmpeg -i 12213blob.mp4 ...
1
vote
1answer
140 views

merging video and audio with different durations

Following http://superuser.com/a/762752/7796 I'm using the following to merge a video and audio file into one file with some custom audio panning rules. ffmpeg -i vid.mp4 -i rec.mp3 -filter_complex ...
0
votes
1answer
204 views

ffmpeg: convert and keep audio track

I have some video files in H.264 codec and DTS audio. My goal is to convert the audio tracks (mostly 2 tracks, English and German) to AAC, but also keep the DTS audio track. I tried this command, but ...
0
votes
1answer
228 views

How to execute ffmpeg via php on Windows

This is my script: echo "Starting ffmpeg...\n\n<br>"; $cmd = "ffmpeg -i video.mp4 -ss 00:01:30.35 -vframes 1 img.png"; echo shell_exec($cmd); When I run it from CMD it works just fine but ...
0
votes
1answer
26 views

Is it possible for ffmpeg to encode with a spatially variable bit rate?

I would like to reduce the overall bitrate of a 4K 180 degree FOV video by decreasing detail outside of 60 degrees while retaining it in the center. Is that possible?
1
vote
2answers
958 views

Remove .mp4 video top and bottom black bars using ffmpeg

I'm new to ffmpeg and I have heard that it has a filter for black. I want to remove black bars on top and bottom of the video so the video will be cropped to the remaining video without black bars. ...
0
votes
1answer
66 views

FFMPEG :Speed Gain libx264 codec Threads

I am wondering, how much the speed gain is, when using multiple threads (16), because there is more than just writing frames out simultaneously? Can someone give some information? thanks
0
votes
1answer
549 views

Scale watermark overlay by video size with ffmpeg

I would like to scale a watermark to 5% of the video width. I need something like that: ffmpeg -i 1.mp4 -i logo.png -filter_complex "[1:v] scale=1_MP4_VIDEO_WIDTH*0.05:-1 [logo1]; [0:v][logo1] ...