Using FFMPEG to reliably convert videos to mp4 for iphone/ipod and flash players

I need to convert videos for use in both a flash player and the iphone/ipod touch. I'm using the following batch script with ffmpeg: @echo off ffmpeg.exe -i %1 -s qvga -acodec libfaac -ar 22050...

ffmpeg is generating an out-of-sync audio/video file

I am trying to convert a flv video to mp4 using a264, but the result video has a out of sync audio/video. The audio seems ok but the video seems slow and therefore out of sync with the...

Convert .mov to .mp4 and keep alpha channel using FFMPEG

I am trying to convert a .mov file that is Quicktime with Alpha Channel to a .mp4 movie. I am using FFMPEG and I can successfully convert the video to a .mp4 video, but I loose the alpha...

FFmpeg saving rtmp live stream cuts off after 3 minutes

I was playing with ffmpeg and was able to save a live stream to a file. The command to do so is: ffmpeg -re -i "rtmp://<ip addr>/livestream live=1" -f h264 test.flv However, I have tested this...

Error ffmpeg and libvpx to convert to webm

I have a problems with Ffmpeg and Libvpx on Centos6 Server. Command: ffmpeg -y -i /var/www/f1ccd3a27d36270492ce660da358b436.mp4 -t 99 acodec copy -vcodec libvpx -f webm...

FFmpeg converting image sequence to video results in blank video

I've got a series of 361 .png files that I'm trying to convert to video, and for whatever reason the resulting video is just black. Here is the FFmpeg code I'm using: ffmpeg -f image2 -i...

FFmpeg convert .mov to .ogv

I have some troubles converting my .mov to a .ogg file using FFmpeg. This command should work, right? ffmpeg -i test.mov -s 640x320 -vcodec libtheora -acodec libvorbis out.ogv It gives me this...

ffmpeg - How to determine if -movflags faststart is enabled? PHP

While I am able to encode an mp4 file which I can play on my local windows machine, I am having trouble encoding files to mp4 which are readable when streaming by safari, etc. After a bit of...

how can I transform 6 audio channels into one 5.1 channel with ffmpeg?

I have a pro-res file which has 6 mono audio channels. here's the ffmpeg console: :\test-remapping>ffmpeg -i MelleParadis_PART1_CONSTANTE.mov ffmpeg version N-60106-ge6d1c66 Copyright (c)...

`ffmpeg` can not dump RTSP streaming but `ffplay` can play it

I want to dump the RTSP streaming into a file. ffmpeg -y-i rtsp://172.19.12.37/live.sdp -acodec copy -vcodec copy tmp.mp4 But I got errors, [mp4 @ 0x7fe98400dc00] track 1: could not find tag,...

FFMPEG: create movie from timestamped images

Im trying to make a small movie file from a folder with webcam images. They are named like this: 00-00-38.jpg 00-05-37.jpg 00-10-37.jpg 00-15-37.jpg H-M-S.jpg format Although i tried patterntype...

Convert mov with Alpha to VP9 Webm with Alpha Using ffmpeg

I am trying to convert a mov with alpha transparency to webm with alpha transparency, as seen here. I followed the steps explained here to no avail. From this answer I was able to remove all the...

Streaming to YouTube using FFmpeg Problems

I am trying to stream to a live event I have created inside of YouTube. I am trying to stream a already created video. The command I am using is noted below. The problem I have is that YouTube is...

FFMPEG creates incorrect Source duration

When transcoding movies from an AVI to mp4 sometimes FFMPEG sets the "Source Duration" incorrectly. This messes up playback on IOS devices. Specifically, it causes the video to cut out at "Source...

AVI fails to encode to MP4

I'm trying to convert an avi to mp4 with the following command: ffmpeg -i avi_videos.avi -c copy new.mp4 I'm getting an error though (see below) and I don't really understand it. What other...

FFMPEG sepia filter

Can't seem to figure out why my colorchannelmixer filter is not working with ffmpeg. It doesn't appear to output any errors, but the ouput.mp4 video is just a 0 second long video with no...

Quick stream from file which exists

I implement live streaming from mp4 video file which exists on the path with ffmpeg under hls format. When my video file have the quality greater than hd720 , in encoding there are so many delays...

ffmpeg get machine readable output

I am trying to find a way to get FFmpeg to return a machine readable output. basically, I just want to know if video conversion was successfull. I am calling FFmpeg from go code. output, err :=...

FFMPEG failed to transcode mp4 Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

Hi I tried using ffmpeg to convert a video with Drupal, however it fails on second pass. I get the following error: Any ideas? I installed the default ffmppeg and libavcodec-extra-53 packages on...

FFMPEG results in a silent video when trying to combine video and audio tracks

I'm using the following command to combine a video and an audio track. ffmpeg -y -i /var/www/temp/merged.mp4 -i /var/www/temp/combined.mp3 -strict -2...

Using ffmpeg for streaming video composition from Python : why the sound is cut only when streaming into a mp4 file ?

I am using ffmpeg within Python for automatizing some video compositions. To do so, I am using the subprocess module of Python and run a ffmpeg command with a pipe input. This allows me to stream...

Concat two different videos

I want to concat 2 videos: The first title.avi is make with a image ffmpeg -loop 1 -framerate 10 -i title.jpg -t 5 -pix_fmt yuv420p title.avi the second video.avi is from a camera the infos of...

recording from webcam using ffmpeg at high framerate

I have a webcam (model Brio 4K stream edition from Logitech) that is able to record at resolution 1280x720 and 60 fps in guvcview on Ubuntu 16.04. I then use a video codec 'raw camera input'. This...

ffmpeg slideshow video from images creating empty mp4

I'm trying to use ffmpeg to create an .mp4 from a set of .JPG files. This is the ffmpeg line I'm using: ffmpeg -framerate 1/5 -i image-%03d.JPG output.mp4 which returns: ffmpeg version 2.8.4...

ffmpeg error or success

I have a file sample.aif on which I want to apply the below filters : Trim sample to a maximum duration of 2 seconds Compression applied with settings : threshold 0.1,ratio=2,attack=5 20...

FFMPEG in thread error: Thread was being aborted

I'm using FFMPEG to convert video files from one file type to another. I do it via an ASP.NET web interface where a user can upload their file and the conversion happens in a .NET "thread", like...

ffmpeg massive error spamming from FritzBox rtsp stream

Im trying to offer a rtsp live TV stream via rtmp to my family, since the Fritz Box (which is offering the stream) has only 4 tuners -> at most 4 streams can be watched simultaneously. Im using...

FFMPEG Could not find tag for codec pcm_s16be with MP4

I am desperately trying to cut an MP4 video with ffmpeg, following this [example] https://github.com/facebookresearch/VideoPose3D/blob/master/INFERENCE.md ffmpeg -i P1060513copy.mp4 -ss 3:12 -to...

Could not find codec parameters for stream 0 (Video: hevc, none): unspecified size

I try to use ffmpeg to feed ffserver on CENTOS 6.10. When I run ffmpeg on stream I got an error message: Could not find codec parameters for stream 0 (Video: h264, none): unspecified size. The...

FFmpeg eats all the memory and crash within a minute while recording chrome activity

I'm using ffmpeg to capture the activity of chrome (thanks to chrome driver) and record it into an mp4 file. However, the memory consumed by ffmpeg is quickly blowing up, and after a minute or so...