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
27 views

audio error when concatenating clips using ffmpeg [duplicate]

I'm trying to do the following: cut an input video into segments and convert these segments in the same step concatenate the transcoded segments back together in an output file The steps that I'm ...
3
votes
1answer
75 views

How do I extract the timestamps associated with frames ffmpeg extracts from a video with the -r option?

ffmpeg -i myvid.mp4 -r 25 -t 100 image-%d.jpeg Is the command I'm using to extract frames and it's working just like I expected. However I'd also like to look at the timestamps of the frames. ...
0
votes
0answers
66 views

How to make ffmpeg segment filename have the time created

I'm using ffmpeg to segment a video stream and I would like ffmpeg to name the segment files with a created date/timestamp. Is this possible? Let's say I have segments of 30sec video each: 0000.flv, ...
2
votes
0answers
44 views

IE will not seek audio/webm file

I'm trying to create a WebM audio only that will playback and seek in all browsers using the HTML5 tag and mime type audio/webm. I've found workarounds to get this to work in all browsers, but they ...
2
votes
0answers
208 views

FFMPEG encoding settings for 1080/60fps/h264 - framedrops

I want to use latest ffmpeg to encode set of JPG frames to 1920x1080 60fps h.264 movie. I'm looking for set of parameters that will allow smooth playback of encoded video on fairly strong PC machines ...
0
votes
3answers
41 views

ffmpeg get video resolution

I am trying to get resolution of the video with the following command: ffmpeg -i filename.mp4 Thereafter I get a long output, but I need just width and height for my bash script, How should fine ...
0
votes
1answer
67 views

Concat two audio files via ffmpeg filter_complex

If I try to concat two mp4 video files via -filter_complex using command: ffmpeg -i a.mp4 -i b.mp4 -filter_complex \ "[0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a]" \ -map [v] -map [a] -y ...
0
votes
0answers
36 views

FFmpeg HLS muxer .ts file name format

Is it possible to have .ts files named by date/time (any format) instead of sequence number when using the HLS muxer? If so, how can it be done? ffmpeg -i - -hls-some-option-here test_stream.m3u8 ...
0
votes
1answer
26 views

Map overlay audio with FFMpeg?

Me and my friend each took a video of us playing online with each other, and now I want to make a single video comparing them side by side. I’ve done this before, but I’ve never needed to deal with ...
0
votes
0answers
38 views

VLC and MPC-HC struggle to play m2ts with srt subtitle. Any other ways to use m2ts with srt?

So, I've got a m2ts file with the following parameters: Format : BDAV at 34.2 Mbps Length : 12.0 GiB for 50mn 8s 10ms Video #0 : AVC Aspect : 1920 x 1080 ...
0
votes
1answer
37 views

Extract frames from HTTP streamed video without downloading entire file

I want to extract a frame from a specific location in a video file. The file is located on a remote server and I don't want to download the entire thing. How can I extract a frame from an http stream ...
0
votes
1answer
54 views

Piping output from ffmpeg/avconv over ssh to a file

I like to pipe the output from ffmpeg/avconv over ssh to a file. I would like to do something like this. ssh USER_NAME@SERVER_IP "avconv -i ...
0
votes
0answers
39 views

Is it possible to modify the timecode format of ffmpeg?

I am trying to overlay my video with the timecode. Currently, I have this: ffmpeg -y -i input.avi -vf "drawtext=:fontfile=/Windows/Fonts/myfont.ttf:timecode='00\:00\:00\:00':rate=$framerate: ...
0
votes
1answer
24 views

Resize more than one image using ffmpeg [duplicate]

I have a folder containing JPG images and need to re-size them to a different pixel width and height and save them to a different folder with the same file name as original ffmpeg -i Original.JPG ...
0
votes
1answer
68 views

how to map and mute channels in stereo stream? [ffmpeg]

from ffmpeg man page, I should be able to use -map_channel to split/mute channels however, unless the stream contain 2 channels literately, the map does not work. 01.mp3: Stream #0:0: Audio: mp3, ...
1
vote
2answers
58 views

How to name the output frames based on their presentation timestamp?

I am using ffmpeg to extract frames from videos. Using the generic command ffmpeg -i input.avi out%d.png I am getting all the frames but I want the names of the frames to indicate their ...
0
votes
0answers
16 views

FFMpeg video creation from png not all images used

I am trying to turn png files into a video using ffmpeg. I am getting videos but the ordering is all wrong. My directory looks like this: *otherstuff..not pngs* file_01.png file_02.png ... ...
0
votes
0answers
38 views

Video capture , streaming & archiving with TENVIS camera JPT3815W

I want to publish an ASF live video stream over the internet and also copy the backup to disk (without sound to spare disk space) I'm running debian 7.7 wheezy / ffmpeg 2.2 and ffserver 1.2.9. The IP ...
0
votes
1answer
37 views

batch replace of video track with x264 (or ffmpeg, or avconv)

