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
0answers
3 views

Pipe ffmpeg->ffmbc cut files after some length

I recently tried the following command: http://pastebin.com/G1yHAjKD Well, after 360MB (ca 40 sec) the output file doesn't grow anymore, but it's still rendering. After changing rawvideo to huffyuv ...
0
votes
0answers
7 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
6 views

What parameters should i use to achieve best audio quality at 128 kbps in ffmpeg?

i need to achieve the best audio quality for my audio files, keeping them at 128kbps. I need to know which encoder and what parameters can i use to achieve that.
0
votes
0answers
8 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
15 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
21 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
26 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
29 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
2answers
29 views

How do I extract DTS core from a DTS-HD MA track using ffmpeg?

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 -vm c:a copy output.dts This obviously copies the entire ...
0
votes
0answers
18 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
28 views

What tools are available to make quality video introduction with visual effects programatically? [on hold]

I'm currently maintaing 2000+ videos for a project. The videos have poorly made intros and I'd like to re-do them. I've cobbled a way to make something tolerable using FFMpeg, Substation Alpha, Mp3 ...
0
votes
0answers
21 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 ...
0
votes
0answers
30 views
+50

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 ...
-2
votes
0answers
18 views

(WINDOWS) Record sound from speakers (ffmpeg, sox, etc..) [duplicate]

Strange, but I cannot find a way to record sound from speakers with command-line utility in OS Win. I prefer to deal with ffmpeg cos it's very fast.
0
votes
1answer
31 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
16 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
22 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
1answer
54 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
19 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
33 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] ...
1
vote
1answer
35 views

How to join audio files of different formats in ffmpeg

I am trying to join multiple audio files in ffmpeg. I am using the following command: ffmpeg -f concat -i myfile.txt -c copy output.mp3 Where myfile.txt contains audio file paths. I am able to ...
0
votes
0answers
43 views

I get wrong aspect ratio for images and video converted using ffmpeg

I am trying to convert some old movie files to images (and later to reencode as h.264). The problem is that the resulting images are stretched vertically. Here is the ffmpeg command: ffmpeg -i ...
3
votes
1answer
74 views

Use ffmpeg To Batch Process M4A To M4A?

I've been using the code shown below to copy the AAC audio stream from 1 M4A container into a new M4A container. ffmpeg -i "C:/Example/01 Example Song.m4a" -acodec copy "C:/Example2/01 Example ...
0
votes
0answers
23 views

FFMPEG EXR to TIFF works, TIFF TO JPG, but not EXR to JPG

I try to batch-convert EXR Images to JPG Images. Converting EXR to JPG doesn't work, i get a corrupt error when trying opening the file. ffmpeg.exe -y -i C:/test.exr C:/outs.jpg But Converting EXR ...
0
votes
1answer
34 views

Merge two audio and one video when reeconding

I know it seems this is answered, but I can't merge two audio files and one video. My command is: ffmpeg -i file.mp4 -i file.aac -i file.mp3 -itsoffset 4 -i file_1.mov -itsoffset 10 -i file_2.mov ...
0
votes
1answer
46 views

FFMPEG Windows Generate 360p Video conversion failed

Input : "C:/server/ffmpeg/bin/ffmpeg.exe" -y -i C:\server\websites\ps\public_www/media/com_hwdmediashare/files/50/4f/37/4185216cb9bb234fd47ee43bf2122e4f.avi -strict experimental -acodec aac -ac 2 -ab ...
0
votes
0answers
56 views

ffmpeg convert swf to mp4 error

my command: ffmpeg -i /Users/xxx/Downloads/demo.swf -y /Users/xxx/Downloads/demo.mp4 demo.swf has many frames and 9 photos, but ffmpeg convert result is only 9 frames: "frame=9 fps=0.0 q=-1.0 ...
0
votes
0answers
27 views

ffmpeg -concat slowing down AAC audio files

I am concatenating six m4a files with this command ffmpeg -f concat -i audiofiles.txt -c copy all_audio_edited.m4a each file has a duration of 4 hours (24 in total) but the concatenation doesn't ...
0
votes
0answers
51 views

Using FFmpeg to stream from webcam on Linux

I'm try to stream input from a webcam to an http server, using FFmpeg. I cannot seem to figure out how to do this. From v4l2, these are my options: $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 ...
0
votes
0answers
70 views

Some transcoded streams delayed or not playable from ffmpeg

Some of the audio files in my music collection are unplayable when transcoding them using ffmpeg. Most audio files transcode nicely using the default settings for my Subsonic media server. I'm pretty ...
1
vote
2answers
125 views

ffmpeg - Normalize Audio With Varying Audio Volume

I have a .MOV file whose sound I would like to normalize. However, when I run the following command I see that the volume varies (mono to stereo and with varying max_volume levels) throughout the ...
0
votes
1answer
50 views

