FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line ...

learn more… | top users | synonyms

2
votes
1answer
116 views

Lossy output with FFMPEG JPEG 2000

I'm trying to achieve a lossy JPEG 2000 output with FFMPEG, but no success so far. Using this command line: ffmpeg -i input.dpx -pix_fmt yuv420p -vcodec libopenjpeg output.jp2 As a result I get ...
2
votes
1answer
87 views

Unable to concatenate videos due to identical MOOV atoms

I am cutting out segments from a long mp4 file and then rejoining parts of them. However, since FFMPEG apparently keeps the same MOOV atom for the trimmed files as the original, it looks to FFMPEG ...
0
votes
1answer
30 views

Calculating loss when converting from MTS to AVI using FFMPEG

I am using the following script to convert my MTS video to an AVI video: for %%a in ("*.mts") do ffmpeg.exe -i "%%a" -vcodec libxvid -s 848x480 -maxrate 4800k -b 4000k -qmin 3 -qmax 5 -bufsize ...
4
votes
0answers
102 views

Is it possible in FFMPEG to change scale over time?

Ok, so using the overlay filter, one can change the x/y location of a video over time by using the "t" variable. For example, overlay=x='if(gte(t,2), -w+(t-2)*20, NAN)':y=0 can be used to start ...
2
votes
0answers
79 views

segment does not contain sync frame

Whenever I split a video using Apple's mediafilesegmenter, using the following command: medifilesegmenter video.ts -t 10. I get the following error for each segment except the first: segment does not ...
1
vote
0answers
30 views

ffmpeg filter_complex problem

I'm trying to achieve complex effect with ffmpeg, but I seem to be failing the syntax of -filter_complex somewhere. The goal is to capture part of the screen (with UScreenCapture direct show device) ...
1
vote
0answers
39 views

The ffmpeg`s filter_complex blend respecting overlay`s alpha channel

I need to blend an video with an semitransparent png like this: [1:0][0:0]blend=all_mode=average Seems like the transparency of png is ignored. What I missed? How to make the ffmpeg to respect ...
1
vote
0answers
26 views

How to get ffmpeg/x264 to use same parameters as input?

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264. In short, get ffmpeg to segment the input file. Locate the segment(s) with changes to be made. Re-encode altered segments with ...
1
vote
0answers
148 views

How to transcode mkv media into different resolutions with ffmpeg

I am trying to setup a server that allows me to broadcast a single media file using ffmpeg to a ffserver so that I can use the RTP protocol to allow clients to view the media at different resolutions ...
1
vote
0answers
85 views

ffmpeg-php with fixed width and height and without stretch or squish

Hi there I googled for hours but no success to solve... This code works for me exec("ffmpeg -i $SourcePath -ar 22050 -ab 32 -f wemp -vf scale=500x400,setdar=16:9 $uploadpath1 2>&1"); but ...
1
vote
0answers
47 views

Set ipad compatible thumbs for mp4 videos based on a frame of the video with command line

I have a directory of 100 mp4 files. All are working well on my ipad but most of them do not have a working thumb. I want to generate these thumbs with a command line command (on macosx) based on a ...
1
vote
0answers
373 views

Lossless Editing by Combining Clips with FFmpeg x264

My new Canon Vixia HF G30 video camera has an option to encode directly to 35 Mbit/sec Mp4 at 1080p60 and it does a nice job. I primarily use it to record my daughter's high school basketball games. ...
1
vote
0answers
632 views

High bitrate in AVCONV converted MPG file causes DVD reading problem

I convert AVI to MPEG with folowing command: avconv -i file.avi -c:v mpeg2video -b:v 6000k -c:a mp2 -b:a 384k file.mpg When the MPG file has been burned to DVD it is hard to read afterthat. The DVD ...
1
vote
0answers
345 views

ffmpeg - convert video to iDevice format, replace sound with normalized WAV file, while maintaining the original video quality?

I'm using this command line to extract the audio $ffmpeg -i video.mkv -c:a pcm_s16le audio.wav this is its output ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers built on Oct 1 ...
0
votes
0answers
46 views

Switching between H.264 video streams on the fly?

I have several H.264 encoded MP4 files, as well as still images. From these I want to generate a single video stream that I can broadcast. The stream will be composed of alternating still images and ...
0
votes
0answers
251 views

Stream a dynamic playlist to a RTMP server

My goal is to stream a dynamic playlist of video to Twitch. The problem is while I stream a file, I don't know which will be the next until the end of the current one. My playlist is a very simple ...
0
votes
0answers
83 views

HEVC binary to MPEG 2TS

I'm trying to convert a HEVC bit stream to MPEG-2 TS using ffmpeg. However I can't seem to perform the task without a wrapper such as mp4. Here is the command I was trying. ffmpeg -i ...
0
votes
0answers
57 views

ffmpeg libx264 not working

have Installed ffmpeg and x264 based on this post : http://stackoverflow.com/questions/9764740/unknown-encoder-libx264 no errors receved. but when i want to convert an input stream from mumudvb to a ...
0
votes
0answers
40 views

Putting a Lower bitrate of my video stream in my current mp4 container

Sorry if my question is too noobish, this is my first question. What I have is: An mp4 movie with a video stream and an audio stream. What I want in the output: Is an mp4 file containing: the same ...
0
votes
0answers
87 views

ffmpeg capture audio in raw format

I would like to capture audio with ffmpeg in .raw format. Here is what I do to capture in .mp3 format : ffmpeg -f dshow -t 10 -i audio="virtual-audio-capturer" -y "sound.mp3" note that I don't want ...
0
votes
0answers
57 views

Converting container or transcode movies to iPhone from command line (os x)

Over the years I collected many movies in different container formats (avi, mp4, mkv) and encoded with different codecs too. Now want convert containers (or transcode them if absolutely necessary) to ...
0
votes
0answers
56 views

ffmpeg output does not play

I'm trying to transcode an uncompressed AVI ~27GB in size to an MP4. I'm using the following command: ffmpeg -i input.avi -c:v libx264 -preset slow -crf 20 -c:a copy output.mp4 The resultant MP4 ...
0
votes
0answers
117 views

Where to start Transcoding with FFMPEG?

I would like to learn a lot about Transcoding video files with FFMPEG from any format to mp4 (hH264/AAC) format. We have a large repository of video files ranging from 1 MB to 2 GB of various formats ...