Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Converting files to Xvid

  1. #1
    Join Date
    May 2014
    Location
    Some where in the EU
    Beans
    95
    Distro
    Kubuntu 14.04 Trusty Tahr

    Question Converting files to Xvid

    Good day

    usually in windows I use divx converter , so I also found a divx converter for Linux but it is not doing the job

    can any one recommend a good tool

    many thanks
    [/CODE]Processor: Intel ® Core i7- 4770K processor Memory clock : 1600 MHz DDR3, CL10 9-9-9-24
    GTX 760 OCWF3X,2GBDDR5 Motherboard: MSI Z87 -G45 GAMING ATX memory : 32GB
    SSD : SAMSUNG SSD 840 PRO 128GB HDD: WD Caviar Green 2TB SATA 6Gb
    [CODE]




  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-land
    Beans
    11,579
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: I need help on converting files to Xvid

    simple-mpeg4.sh
    Code:
    #!/bin/sh
    #
    # This is for really simple mpeg4.avi conversion, use
    #
    for filename in "$@"; do
    
       IN=$filename
     nice ffmpeg -i "$IN" -sameq -f avi -vcodec mpeg4 -acodec copy "$IN-ffmpeg.avi" 
    done
    or

    simple-xvid-2pass.sh
    Code:
    #!/bin/sh
    #
    # This is for really simple XVID conversion, use
    #
    XVIDENCOPTS="bitrate=1400:max_key_interval=250:trellis:max_bframes=1:vhq=3"
    # XVIDENCOPTS="fixed_quant=4:max_key_interval=250:trellis:max_bframes=1:vhq=3"
    
    for filename in "$@"; do
    
       IN=$filename
          
       NICE_LEVEL="+15"
    
       nice /usr/bin/mencoder "$IN" -oac mp3lame -lameopts preset=128 -ovc xvid \
            -vf lavcdeint -noodml -forceidx -ffourcc XVID \
            -xvidencopts ${XVIDENCOPTS}:pass=1 -of avi -o "${IN}-xvid.avi"
       nice /usr/bin/mencoder "$IN" -oac mp3lame -lameopts preset=128 -ovc xvid \
            -vf lavcdeint -noodml -forceidx -ffourcc XVID \
            -xvidencopts ${XVIDENCOPTS}:pass=2 -of avi -o "${IN}-xvid.avi"
    done
    I haven't used these scripts in a few years - switched to using handbrake for h.264. Anyway - shows what is possible using 2 different tools. Oh - and don't pass in any files with spaces in the names.

  3. #3
    Join Date
    May 2014
    Location
    Some where in the EU
    Beans
    95
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: I need help on converting files to Xvid

    thank u sir

    please forgive me But I put the movie name in / for filename in correct ??

    or what should i fill out
    [/CODE]Processor: Intel ® Core i7- 4770K processor Memory clock : 1600 MHz DDR3, CL10 9-9-9-24
    GTX 760 OCWF3X,2GBDDR5 Motherboard: MSI Z87 -G45 GAMING ATX memory : 32GB
    SSD : SAMSUNG SSD 840 PRO 128GB HDD: WD Caviar Green 2TB SATA 6Gb
    [CODE]




  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-land
    Beans
    11,579
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: I need help on converting files to Xvid

    You need to read the scripts, decide which you want to use, install any dependencies (ffmpeg or mencoder) save it locally inside a file, make the file "executable", then run it with a list of files to be converted passed as arguments on the command line.

    Sounds complex when I write it all out, but it isn't. It is standard Linux CLI stuff.

  5. #5
    Join Date
    May 2014
    Location
    Some where in the EU
    Beans
    95
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Converting files to Xvid

    ok will fallow

    thanks
    [/CODE]Processor: Intel ® Core i7- 4770K processor Memory clock : 1600 MHz DDR3, CL10 9-9-9-24
    GTX 760 OCWF3X,2GBDDR5 Motherboard: MSI Z87 -G45 GAMING ATX memory : 32GB
    SSD : SAMSUNG SSD 840 PRO 128GB HDD: WD Caviar Green 2TB SATA 6Gb
    [CODE]




  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-land
    Beans
    11,579
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Converting files to Xvid

    There may be GUI tools - but all those that I've seen are based on ffmepg. Any search on the internet for video converters for iphone, ipad, android phones, tablets are almost universally based on ffmepg. I say - skip the middleman - use ffmepg directly. I suspect the software center might have a video converter - don't know.

  7. #7
    Join Date
    May 2014
    Location
    Some where in the EU
    Beans
    95
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Converting files to Xvid

    Im with u on this skip the middleman
    [/CODE]Processor: Intel ® Core i7- 4770K processor Memory clock : 1600 MHz DDR3, CL10 9-9-9-24
    GTX 760 OCWF3X,2GBDDR5 Motherboard: MSI Z87 -G45 GAMING ATX memory : 32GB
    SSD : SAMSUNG SSD 840 PRO 128GB HDD: WD Caviar Green 2TB SATA 6Gb
    [CODE]




  8. #8
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Converting files to Xvid

    Code:
    ffmpeg -i input -vcodec mpeg4 -acodec libmp3lame -q:v 2 -q:a 4 output.avi
    For more info see FFmpeg MPEG-4 Part 2 Video Encoding Guide. Get a build from the FFmpeg Download page or compile it.

  9. #9
    Join Date
    May 2014
    Location
    Some where in the EU
    Beans
    95
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: I need help on converting files to Xvid

    Quote Originally Posted by TheFu View Post
    You need to read the scripts, decide which you want to use, install any dependencies (ffmpeg or mencoder) save it locally inside a file, make the file "executable", then run it with a list of files to be converted passed as arguments on the command line.

    Sounds complex when I write it all out, but it isn't. It is standard Linux CLI stuff.
    well My frien I keep getting

    No such file or directory

    I tried running it in every way I know and made sure i am in the right place witch is home
    [/CODE]Processor: Intel ® Core i7- 4770K processor Memory clock : 1600 MHz DDR3, CL10 9-9-9-24
    GTX 760 OCWF3X,2GBDDR5 Motherboard: MSI Z87 -G45 GAMING ATX memory : 32GB
    SSD : SAMSUNG SSD 840 PRO 128GB HDD: WD Caviar Green 2TB SATA 6Gb
    [CODE]




  10. #10
    Join Date
    May 2014
    Location
    Some where in the EU
    Beans
    95
    Distro
    Kubuntu 14.04 Trusty Tahr

    Wink Re: Converting files to Xvid

    Quote Originally Posted by FakeOutdoorsman View Post
    Code:
    ffmpeg -i input -vcodec mpeg4 -acodec libmp3lame -q:v 2 -q:a 4 output.avi
    For more info see FFmpeg MPEG-4 Part 2 Video Encoding Guide. Get a build from the FFmpeg Download page or compile it.
    thank u sir for ur help I would Love to have ffmpeg , I did download it from there website , But I couldnt figure out how to run it

    So i gave up on it ,, sorry newbi here
    [/CODE]Processor: Intel ® Core i7- 4770K processor Memory clock : 1600 MHz DDR3, CL10 9-9-9-24
    GTX 760 OCWF3X,2GBDDR5 Motherboard: MSI Z87 -G45 GAMING ATX memory : 32GB
    SSD : SAMSUNG SSD 840 PRO 128GB HDD: WD Caviar Green 2TB SATA 6Gb
    [CODE]




Page 1 of 2 12 LastLast

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
  •