Dear All,
I am using Ubuntu Mate 16,04 LTS (Linux Distro) with satisfactory and with PhotoFilmStrip I build a Full HD SlideShow having music background, whose output is a .avi video, by the weight of about 222.6 Mb.
In order to embed it on a web page, using Html5, according to the W3C specifications, I have to convert it to MP4 - OGV - WEBM, of course not so heavy, but I should find the ratio of the least weight to the major acceptable quality.
It's been around for one month searching online and I found some scripts on github, but my opinion is too complex and they don’t work, so I find a simple command, inserted in a script, that converts the video.avi into one shot at the 3 extensions.
I would have found these commands, but I need the advice of someone much more expert than me, in order to get the perfect script::
#!/bin/bash
# Convert to MP4
ffmpeg -i test.avi -c:v h264 -r:v 24 -s 720x480 test.mp4
# Video with Audio – Quality Acceptably - 24,5 Mb = Try to improve yet !!!!
# Convert to Webm
ffmpeg -i test.avi -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k -s 640x360 test.webm
#OK – Good Result, 7,9 MB !!
# Convert to OGV
ffmpeg -i test.avi -codec:v libtheora -qscale:v 5 -codec:a libvorbis - qscale:a 5 test1.ogv
#TOO Weight – Bad Quality - To improve Yet !!!!!!!!
I also tried some software, WinFF, Handbrake, Curlew, Transmageddon, but I don’t get what I want. I prefer a simple one but effective and lightweight script that solves everything.
Thanks in advance for every positive response.
Nemo
+ Reply to Thread
Results 1 to 3 of 3
-
-
-
Hello Pandy,
thank you for your prompt reply and your advices. I saw that this forum is very active.
I realize that my problem is ogv conversion. It is not possible to have good acceptably video and at the same time a lightweigh file. I am thinking about to avoid the upload of this extension in the web page. Only few people have a dated Firefox.
I found an OGV preset for winFF at the following page:
https://askubuntu.com/questions/799164/winff-how-to-produce-free-ogv-files-under-xenial
Kind rgds,
Nemo
Similar Threads
-
Best practice to save HTML5/Flash web videos on Win, Mac, web... platforms?
By colorstar in forum Capturing and VCRReplies: 2Last Post: 30th Jun 2016, 09:46 -
avconv/ffmpeg temp files?
By mahjohn in forum Video ConversionReplies: 10Last Post: 14th Feb 2016, 20:56 -
IS it possible to create VP9 based HTML5 Web video with Google Chrome Brow
By Stears555 in forum Video Streaming DownloadingReplies: 4Last Post: 2nd Jul 2014, 18:03 -
HTML5 web-video with HEVC. IS it possible with a proper browser?
By Stears555 in forum Video ConversionReplies: 9Last Post: 20th Apr 2014, 19:08 -
After processing with FFMPEG, some video has no audio when played via HTML5
By vertigoelectric in forum Video Streaming DownloadingReplies: 4Last Post: 18th May 2013, 06:28