VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Nov 2017
    Location
    Italy
    Search Comp PM
    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
    Quote Quote  
  2. Member
    Join Date
    Nov 2017
    Location
    Italy
    Search Comp PM
    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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!