Results 1 to 4 of 4

Thread: encoding video at low bitrates, any suggestions?

  1. #1

    encoding video at low bitrates, any suggestions?

    Hey all.

    I want to perform a (hopefully) simple task. I have a bunch of high-quality (and hence LARGE) video files which I would like to convert to smaller, lower-quality videos for viewing on my Android device (using Moboplayer). I've tried Avidemux, but I must be doing something wrong because it gives me larger-size files with lower-quality output. I hear ffmpeg is good in command line. But I don't currently speak ffmpeg.

    So does anyone know a solution? Preferably something I can do in a single command in Terminal?

    Thanks!

  2. #2
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: encoding video at low bitrates, any suggestions?

    Quote Originally Posted by hurtstotalktoyou View Post
    Hey all.

    I want to perform a (hopefully) simple task. I have a bunch of high-quality (and hence LARGE) video files which I would like to convert to smaller, lower-quality videos for viewing on my Android device (using Moboplayer). I've tried Avidemux, but I must be doing something wrong because it gives me larger-size files with lower-quality output. I hear ffmpeg is good in command line. But I don't currently speak ffmpeg.

    So does anyone know a solution? Preferably something I can do in a single command in Terminal?

    Thanks!


    ok there hurt


    so yes ffmpeg perfect tool for this task


    try this for bulk

    for f in *.wmv; do ffmpeg -i "$f" -b 400k -s cif -ab 96k "${f%.wmv}.mp4"; done

    to try on single file

    ffmpeg -i yourfile.wmv -b 400k -s cif -ab 96k yourandroidfile.mp4




    i chose wmv but change to match your original extension

    -b is for video bitrate
    -ab audio bitrate
    -s is frame size choose from


    -s size
    Set frame size. The format is wxh (ffserver default = 160x128, ffmpeg default = same as
    source). The following abbreviations are recognized:

    sqcif
    128x96

    qcif
    176x144

    cif 352x288

    4cif
    704x576

    16cif
    1408x1152

    qqvga
    160x120

    qvga
    320x240

    vga 640x480

    svga
    800x600

    xga 1024x768

    uxga
    1600x1200

    cga 320x200

    ega 640x350

    hd480
    852x480

    hd720
    1280x720

    hd1080
    1920x1080


    Personally would pick mkv as final extension but i see this only works on Android 4.0 or higher so i picked mp4 as i did not know what you have
    Last edited by shantiq; March 23rd, 2012 at 06:16 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  3. #3

    Re: encoding video at low bitrates, any suggestions?

    Awesome! Thanks so much!

    For some reason the m4p extension didn't work, so I used mpeg instead. Any further suggestions there?

    Otherwise it worked great! Thanks again!

  4. #4
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: encoding video at low bitrates, any suggestions?

    mp4 not m4p [if that is the problem]
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •