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

Ignore unsupported stream when converting an avi file to an mkv file using ffmpeg

The question Remux to MKV but add all streams using FFmpeg explain how to mux all streams to an MKV file. However this fails when on of the stream was not supported by FFMPEG. For instance using the ...
0
votes
1answer
2k views

How to change ffmpeg -threads settings

Working on a tube site. I'm running videos through ffmpeg on a linux dedicated server to convert to mp4. The server specs: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
0
votes
0answers
345 views

FFmpeg: m2ts -> MKV/AVI/MP4 w/ tri-audio and subtitles

I have a 1080p m2ts file with three audio tracks and a subtitle track. I'd like to convert it to a 720p MKV, or really any format at all, while retaining all three audio tracks along with the subtitle ...
0
votes
1answer
143 views

cannot mix two audio files with amerge/amix ffmpeg

I'm mixing two wav audio files as follows /data/data/com.example.letsjam/app_bin/ffmpeg -i /storage/emulated/0/test1.wav -i /storage/emulated/0/test2.wav -filter:v amerge=inputs=2 ...
0
votes
0answers
89 views

How to concatenate MP4 files without losing embedded subtitle or audio tracks?

I have two MP4 files (mediainfo below), one is a short intro scene, and the other is the primary feature. Now, the primary video contains several audio tracks and embedded subtitles. I want to simply ...
0
votes
0answers
75 views

Using amerge filter in FFMPEG throwing error

I am using FFMPEG to overlay two audios using amerge. I am getting following error : No Opaque field provided, an AVABufferSinkParams struct is required I am using ffmpeg.so file in my ...
0
votes
0answers
120 views

How to bypass problems when trying to spoof a webcam in Linux

I am wanting to spoof my webcam, so I can eventually insert the method in to a pen-testing book that I am writing. This could possibly lead me into to building a program that is better than ...
0
votes
0answers
72 views

How to setup an array to capture output from ffmpeg volumedetect command

If you query a media file using a command such as ffmpeg -i amediafile.mp4 -af "volumedetect" -f null /dev/null you get output including.... [Parsed_volumedetect_0 @ 0x181d0a0] n_samples: ...
0
votes
0answers
44 views

ffmpeg bitrate variating without reason

I got a mp4 video. I just want to split it in 4GB file parts using ffmpeg (to make it writeable on FAT32). C:\ffmpeg\ffmpeg.exe -i "%NAME%.mp4" -n -t %LENGTH% -codec copy "%NAME%_1.mp4" ...
0
votes
0answers
89 views

ffmpeg with a streaming input change channels order and indices on different execution

We're using ffmpeg to take a mpts stream by 3rd party and encode it to a webm file. Now Every time I've call the ffmpeg command I get different map of channels for it. For example: Input #0, mpegts, ...
0
votes
0answers
77 views

How to extract frames with ffmpeg? What I'm doing wrong?

I'm trying to extract frames from an MP4 using FFMpeg. When I run: ffmpeg -i aaa.mp4 -r 10 extraced%03d.png I keep getting this error: Could not open file ...
0
votes
0answers
251 views

ffmpeg extract subtitles with unknown codec

I'm writing a program which extracts images and GPS coordinates from files that were created by car video recorder. In many models it creates two separate files Video and GPS but not all, some ...
0
votes
0answers
352 views

What does the FFmpeg warning “Missing picture in access unit with size x” mean?

I've recently updated to the most recent version of ffmpeg and now everytime I edit a flv, I always get endless warnings: [Null @ 002de180] Missing Missing picture in access unit with size xxxx ...
0
votes
0answers
235 views

ffmpeg - how to create 5 second video zooming out effect with 1 image

I know how to make 5 second video "zooming in" effect with 1 image using zoompan. ffmpeg -loop 1 -i image1.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=125" -c:v libx264 -t 5 -s "800x450" zoomin.mp4 ...
0
votes
0answers
113 views

.swf file gets cut short after conversion to mp3 with ffmpeg

So I have a .swf file which i need to convert to .mp3 (or any other audio file), it looks like this: vytautas@vytautas-SATELLITE-C660:~/Desktop$ ffmpeg -i rem.swf ffmpeg version 2.2.git Copyright (c) ...
0
votes
0answers
61 views

Using ffmpeg to capture time lapse of desktop

I'd like to use ffmpeg to capture a time lapse video of the desktop. The goal is to take an image every 3 seconds and create a high speed playback time lapse. Currently I'm using this command, but ...
0
votes
1answer
639 views

