Closed

Help me to fix Bash Script using FFmpeg to convert between Gif and Mov

Part 1:

I have a simple bash script doing conversions between gif and mov

ffmpeg -i [login to view URL] -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" [login to view URL]

ffmpeg -i [login to view URL] -acodec copy -vcodec copy -f mov [login to view URL]

This is working in principle, however the output video is playing to fast. I want it to play with the same frame rate than the initial video.

Therefore, I need an adaption of these lines to get the same frame rate than in the initial gif.

Part 2:

I would also need a script converting a mov to gif. Also here the framerate should be the same.

Skills: Bash Scripting, Linux

See more: ffmpeg transparent gif, ffmpeg gif duration, ffmpeg gif compression, ffmpeg mp4 to gif framerate, ffmpeg video to gif high quality, ffmpeg gif loop, ffmpeg gif from images, ffmpeg mov to gif, parse using bash script find average, calling shell script using bash, convert 3gp mobile using ffmpeg, using sed bash script, bash using sed bash script, bash script convert phone number word, convert wma mpe using ffmpeg, linux using sed bash script, convert mp3 using ffmpeg, bash script find ffmpeg, bash scripting ffmpeg convert, bash script ffmpeg

About the Employer:
( 4 reviews ) Berlin, Germany

Project ID: #21496241

11 freelancers are bidding on average €29 for this job

jperusan

You're converting twice (gif to mp4, mp4 to mov), but there's no need for that. Resulting frame rate will be equal to frame rate of input file, unless you specify it. If you're interested, I can give you two very simpl More

€15 EUR in 1 day
(38 Reviews)
5.3
Mickelson

Hi... I already know the script for gif to mov and mov to gif. I can complete your job definitely. Let's discuss details via chat. Best Regards.

€19 EUR in 1 day
(5 Reviews)
4.1
tsymbalyukivan

I'm expert with writing bash scripts for Linux systems. My one of the last finished script/project - https://www.freelancer.com/projects/asterisk-pbx/Creat-bash-script-for-cronetab/reviews I ready to discuss of your ta More

€50 EUR in 1 day
(10 Reviews)
3.3
hamidazr

Hi, I've rich experience in working with media tools like ffmpeg so I can modify your script according to your needs. Please start a chat session to talk more about it.

€29 EUR in 3 days
(2 Reviews)
2.9
shawnrapaz

I know ffmpeg and transcode quite well. I am an experienced Linux system admin who has done encoding in the past. Can write a bash script that suits your requirements in a day.

€19 EUR in 1 day
(5 Reviews)
2.5
marioada

Hi there, The problem is that ffmpeg doens't know how many frames is in the GIF. Lets say the GIF has 20 frames across 2 seconds, this means the GIF is going at 10FPS but ffmpeg doesn't know that, you have to tell it. More

€20 EUR in 1 day
(3 Reviews)
2.6
mattsrinc

Hi there, I'm Matt Sergei (do call me Matt) and can help you (25 years a webmaster, former Linux security engineer). Mm, you need to establish the framerate of the GIF first though ffmpeg *could* pick it in the file ( More

€40 EUR in 1 day
(1 Review)
2.5
Jinyi711

Hi I have checked your details. I can complete script . What do you need language?shell script, python, php? Let us discuss in details on chat . Thanks

€25 EUR in 1 day
(3 Reviews)
2.2
gmsltn1

Hi, I am expert in ffmpeg. I can fix your issues. If you think I am perfect for this task then you can contact with me. Thanks Mohiuddin

€24 EUR in 1 day
(0 Reviews)
0.0
itcoding0

Hello, I can do a single script for you to satisfy your requirements. For example: MYSCRIPT -i [login to view URL] -o [login to view URL] MYSCRIPT -i [login to view URL] -o [login to view URL] MYSCRIPT --install //to use the script in every directory More

€30 EUR in 3 days
(0 Reviews)
0.0
eadumbire

I've used linux professionally for over 10 years and ffmpeg is one of the many tools in my box. Looking forward to helping you get the script just right!b

€50 EUR in 3 days
(0 Reviews)
0.0