×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Converter: Difference between revisions

    Content added Content deleted
    imported>mutante
    imported>Hundfred
    No edit summary
     
    (18 intermediate revisions by 3 users not shown)
    Line 2: Line 2:


    searching for the fastest and most memory saving open code to do that, suggestions?
    searching for the fastest and most memory saving open code to do that, suggestions?
    '''ANY TO ANY CONVERTER'''


    === text ===
    === text ===
    * [[iso8859-15_to_utf8]]
    * [[utf8_to_ISO8859]]
    * [[html2pdf]]
    * [[html2pdf]]
    * [[pdf2html]]
    * [[pdf2html]]
    * [[html2ascii]] filename pdf2text
    * [[html2ascii]] filename pdf2text !!!
    * [[ps2ascii]]
    * [[ps2ascii]]
    * [[pstotext]]
    * [[pstotext]]
    Line 12: Line 15:
    * ascii -> postscript [[a2ps]]
    * ascii -> postscript [[a2ps]]
    * ascii -> pdf
    * ascii -> pdf
    * [[.doc to postscripts]]


    === audio ===
    === audio ===
    Line 19: Line 23:
    * wma -> ogg (same as wma2mp3, just pipe the command to the oggencoder)
    * wma -> ogg (same as wma2mp3, just pipe the command to the oggencoder)
    * mp3 change bitrate
    * mp3 change bitrate
    * mod to wav [[convert_.mod_files_to_.wav]]


    === image ===
    === image ===
    Line 36: Line 41:


    === video ===
    === video ===
    ==== create vcd cdimages in 2 steps ====
    #you convert the videofile you have on your harddisk (may be anykind), to a mpeg file, that matches to the vcd specification using [[ffmpeg]]: <pre>fmpeg -i <videofile> -target pal-vcd TEMP_OUTFILE.mpeg</pre>

    better results in encoding, i had if i used mencoder (with the following options):
    <pre>
    #!/bin/sh
    mkdir -p "$HOME/VCD"
    for f in *.avi ; do
    mencoder -of mpeg \
    -mpegopts format=mpeg1 \
    -vf expand=:::::4/3 \
    -vf-add scale=352:288 \
    -af resample=44100 \
    -ovc lavc \
    -lavcopts vcodec=mpeg1video:vbitrate=1050:vhq:keyint=15:aspect=4/3 \
    -oac lavc \
    -lavcopts acodec=mp2:abitrate=64 \
    -srate 44100 \
    "$f" \
    -o "$HOME/VCD/$(basename "$f" .avi)".1050.64.vcd.mpg
    done
    </pre>



    # in the next step you should be able to create a video-cd-image using [[vcdimager]]:
    <pre>vcdimager -t vcd2 $TEMP_OUTFILE.mpeg</pre>

    * avi -> mpg
    * avi -> mpg
    * avi -> svcd
    * avi -> svcd
    Line 41: Line 74:
    * dvd -> wob -> avi
    * dvd -> wob -> avi
    * mplayer --v caca
    * mplayer --v caca
    * transcode
    * mencoder
    * wmv [[Windows Media Player]]-> [[xvid]] avi = [[mencoder]]
    (mencoder -ovc wanted_videocodec -oac wanted_audiocodec wmvfile.wmv -o avifile.avi)
    * wma [[Windows Media Player]]-> [[ogg]] = (look in audio)
    * [example wmv->avi]



    help, this doesnt work:
    '''shrink avi'''
    <pre>
    transcode -i "test.avi" -y mov -w 1152 -V -o "out.avi"


    * mencoder : shrink avi
    mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=1000 -lameopts
    abr:br=128 -o out.avi test.avi
    </pre>


    === Microsoft > Free ===
    === Microsoft > Free ===
    Line 47: Line 100:


    * doc ([[Word]])-> [[ASCII]],[[Postscript]] = [[antiword]], [[catdoc]]
    * doc ([[Word]])-> [[ASCII]],[[Postscript]] = [[antiword]], [[catdoc]]
    * xls ([[Excel]])-> [[ASCII]],[[MySQL]] = [[xls2csv]], [[catdoc]] [[http://www.convert-in.com/ Intelligent Converters]] (non-free)
    * xls ([[Excel]])-> [[ASCII]],[[MySQL]] = [[xls2csv]], [[catdoc]], [[http://www.convert-in.com/ Intelligent Converters]] (non-free)
    * mdb ([[Access]])-> [[ASCII]],[[MySQL]] = [[http://www.navicat.com/feature.html navicat]] (non-free)
    * mdb ([[Access]])-> [[ASCII]],[[MySQL]] = [[http://www.navicat.com/feature.html navicat]] (non-free)
    * ppt ([[Powerpoint]]) -> [[ASCII]] = [[catppt]], [[catdoc]]
    * ppt ([[Powerpoint]]) -> [[ASCII]] = [[catppt]], [[catdoc]]


    ==== Media ====
    === eMail ===
    * mails with attachment to plaint text [[http://raf.org/textmail/ textmail.pl]]
    * wmv ([[Windows Media Player))]]-> ([[xvid]]) avi = [[mencoder]] (mencoder -ovc wanted_videocodec -oac wanted_audiocodec wmvfile.wmv -o avifile.avi)
    * wma ([[Windows Media Player))]]-> [[ogg]] = (look in audio)



    [[Category:Converter]]
    [[Category:Converter]]
    [[Category:Software]]
    [[Category:Software]]

    related : split audio or video files

    === misc ===

    * Numbers to Words -> [http://www.easysurf.cc/cnvert18.htm]

    Latest revision as of 22:39, 14 February 2011

    converter for different needs:

    searching for the fastest and most memory saving open code to do that, suggestions? ANY TO ANY CONVERTER

    text[edit]

    * iso8859-15_to_utf8
    * utf8_to_ISO8859
    * html2pdf
    * pdf2html
    * html2ascii filename pdf2text  !!!
    * ps2ascii
    * pstotext
    * pdftops
    * ascii -> postscript a2ps
    * ascii -> pdf
    * .doc to postscripts
    

    audio[edit]

    * wav -> mp3 lame
    * wav -> ogg 'oggenc (part of vorbis-tools debian package)
    * wma -> mp3 wma2mp3 script unsing mplayer and lame
    * wma -> ogg (same as wma2mp3, just pipe the command to the oggencoder)
    * mp3 change bitrate
    * mod to wav convert_.mod_files_to_.wav
    

    image[edit]

    * jpg -> png (imagemagick, convert rose.jpg rose.png)
    * gif -> png (imagemagick ,http://www.imagemagick.org/script/command-line-tools.php)
    * png -> jpg ( " )
    * resize (imagemagick)
    * colors  (imagemagick)
    

    -> Generally, for images Imagemagick can do (almost) anything.

    database[edit]

    * sql -> mdb
    * mdb -> sql
    * ex -> sql
    * 
    

    video[edit]

    create vcd cdimages in 2 steps[edit]

    1. you convert the videofile you have on your harddisk (may be anykind), to a mpeg file, that matches to the vcd specification using ffmpeg:
      fmpeg -i <videofile>  -target pal-vcd  TEMP_OUTFILE.mpeg

    better results in encoding, i had if i used mencoder (with the following options):

    #!/bin/sh
    mkdir -p "$HOME/VCD"
    for f in *.avi ; do
    mencoder -of mpeg \
    -mpegopts format=mpeg1 \
        -vf expand=:::::4/3 \
        -vf-add scale=352:288 \
        -af resample=44100 \
        -ovc lavc \
        -lavcopts vcodec=mpeg1video:vbitrate=1050:vhq:keyint=15:aspect=4/3 \
        -oac lavc \
        -lavcopts acodec=mp2:abitrate=64 \
        -srate 44100 \
        "$f" \
        -o "$HOME/VCD/$(basename "$f" .avi)".1050.64.vcd.mpg
    done
    


    1. in the next step you should be able to create a video-cd-image using vcdimager:
    vcdimager -t vcd2 $TEMP_OUTFILE.mpeg
    * avi -> mpg
    * avi -> svcd
    * avi -> dvd 
    * dvd -> wob -> avi
    * mplayer --v caca
    * transcode
    * mencoder 
    * wmv Windows Media Player-> xvid avi = mencoder
       (mencoder -ovc wanted_videocodec -oac wanted_audiocodec wmvfile.wmv -o avifile.avi)
    * wma Windows Media Player-> ogg = (look in audio)
    * [example wmv->avi]
    
    


    help, this doesnt work: shrink avi

    transcode -i "test.avi"   -y mov -w 1152 -V -o "out.avi"   
    
    
    * mencoder : shrink avi 
    mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=1000 -lameopts
                   abr:br=128 -o out.avi test.avi
    

    Microsoft > Free[edit]

    Office[edit]

    * doc (Word)-> ASCII,Postscript = antiword, catdoc
    * xls (Excel)-> ASCII,MySQL = xls2csv, catdoc, [Intelligent Converters] (non-free)
    * mdb (Access)-> ASCII,MySQL = [navicat] (non-free)
    * ppt (Powerpoint) -> ASCII = catppt, catdoc
    

    eMail[edit]

    * mails with attachment to plaint text [textmail.pl]
    

    related : split audio or video files

    misc[edit]

    • Numbers to Words -> [1]
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.