I have a bunch of .mkv files with diverse content, so I don't know about their audio, subtitle, chapter and attachment contents. Common denominator: They all have one video track. I want to batch ...
0
votes
0answers
14 views

Mux video with synthesized audio without rendering

I'm trying to find a way to mux together an existing video file that has no audio track, an AVI, with a synthesized voice without having the rendering the video or audio in real time. I know I can ...
2
votes
1answer
60 views

ffmpeg - h264 - multiple resolutions without scaling

I have an MP4 which contains an H264/AVC stream, which contains multiple resolutions. Below is the output of mediainfo on this file: General Complete name : known.mp4 ...
0
votes
1answer
41 views

FFMPEG - Hardcoding (burning) filename in video

I was wondering if someone can help me adding a hardcoded filename using the drawtext filter in FFMPEG? I can easily add timecode now, but I want to also add the filename of the current file. Is that ...
1
vote
1answer
38 views

ffmpeg time lapse “overwrite” error - may be a globbing/shell issue?

I'm having some trouble with what I think should be a simple FFMPEG script. I'm just trying to take all the jpg files in a given directory and fill them into a time lapse video. I'm comfortable with ...
1
vote
2answers
220 views

Convert YouTube DASH audio (youtube-dl) to m4a (AAC DL)

I am unable to listen to m4a DASH audio I download from YouTube via youtube-dl on Winamp. Is there an option in youtube-dl to remove the DASH audio part of m4a file and download/save it as an m4a (AAC ...
0
votes
1answer
53 views

ffmpeg resize video but maintain audio quality

ffmpeg -i input.mp4 -vf scale=640x360,setdar=16:9 -c:v libx264 -preset veryslow -profile:v main -crf 18 -b:a 189k output.mp4 My input video file: res: 720p and audio bitrate: 189kbps. I heard ...
0
votes
0answers
34 views

ffmpeg and transparent video on static bg

I am trying to overlay a transparent flv over a static png. Everywhere I look says this should work... but the end result is the flv loses transparency and instead all transparent areas are filled ...
0
votes
0answers
21 views

ffmpeg: offsetting & merging audios [closed]

I am trying to offset multiple audios into one, each with different offset. ffmpeg -i a.ogg -i 1.ogg -filter_complex "amix=inputs=2[op];[op]adelay=5000|15000" out.ogg Can someone help with ...
0
votes
0answers
10 views

AVCONV, FFMPEG: overlayed video length [duplicate]

I am trying to overlay multiple videos like a split screen, ffmpeg -i 1.webm -s 640x480 -vf "[in] scale=640/2:480, pad=2.01*iw:ih [VidO0];movie=1.webm, scale=640/2:480 [video1];[VidO0][video1] ...
0
votes
0answers
22 views

ffmpeg / avconv to ensure compatibilty with Windows DirectShow

I have a video file: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ron_1080p.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder ...
0
votes
1answer
36 views

Combining two ffmpeg fillters or commands into single command

I want to combine two ffmpeg commands to single ffmpeg command. I want to apply a vintage effect and a watermark on a video. Please help me in creating a single ffmpeg command.
1
vote
2answers
82 views

How to make an MPEG2 video file with the highest quality possible using FFMPEG?

I have got a WMV (v9 (WMV3), 960x720, 30.000030 fps, planar 4:2:0 YUV, produced by PowerPoint 2010) file and need to convert it to MPEG2 - the only format my TVset can read from an USB flash drive (I ...
1
vote
1answer
104 views

Merging 2 videos with overlay causes async problems

I'm using following ffmpeg command to merge 2 MKV inputs with the overlay parameter. The result should be one output with input1 on top of input2. In the process, the output should be webm. Both ...
0
votes
0answers
51 views

Encoded mp4 video won't play in Firefox v33

When this video is encoded with the following ffmpeg command, it cannot be played in Firefox v33 (a blank screen appears). But when I play it in the native VLC player, it works. So here the long ...
0
votes
1answer
46 views

Why putting -ss before -i makes it faster to capture a thubmnail image from a video file?

The first command extracts a thumbnail image from a video file much faster than the second command (because I put the -ss before the -i): ffmpeg -ss 10 -i input.mp4 -vframes 1 -s 320x240 output.jpg ...
0
votes
1answer
52 views

Is ffmpeg -i input.mp4 what programmers use to get video information?

Is this command what programmers use to get video information: ffmpeg -i input.mp4 It seems to me like it makes you jump through hoops, since it gives you all of the information in one long string ...
1
vote
1answer
62 views

Difference between -c:v and -vcodec, and -c:a and -acodec?

Is there's a difference between these two commands? ffmpeg -i input.mp4 -c:v copy -c:a copy output.mkv ffmpeg -i input.mp4 -vcodec copy -acodec copy output.mkv
2
votes
1answer
64 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
46 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 ...
-6
votes
1answer
102 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
38 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
32 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
14 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
41 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 ...
1
vote
2answers
170 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
91 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 ...
0
votes
1answer
35 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
71 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
87 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
135 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
89 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 ...