FFMPEG - How to record multiple RTMP streams into multiple files

I tried the following, but it does not work. ffmpeg -i rtmp://83.229.210.89/RAZTV/BTVraztv1 -map 0 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 ...
0
votes
0answers
114 views

ffmpeg: Convert any Video to padded and scaled 720p

I looked for 2 hours through the documentation, but I couldn't figure it out. I currently write a script and now I need to concat up to 10 videos with different ratios/framerates/codecs/size etc. ...
0
votes
0answers
184 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
0
votes
0answers
45 views

Webcam overlay drifts away from screengrab

I'm using ffmpeg like this: ffmpeg -itsoffset -2 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -f x11grab -r 15 -i :0.0 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; movie=/dev/video0:f=video4linux2, ...
0
votes
0answers
32 views

choppy audio output with multiple video sources

I'm running this to put a screencast and webcam side by side and stream it over the net: ffmpeg -f x11grab -r 15 -i :0.0 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; ...
0
votes
1answer
226 views

FFMPEG - Convert a video to a timelapse

I'm using ffmpeg in flash builder (Action script 3) to convert a video to a time lapse of the video. I've worked out how to use setpts to do this, but the resulting output file is the same length as ...
0
votes
1answer
109 views

ffmpeg webcam capture a/v out of sync

I'm running this command to capture video and audio from my webcam: ffmpeg -y -f video4linux2 -s 320x240 -i /dev/video0 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -ac 2 -strict experimental ...
0
votes
0answers
15 views

Video orientation flag reset or disabling it on youtube [duplicate]

I've recorded a video on my smartphone (android-based). I've been recording it in a landscape mode. Then when I uploaded it on youtube - it somehow recognized the original orientation and made it to ...
0
votes
0answers
35 views

Improve seeking precision for wma encoded in ffmpeg

Compressed audio formats (like compressed video) have trouble doing precise seeking. Is there something in the ffmpeg encode settings that I can change to make the resulting audio file allow more ...
0
votes
0answers
71 views

Mix arbitrary number of audio files into single stereo audio file using ffmpeg

I'm currently working on a karaoke application and need to merge arbitrary number (from 1 up to 12) input tracks together with a song track into single output audio file that should be stereo. I ...
0
votes
0answers
107 views

Ubuntu Screencasting: Libavdevice segmentation fault

I'm trying to stream to twitch a screencast of a remote desktop, but I meet some segmentation fault. The OS is: Xubuntu 14.04 , xfce, x2go I tried with Ubuntu 14.04, Ubuntu 12.04, ffmpeg and avconv, ...
0
votes
0answers
152 views

ffmpeg errors when converting caf to mp3/wav

It seems similar posts around here suggest this should work but I keep getting errors. While trying to convert a caf file to an mp3 or wav using ffmpeg ffmpeg -i sample.caf out.mp3 libavutil ...
0
votes
1answer
112 views

ffmpeg overlay rotated images onto a video, how to transparent the output area not covered by the rotated image?

I am using ffmpeg to overlay a picture on a movie. The requirement is to rotate the picture through an arbitrary angle. Using filter_complex, I can overlay the rotated picture now. However, the output ...
0
votes
0answers
23 views

Troubles getting -t option with ffmpeg to produce a gif with the right fps and length

I created a movie using matplotlib (the Python graphing package). It is 10 seconds long. I attempted to produce a *.gif using ffmpeg with the following command: ffmpeg -i animation.mp4 -pix_fmt ...
0
votes
0answers
77 views

ffmpeg - cannot fade to white in x264

I have a directory full of images that I am converting into a video using ffmpeg. The first frame is a black title frame that fades/morphs into the first video frame, with a 5-frame morph. I do ...
0
votes
0answers
2k views

Streaming an RTMP live stream from NGINX to Icecast2 on CentOS

I have had success with using exec_push in NGINX's RTMP module to have FFMPEG convert live streams to HLS. The next thing that I would like to do is publish an audio stream from the same source to ...
0
votes
1answer
128 views

Using a screen capture program (ffmpeg with uscreencapture in my case) to record a Flash video playing on screen

I'm trying to capture my desktop, precisely a full screen video - think "YouTube video on full screen situation", or if you'd record a programme on iPlayer (or any other content deliverer) - what ...
0
votes
0answers
133 views

Converting RAW Blackmagic Intensity Card frames

I am trying to convert raw video frames that I have captured using a Blackmagic Design Intensity card. The output frames are of the format: YCbCr 4:2:2 packed 8 Bit UYVY Abekas How can I convert ...
0
votes
0answers
67 views

FFplay : How to play multi audio track at the same time?

I'm trying to play a video with multi audio track in it. It's a conversation on three different tracks. At the moment, I'm only able to play one track at a time. I can't find a player that work this ...
0
votes
0answers
79 views

Setting start date in gource

I'm trying to run gource from a certain date, but it reports me a 'codec not found error'. This is the command without a start date: gource -1280x720 --seconds-per-day 1 --stop-at-end --hide ...
0
votes
1answer
251 views

Missing reference frame, slice header decode error

I split this (http://www.auby.no/files/video_tests/h264_720p_mp_3.1_3mbps_aac_shrinkage.mp4) video using mp4box command "MP4Box -split 1 shrinking.mp4" into slices of 1 second each. I have following ...
0
votes
1answer
40 views

How to replace part of audio in a video using the command line?

Part of a recorded audio contains sensitive information. I want to remove that information while keeping the video and rest of the audio intact. Ideally using command line and being able to exactly ...
0
votes
0answers
93 views

Ffmpeg : I-Frame detection oddity on a single channel input

Summary: When trying to abstract out I-Frames from various positions in videos with slight time offsets, identical results were produced between different offsets. Through experimentation a workaround ...
0
votes
0answers
83 views

How to burn colorful subtitle into video using ffmpeg?

I want to burn an srt file into a mp4 video. To make the subtitles perfectly visible, I want the subtitle text to be yellow on a brownish semi-transparent background. I know that there are some GUI ...
0
votes
1answer
176 views

MPEG-TS playback with MPlayer: current timestamp and duration are wrong

Recently I have been playing a lot of MPEG-TS videos on MPlayer. The sources of the videos are unclear to me, so I have no idea of with which software these TS videos were created. The problem is ...
0
votes
0answers
520 views

FFmpeg unable to find a suitable output format when run from script

I'm trying to write bash script, which I can use to start encode of my video for web player, and also log to file when it started / finished. It looks like this: #!/bin/bash ...
0
votes
0answers
69 views

Concatenate video files with mute audio

I am using FFmpeg commands to concatenate five video files. One of the files has only video, no audio. When I concatenate the files, the video is stitched properly but I have a problem with audio: the ...
0
votes
0answers
146 views

Motion - debian 7.5 cannot record movie with ffmpeg

Description I'm running the motion 3.2.12 standard package on debian 75 (wheezy). Motions are detected, events triggered and pictures save in the correct folder as awaited. On the other side, motion ...
0
votes
0answers
12 views

No audio with :start-time

Using the :start-time (or --start-time) option with VLC on the command line usually causes no audio to be played. There seem to be "sweet spots" where it does -- e.g. vlc foo.mkv :start-time=601 ...
0
votes
0answers
251 views

gstreamer: stream g726 encoded audio over rtp

I am trying to stream adpcm (G726: bitrate=32kbps, sampling=8000hz), audio from a host to a client through RTP: I have tried following commands from the client(receiver) and the host(sender). Both ...
0
votes
0answers
51 views

Change Audio title from English to Sinhalese using ffmpeg

I insert an extra Sound track in my video file and it works well. ffmpeg -i news.mov -i news.wav -map 0:0 -map 0:1 -map 1:0 -pass 1 -vcodec libx264 -preset fast -b 512k -minrate 512k -maxrate 512k ...
0
votes
0answers
119 views

Error in converting audio file format from ogg to wav

I am trying to convert an ogg format file that was created using webrtc (html5 usermedia content generated on firefox) and transferred and decoded on the server into a wav file through ffmpeg but am ...
0
votes
0answers
54 views

ffmpeg: get smudged image after 40 seconds of transcoding

I am using ffmpeg to transcode from RTSP to RTMP with: ffmpeg -re -i rtsp://username@127.0.0.1/axis-media/media.amp -vcodec libx264 -b:v 2400k -maxrate 2400k -bufsize 600k -f flv ...
0
votes
2answers
213 views

select ffplay audio out device

Hello I have an HDMI out and a USB sound card connected to pcduino running Ubuntu. When I run a video through ffplay, the audio out is selected by default as HDMI. How can I specify or force the out ...