Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.
3
votes
0answers
32 views
FFmpeg streaming: problems with device name
I'm trying to stream web camera and microphone in Windows using FFmpeg. First, I get my devices names (to specify -i parameter in streaming command) using a command like this:
ffmpeg -list_devices ...
3
votes
0answers
324 views
FFMPEG Fade In Watermark Only
I'm trying to watermark a video using FFMPEG and would like the watermark to fade in.
The following code adds the watermark however the fade in effect is applied to the entire video and not just the ...
3
votes
0answers
188 views
Accurate and reliable movie editing with avconv
I'm trying to perform movie editing in an automated way with avconv. It is made in two steps:
extract some parts of an input movie:
concatenate the parts to form an output movie:
I tried some ...
3
votes
0answers
186 views
Get crisp, clear thumbnails from MP4 with FFmpeg / ImageMagick
My ultimate goal is to get meaningful snapshots from videos that are either 30 min or 1 hour long. "Meaningful" is a bit ambitious, so I have simplified my requirements.
The image should be crisp - ...
3
votes
0answers
99 views
FFmpeg & iPhone: don't display audio language button
I'm creating an MP4 file with FFmpeg 1.1.1, using life and aevalsrc to generate some test video and audio:
ffmpeg -f lavfi -i life -f lavfi -i aevalsrc=0 -frames:v 750 life.mp4
If I play it on an ...
3
votes
0answers
324 views
Setting font size of Closed Captions on iPhone
Does anyone know if it's possible to control the font size on videos played in the built-in iPhone video player?
The subtitles (or "Closed Captions") that are there by default are rather small.
None ...
3
votes
0answers
129 views
How to convert .avi video that has 1 static image in the video (with sound) to mp4 video with ffmpeg to least possible size?
I've an .avi video (divx) that's at 25fps and it has mp3 audio at 64kbit/s. This video has just one image throughout the entire video.
I'm trying to convert this video to mp4 but to make it as small ...
3
votes
0answers
335 views
Is there a way to make FFmpeg seek faster to an end of file on a network share?
I'm using ffmpeg to generate image previews from flv videos. The OS is Debian 5 and it's the apt version of ffmpeg. The flv files are located on a NAS share that is mounted as NFS. Getting the ...
2
votes
0answers
32 views
optimise FFMPEG live stream THUMBNAIL
After testing many possibilities, I have a perfect command line for creating thumbnails from a live stream:
ffmpeg -i rtmp://srvIp/h264.stream -r 1 -an -updatefirst 1 -y thumbnail.jpg
It refreshes a ...
2
votes
0answers
71 views
Converting series of images with ffmpeg results in black video
I've just downloaded ffmpeg since it seems to perfectly match my needs (make a video from a set of pictures). I'm currently playing around with some examples just to get started and there's something ...
2
votes
0answers
32 views
FFMPEG Stream Definition - changing number of files
I have a BD Rip in an MKV which I am trying to remux with ffmpeg into a MOV container. So far am having some good success, but I am trying to enhance the process a little by including a 2 channel AAC ...
2
votes
0answers
49 views
concat subsections of a video using ffmpeg
I would like to take several subsections of a video and concatenate them using the concat ffmpeg filter. It's just like the the example in the FFmpeg documentation, except that all of the clips are ...
2
votes
0answers
162 views
Fixing ffmpeg latency accrued over time
I have ffmpeg/ffserver running in the following setup:
10.1.2.2 captures from video capture cards (16 channels) and streams them to an ffserver as mpeg1video
10.1.1.1/10.1.2.1 (two NICs) hosts the ...
2
votes
0answers
104 views
Multiple effect overlays with FFmpeg
This subject was discussed here before but my problem is a little different.
I have a transparent tiff sequence with sequential numbers that I wish to overlay on top of another tiff sequence in order ...
2
votes
0answers
92 views
Installing ffmpeg (namely fdk-aac) on cPanel server causes issues with perl threads
Basically, I'm trying to install FFMPEG on a cPanel server. I'm able to get everything installed and working (tested using ffmpeg -v) except for libfdk-aac. I can do the git clone and everything ...
2
votes
0answers
194 views
how I do streaming with raspberry by rtp?
I want to cast my webcam by rtp with raspberry pi.
I've tried this:
ffserver -f /etc/ffserver.conf & ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 –f rtp ...
2
votes
0answers
271 views
Streaming mp4 with ffmpeg
I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
2
votes
0answers
93 views
Use FFMPEG for Video to Frames, then Frames to Video with Original Sound
Is there a way to use FFMPEG to decompose a video into individual image files, and then reassemble those image files into a video with the audio from the original video in sync with the new video ...
2
votes
0answers
144 views
Conversion of sequence of PNGs to movie using ffmpeg on Fedora 18
I have a series of PNG images called Temp01.png, Temp02.png, ..., Temp99.png which I am attempting to convert into a movie using ffmpeg. I am using the command:
ffmpeg -i Temp%02d.png -f avi -vcodec ...
2
votes
0answers
142 views
Ffmpeg sync error, first image showing really fast
I want to converting my images with mp3 to videos... but first slide is showing up really fast.
I want to each slide duration 5-7 seconds or so
RAW material
MP3 Files
My list Images
FFmpeg ...
2
votes
0answers
181 views
Keyframe extraction with ffmpeg fails
I'm trying to extract key frames from video file using command:
ffmpeg -i newtape.mp4 -an -r 1 -y -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync 0 -ss 00:01:00 thumbnail_%09d.jpg
It starts but ...
2
votes
0answers
209 views
Prepend AAC file to MP4 causing audio to get out of sync
I have an application that handles the normalizing and combining of audio and video files from many different sources.
All incoming audio is normalized as follows:
ffmpeg.exe -i ...
2
votes
0answers
186 views
Converting linear colors to SRGB shows banding in FFmpeg
When I convert an EXR file sequence with x264 using FFmpeg and convert the colorspace from linear to SRGB (with gamma 0.45454545) I get some heavy banding issues (most visible on a dark gradient).
...
2
votes
0answers
252 views
ffmpeg to resize and concatenate multiple videos
I need to perform 3 operations on a source video (in sequence)
1 resize the source video from 320X 240 to 640X480 (200%)
2 add another video file before
3 add a 3rd video after
In addition I ...
2
votes
0answers
97 views
FFMpeg and Handbrake
I have a brilliant preset saved in Handbrake but now I need to be able to use that preset in FFMPEG. Is there an easy way to translate or would I have to break apart the commands one by one?
2
votes
0answers
150 views
Stream live audio with noise filter in Linux
I need to strip the noise from an audio source, but it needs to happen live.
The resulting voice doesn't need to sound perfect, it just can't contain too much noise.
I've read up about sox, but it ...
2
votes
0answers
267 views
Playing and recording a live stream from another computer webcam using VLC/FFmpeg
I was trying lately to set a video server on one machine and play it in a differen machine, it works with me.. but the problem is that it always stuck and become jammed in the middle .. and it is very ...
2
votes
0answers
158 views
ffmpeg/avconv crashes when video frame isn't expected size
I'm capturing my webcam using ffmpeg/avconv, but I keep running into this problem:
The v4l2 frame is 828212 bytes, but 829440 bytes are expected
And then it crashes. It should just skip that frame, ...
2
votes
0answers
176 views
FFmpeg blur filter not working at all
I am trying to blur out the video using FFMPEG by following there documentation, but it is not working at all, all it do moves the few frames forward (8 sec video became 10 sec video and so blank ...
2
votes
0answers
180 views
Animated GIF as an overlay in FFMPEG?
I have an animated gif that I wanted to loop in the bottom corner of a video, unfortunately when added as an overlay in ffmpeg it does not loop and only shows the first 'frame'. Is there a way of ...
2
votes
0answers
1k views
Avconv increases file size
I am using the version of avconv in Ubuntu 12.04 to archive videos. I would preferably use some kind of lossless video compression (e.g., huffyuv or FFV1), but using the original video stream (copy ...
2
votes
0answers
276 views
problems encoding 1080p60fps MTS files with ffmpeg to DNxHD proxy; plays too slow in NLE compositor window.
I was advised to encode my HD files with ffmpeg to DNxHD proxy with 220M bitrate rather then 45M so the image doesnt have too much artifacts. I reduced the framerate to 29.97 fps when I encoded the ...
2
votes
0answers
833 views
Stream video with FFMPEG, “Output file does not contain any stream”
I would like to stream an H.264 encoded elementary stream wrapped in RTP headers to a port using FFMPEG.
I have tried the following command lines to no avail...
ffmpeg -i 1080p_1.h264 -f rtp -vcodec ...
2
votes
0answers
905 views
Transcoding a video from GoToMeeting WMV to MP4 using FFMPEG on Windows locks up dos window
I've been tasked with converting some pre-recorded GoToMeeting videos from wmv to mp4 format. I've got the GoToMeeting transcoder app available from Citrix (g2mtranscoder.exe) that takes the source ...
2
votes
0answers
200 views
Shoud I use ffmpeg to have videoCodecId = 2 or 7?
I am using ffmpeg to convert my video files to flv.
My issue is that I want the converted flv files to have videoCodecId and audioCodecId = 2, because, I am injecting keyframes in the converted file ...
2
votes
0answers
431 views
Audio delay problem with ffmpeg and parec
I need to record desktop audio and video in an automated way. So I wrote a small multithreaded python script which basically does the following steps:
# 1.) Grab desktop audio
AUDIO_SRC=`LANG=c ...
2
votes
0answers
2k views
How to convert a mpeg4-aac video to mpeg-ts using MEncoder?
I know this can be done using FFMpeg and I have done it. The only problem here was that FFMpeg actually tries to "encode" the file while converting to mpeg-ts which I don't want.
i.e. I just want to ...
2
votes
0answers
447 views
How do I use ffmpeg to trim silence in a mp3 file?
We need to trim silence from mp3 files and since we're already using ffmpeg to perform some conversions, we prefer to use it to do the trimming too.
Is this possible? I can't find any reference ...
2
votes
0answers
396 views
ffmpeg imlib2.so : watermarked video file size is way bigger than the original and without sound!
ffmpeg -sameq -i '/var/www/original.flv' -vhook '/usr/lib/vhook/imlib2.so \
-x 0 -y 0 -i /var/www/watermark.jpg' /var/www/out/after.flv
The watermark.jpg is a small text under 5kb. After i ...
1
vote
0answers
20 views
How do I create a streamable and seekable MP4?
I want to create an MP4 that supports seeking and streaming. DASH appears to be what I want except that the segment seek points are stored in an external file (the MPD) which doesn't work for my ...
1
vote
0answers
51 views
mix audio with h264 mp4 video with ffmpeg
I have 2 files :
Input #0, wav, from '105426_1.wav':
Duration: 00:00:09.98, bitrate: 1312 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 41000 Hz, stereo, s16, 1312 kb/s
and:
...
1
vote
0answers
40 views
extracting mp3 audio from mp4: audio longer than video?
I have an mp4 video that has no audio/video sync issue. I tried to extract audio to an mp3 file, following the suggestion in this thread: Extracting audio from MP4 video into MP3
ffmpeg -i ...
1
vote
0answers
14 views
No video is written in for some part of video as the segmentation from FFmpeg
I am segmenting a 20 minutes long video to hundreds of small clips . The command is like
ffmpeg\\ffmpeg -i nx_1.avi -ss 399.37 -t 1 ka1_2.avi
The ffmpeg is in a subfolder.
It works very well for ...
1
vote
0answers
31 views
FFmpeg/avconv and UDP - connect listener after sender?
I'm trying to troubleshoot a port binding issue in avconv/FFmpeg. I have two test commands; one which sends an audio stream over UDP:
avconv -i test.wav ...
1
vote
0answers
33 views
FFmpeg/avconv - non-blocking live audio input?
I'm using avconv/FFmpeg to parse a video feed and an audio feed into a broadcast stream. Currently, it gets its audio information via UDP with the options -f wav -ac 1 -i udp://localhost:6613, since ...
1
vote
0answers
75 views
Simplest video grab from webcam: how to
On Raspbery Pi's Raspbian (based on Debian Wheezy) I'm trying to make a simplest video grab from a Logitech C910 webcam to a video file via ffmpeg/avconv.
I say:
$ avconv -t 5 -f video4linux2 -s ...
1
vote
0answers
38 views
How to append 2 video files
Is there any way to append one video file to another ?
I've got a very large file (2GB) to which I'm trying to append some tiny files (~4MB). They all are in the same format.
It's easy to concat ...
1
vote
0answers
34 views
Applying multiple filters at once in ffmpeg
I have a video that I am trying to apply two filters to. I want to rotate the video 90 degrees clockwise followed by scaling it down from 1280 x 720 to 720 x 576 with letterboxing.
I also want to ...
1
vote
0answers
25 views
Can the frame size be cropped during decoding in FFMPEG?
I've followed Dranger's tutorial for displaying video using FFMPEG. http://dranger.com/ffmpeg/
avcodec_decode_video2 is the slowest process for decoding video. I will occasionally have two videos ...
1
vote
0answers
17 views
Copying 2YUV Video Streams in FFmpeg
I have noticed that when I copy 2vuy video streams with FFmpeg, the files are different in Quicktime. I am using the below command:
ffmpeg -i infile.mov -vcodec copy -acodec copy outfile.mov
In ...
