Results 1 to 5 of 5

Thread: viewty divx encoding

  1. #1
    Join Date
    Nov 2005
    Beans
    48

    viewty divx encoding

    someone might find this useful:

    to encode a whole directory of .avi video files into a format suitable for mobile phones (a viewty at least), similar to 3gp, you can use this at a bash prompt:

    Code:
    mkdir mobile; IFS=$'\n' ; for f in `ls -1 *.avi` ; do FILE=$(basename "$f" .avi) ; mencoder "$FILE.avi" -oac lavc -lavcopts acodec=libmp3lame:abitrate=64 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=200 -ffourcc DX50 -vf scale=400:240 -o "mobile/$FILE.avi"; sleep 30; mencoder "$FILE.avi" -oac lavc -lavcopts acodec=libmp3lame:abitrate=64 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=200 -ffourcc DX50 -vf scale=400:240 -o "mobile/$FILE.avi"; rm "frameno.avi"; rm "divx2pass.log"; sleep 30; done
    <a href="http://ubuntucounter.geekosophical.net" title="The Ubuntu Counter Project - user number # 8807"><img src="http://ubuntucounter.geekosophical.net/img/ubuntu-user.php?user=8807" alt="The Ubuntu Counter Project - user number # 8807" /></a>

  2. #2
    Join Date
    Nov 2006
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: viewty lg ku990 divx encoding avi mp4

    Yes, very useful indeed ! Many, many thanks !

    I would suggest to use 320x240 instead of 400x240, in order to get a less
    distorded picture.

    It works great also for .mp4 source files, providing they are renamed as
    .avi .

    Note : the following errors have apparently no effect and can be disregarded :
    "ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header."

    Thanks again !

  3. #3
    Join Date
    Oct 2005
    Location
    Queensland, Australia
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: viewty divx encoding

    Thanks for the info, it would be very useful if I knew how to upload stuff to the phone (LG KU990). How do you guys do that without using Windows and installing PC Suite?
    Cheers, Mike

  4. #4
    Join Date
    Nov 2006
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: viewty divx encoding

    I installed a Micro SDHC card in the phone. When I connect the phone to the computer using the usb cable, this card appears as a disk.The phone has created directories and they appear using the usual linux commands. Uploading is only a matter of copying files into the right directory.It seems that one can only access this card, and no other place in the phone.
    Although the phone only supports 2GB Micro SDHC card, I use a 4GB card.But,
    as stated in several forums, DONT FORMAT a larger than 2GB card with the phone, or you will end up with a 2GB card whatever the real capacity of the card. My card came already formatted and I did not do anything beside inserting it in the phone.

  5. #5
    Join Date
    Oct 2005
    Location
    Queensland, Australia
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: viewty divx encoding

    Thanks for the info Francis 24/24, that's a great help.
    Cheers, Mike

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
  •