FFMPEG - Converting any kind of file to Mp4 compatible with IOS and Flash

I am struggling with FFmpeg within Drupal Video Module to produce files to MP4 that is compatible with IOS and Flash Player10 and up. I have used the following commands so far, please note that...

Remove Rotate metadata from mp4

I'm trying to remove or modify a rotate param from my mp4 file using ffmpeg. Based on some google results, i've ended up with such command (i've tried a few more but none of them worked): $ ffmpeg...

debian ffmpeg webcam streaming to remote server error

I have a beaglebone black that I am trying to stream live video from, to an OSX computer. The streaming client potion seems to work if I point it to a local ffserver. [email protected]:~# ffmpeg -f...

No such filter in ffmpeg

I am trying to create the slideshow with below command. Here is the command I have executed: ffmpeg -loop 1 -t 1 -i /sdcard/input0.png -loop 1 -t 1 -i /sdcard/input1.png -loop 1 -t 1 -i...

Recording desktop with gdigrab ffmeg to mp4 file with too high video_size don't working

I try to recording my desktop with ffmpeg using the command : ffmpeg -f gdigrab -framerate 10 -video_size 1920x1200 -i desktop -pix_fmt yuv420p -vcodec libx264 -preset ultrafast output.mp4 The...

How to save rtsp stream without packet loss by using FFMPEG

I am saving stream of live camera by using FFMPEG. When i am trying to save the video some data packets are loss so the video is not playing properly.I am using following FFMPEG Library The...

Adding 'timeout' flag to ffprobe/ffmpeg causes it to fail immediately

If I run ffprobe -timeout 20 -v trace -print_format json -show_format -show_streams 'http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_2mb.mp4', the command fails immediately with a...

running ffmpeg via nodejs error

I'm trying to run ffmpeg from node, and I'm getting an error. Here is the code var exec = require('child_process').exec; var cmd = '/home/ubuntu/bin/ffmpeg -i /home/ubuntu/input.flv -s 640x480 -y...

After merge videos, the duration is too long - ffmpeg

I have file txt with content file intro.mp4 file video.mp4 file outtro.mp4 with duration by 10s, 178s, 13s. I use ffmpeg to merge 3 files into one with below command: ffmpeg -f concat -i...

Unrecognized option 'c copy'

I have been working on a script as a part of both learning process and creating handy tools. I am trying to loop over a list of video files to extract a certain part of each video on the list. By...

ffmpeg saves only first frame

I generated rotating pictures in Python and now I want to create an animation from it using ffmpeg. But the generated video includes only the first frame (viewed in VLC) and is way to small (half...

Using ffmpeg and ffserver to create a 2x1 live stream fails with unconnected output error

I want to combine 2 RTSP streams (CCTV cameras) into a horizontal 2x1 strip and convert to webm for use in a HTML5 webpage. I am able to convert the streams into an mpeg or avi file easily, but as...

Speeding up/slowing down video ffmpeg

I want to change video speed using ffmpeg framework. I used this command for that: ffmpeg -y -i /storage/extSdCard/Video/1.avi -filter_complex [0:v]fps=50.0, setpts=0.5*PTS[v];[0:a]atempo=2.0[a]...

FFMPEG decoding too slow (avcodec_send_packet() / avcodec_receive_frame())

I'm using ffmpeg libraries to decode, scale, and re-encode video within an MPEG transport stream. I've just recompiled from source to v3.3.2 and changed from the old avcodec_decode_video2() API...

Escape special characters in FFmpeg subtitle filename

If your subtitle file name is "Hi, y'all.srt", how do you escape this properly for FFmpeg? The comma works escaped with backslash, but I can't get the quote to work no matter what tricks I try! $...

How to encode specific metadata version in FFMPEG?

I am batch converting lots of songs into shorter "Advert" songs for SHOUTcast and to be recognised as adverts by the server. The song must have ":Advert" for both the title and the artist metadata...

How to compress a video in React Native

Tried using react-native-video-processing by Shahen: Below is the code: compressVideo(source) { const options = { width: 800, height: 800, bitrateMultiplier: 3, ...

Android FFmpeg Log showing “ File:// protocol not found”

I'm trying to overlay Image on video but FFmpeg log showing File://storage/emulated/0/whatsappCamera/wc1529921459336.jpg: Protocol not found I have also looked in below thread but it's not...

ffmpeg audio - video sync issue (audio ahead of video) - while screen recording using x11grab

While screen-recording using the below ffmpeg options I consistently get audio ahead of video, delay is in the order of few seconds ffmpeg cmd: ffmpeg -y -f x11grab -thread_queue_size 1024...

How can I convert any random byte string to a playable mp3 file in python3.6?

I have random bytes of data which I need to convert to mp3 format(although it might be noise). And I should be able to play the (noisy) mp3 file. from pydub import AudioSegment from pydub.playback...

How to solve issue with ffmpeg being stuck at 'Opening an input file'

I am using a capture card to capture HDMI audio from another machine. On my host, output of arecord -l is as follow: **** List of CAPTURE Hardware Devices **** Home directory not accessible:...

ffmpeg convert cdg/mp3 to mp4 but cdg track is always sped up by a second

I've tried this: "C:\Program Files\ffmpeg-4.2.1-win64-static\bin\ffmpeg" -i %1 -i %2 -b:v 1M -y -speed 2 "%~dpn1.mp4" "C:\Program Files\ffmpeg-4.2.1-win64-static\bin\ffmpeg" -i %1 -i %2 -pix_fmt...

Ffmpeg screen tear

Screen tear issue in ffmpeg on manjaro linux, View this ffmpeg command used- ffmpeg -y -f x11grab -s 1366x768 -i :0.0 out.mkv ffmpeg -version ffmpeg version n4.2.2 Copyright (c) 2000-2019 the...

ffmpeg zero latency webcam streaming

I'm trying to use ffmpeg to stream a webcam with as close to zero latency as possible. My test environment is streaming from localhost to localhost, on a macOS machine. I've tried every parameter...

FFMpeg returns error: Unrecognized option 'master_pl_name'

I used this command (described at the processing message bellow) on my application several times before and always worked well. Now returns that error. '/usr/bin/ffmpeg' '-y' '-threads' '12' '-i'...

FFmpeg giving a wierd "Permission denied" error (Digitalocean VPS Ubuntu 18.04)

I've set up a VPS server on Digitalocean. Installed Ubuntu 18.04, LAMP, etc. Finally, I installed ffmpeg. It is working fine from terminal but when I try to execute it through php it gives a weird...

Unknown encoder 'libwebp'

I am FFMPEG installed on Cent Os 7.8. I am trying to convert the video into animation in webp format but It says Unknown encoder 'libwebp' I want to know how can I install libwebp and enable...

Creating video thumbnail with ffmpeg from buffer

Attempting to create a child process which spawns ffmpeg command. Should use the buffer from fs.readFile to write to stdin. The -i - flag tells ffmpeg to source input from stdin but nothing is...

ffmpeg encode video produce incorrect mediainfo encoding settings

I've been trying to do batch encode videos to H265 format. I am using media-autobuild_suite to build ffmpeg and have already updating ffmpeg to the latest version. ffmpeg version...

When I build OpenCV it does not recognise my installed ffmpeg

I have downloaded OpenCV-python sourcecode from https://pypi.org/project/opencv-python/ and am trying to build it on OpenSuse. I have ffmpeg already installed as shown here and I wish to use this...