instalation ffmpeg in Ubuntu

I am using following steps for installing ffmpeg-php extension in Ubuntu Download ffmpeg-php-0.5.2.1.tbz2 extract it go to this directory run this "phpize" ./configure && make but when I ...
0
votes
0answers
34 views

ffmpeg speed up video but keep same quality

I made a timelapse out of an image sequence using ffmpeg and the copy codec to disable compression and keep the quality to a max. The timelapse is a bit too long (10 minutes and up) so I tried to use ...
0
votes
1answer
53 views

FFMPEG combine PNGs of different size into movie

Is it possible to combine PNG of different heights without rescaling (like tile does)? I have pairs of images of same width, but first has height 900px and second 200px. I would like them to merge ...
0
votes
0answers
22 views

How to split an MPEG-2 video stream accurately?

I got a NTSC DVD iso image, and the video stream was encoded to H.262/MPEG-2 format,but there are two chapters located in three seperated .vob files, the film in the first chapter has been processed ...
0
votes
0answers
33 views

FFmpeg trick mode (fast forward and rewind) during encode possible?

I'm trying to watch a live stream on my Roku (though this should apply to other devices) though my Roku only supports mkv and mp4 which I don't believe is the issue. if I pipe in the live stream and ...
0
votes
0answers
40 views

FFmpeg overlay two videos, one input with transparency

I am trying to create a karaoke from a CD+G file (converted to AVI using FFmpeg) and add a video as a background of the lyrics. Here's a screenshot of a the output from CD+G conversion, for ...
0
votes
0answers
55 views

Creating video from set of images on windows with java language

I am stuck making a video from set of images using ffmpeg on Windows. For a single image it is converting into mp4 but for a set of images it failed, I have converted single % to double % with double ...
1
vote
1answer
56 views

How to place metadata at beginning of MP4 video using ffmpeg

I am trimming the video using ffmpeg but the metadata position was founded at last in output video. Is there any way to put metadata at beginning of output.mp4
0
votes
0answers
34 views

Merging audio and video files of different length using mp4box

I have to merge video and audio file together. Currently I am using this command mp4box -flat -add <video> -add <audio> <outputfile>.mp4 But the problem is, if the video is of say ...
0
votes
1answer
55 views

error in convert video with ffmpeg

FFmpeg failed to transcode dsmall.mp4. Reported errors PHPVideoToolkit error: Execute error. It was not possible to encode ...
0
votes
1answer
36 views

How can I convert videos for Sony Xperia U on my Linux box?

I would like to send a few videos for my girlfriend, but I would ensure they are playable on her mobile phone. I want to carry out the encoding tasks on my Arch Linux box, because my PC is a low end. ...
0
votes
2answers
44 views

ffmpeg add audio but keep video length the same (not -shortest)

I'm adding audio to a video file using ffmpeg like so ffmpeg -i videofile.mp4 -i audiofile.wav output.mp4 However this extends the output video file to be the length of the audio file if it is ...
1
vote
1answer
42 views

How to make the cygwin fontconfig package inherit Windows fonts?

I'm using a cygwin64 build of ffmpeg (1, 2) to burn subtitles into a video file as follows: $ ffmpeg -i file.mp4 -vf subtitles=file.srt file.ts ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg ...
1
vote
1answer
55 views

How to remove fisheye from videos on Ubuntu

I have some videos I have taken using a head-mounted video-camera. The camera records the videos with a 'fisheye' effect. How do I remove it?
0
votes
0answers
64 views

How to save udp stream to .ts files whith ffmpeg while keeping timestamp?

I need to record a live udp stream containing multiple TV programs ( up to 30 ) to .ts files .To do so i'm using FFMPEG . I have a muxer at work , but i dont go there everyday so im using a sample ...
0
votes
1answer
50 views

How to replace an audio stream in a video file with multiple audio streams?

I want to replace the second audio stream (0:2) in a video file that has two audio streams and give it a label if possible. How would I go about this? All the ffmpeg commands I found won't let me keep ...
0
votes
0answers
19 views

ffmpeg default filter for input sources

I'd like to create a video from a bunch of still images (as described on the ffmpeg wiki) but I'd like to do a cross fade between each image. Is there any way to do this short of dynamically ...
0
votes
1answer
55 views

Ffmpeg drawtext on top of scaled video regardless of image size

I am making a video from single image using ffmpeg and draw text on top of the video. How can I drawtext that will overlay on top of the scaled video size instead of the image scale? Right now when ...
0
votes
1answer
43 views

ffmpeg video with single image and drawtext failed, -loop causes short freeze

I am trying to create a video from single image and add a text on top. Command on Ubuntu: ffmpeg -loop 1 -r 1 -i image.jpg -b:v 1M -vf scale=320:240 ...