paca5

Hozzászólások

10 bejegyzés megtekintése - 551-560 / 2,354
  • Szerző
    Bejegyzés
  • Hozzászólás: Keresek valamilyen letölrõt #1991729
    paca5
    Felhasználó

      Iglooftp
      http://www.iglooftp.com/unix/
      Shareware progi 30 napig müxik, de utána csinálsz egy uninstallt majd utána egy installt és már müxik is 😀 😀

      Hozzászólás: Slacki-10.0 problémák #1991523
      paca5
      Felhasználó

        A /var/log/dmesg fájlban keresd meg,ott kell lennie..

        Hozzászólás: .tar.gz #1991443
        paca5
        Felhasználó

          Tévedés
          Neked olyan progi vagy script kell ami avi-ból, svcd-t csinál…
          Erre neked a második belinkelt script kell, vagyis ez:
          http://vmiklos.uw.hu/divx2svcd/divx2svcd

          Hozzászólás: .tar.gz #1991428
          paca5
          Felhasználó

            Aha Asztali DVD lejátszóba kell

            2 menetben meg lehet csinálni az mencoderrel …

            1

            Code:
            #!/usr/bin/perl
            #
            # (c) 2002-2004 by Florian Schilhabel
            #
            #
            # version 0.1  initial release  22/08/2002
            #
            #
            # If you have any comments, suggestions, etc., feel free to send me a mail;-))
            # flames and other things like that should go to /dev/null
            # thankx to all the mplayer developers for this really *great* piece of software
            #
            #
            #  This script is free software; you can redistribute it and/or
            # modify it under the terms of the GNU Lesser General Public
            # License as published by the Free Software Foundation; either
            # version 2 of the License, or (at your option) any later version.
            #
            # This script is distributed in the hope that it will be useful,
            # but WITHOUT ANY WARRANTY; without even the implied warranty of
            # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
            # Lesser General Public License for more details.
            #
            # You should have received a copy of the GNU Lesser General Public
            # License along with this library; if not, write to the Free Software
            # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
            #
            #
            #
            use Getopt::Long;

            # specify your default Settings here…

            $abr_default = 128;          # The default AudioBitRate
            $lang_default = „de”;        # … the language
            $cdsize_default = 700;       # … the CD-Rom Size
            $writedev_default = „0,1,0”; # … the CD Writer Device
            $speed_default = 4;          # … the writer speed
            $dvd_device = „/dev/dvd”;    # and the DVD Rom Device

            # end of default Settings

            sub delete_tempfiles {
            if (open(FILE, „< audio.stderr")) { close (FILE); system ("rm audio.stderr") } if (open(FILE, "< frameno.avi")) { close (FILE); system ("rm frameno.avi"); } if (open(FILE, "< lavc_stats.txt")) { close (FILE); system ("rm lavc_stats.txt"); } } GetOptions(   "help" => $help,
              „abr=i” => $abr,
              „lang=s” =>$lang,
              „cdsize=i” => $cdsize,
              „dvd=i” => $dvd_track,
              „keeptemp” => $keeptemp,
              „shutdown” => $shutdown,
              „out=s” => $output,
              „writecd” => $writecd,
              „writedev=s” => $writedev,
              „speed=i” => $speed,
              „dvd-device=s” => $dvd_device );

            if ($help) {
            print „Welcome to the DVD to DIVX Helper Scriptn”;
            print „n”;
            print „this script encodes a DVD track in 3-pass mode to libavcodec’s mpeg4n”;
            print „Optionally it writes the resulting MovieFile to a CD-Romn”;
            print „as well as the corresponding audio track to mp3n”;
            print „Optionally it writes the resulting MovieFile to a CD-Romn”;
            print „and shuts down the Computer.n”;
            print „If you like, you can watch the mencoder output on /dev/tty8n”;
            print „Usage:n”;
            print „–help              show this textn”;
            print „–abr               (AudioBitRate) Please enter the desired bitraten”;
            print ”                    this can be either [96|128|192] kbit/sec.n”;
            print ”                    Default: 128 kbit/sec.n”;
            print „–lang              specify the Language of the audio trackn”;
            print ”                    this can be for example or n”;
            print ”                    Default:
            n”;
            print „–dvd               specify the DVD Track, you want to encoden”;
            print „–cdsize            specify the Size of your CD-ROMn”;
            print ”                    Default: 700MBn”;
            print „–shutdown          Shutdown the System, when the encoding process has finishedn”;
            print ”                    this will only be possible if you are rootn”;
            print „–out               Specify the Name of your encoded Movien”;
            print ”                    The File Extension will be appended automaticallyn”;
            print „–writecd           takes the newly created Movie and writes it to a CD-Romn”;
            print „–writedev          is the usual cdrecord device identifiern”;
            print ”                    for example 0,1,0n”;
            print „–speed             the writing speedn”;
            print ”                    Default: 4n”;
            print „–dvd-device        device to pull the video offn”;
            print ”                    Default: /dev/dvdn”;
            exit;
            }

            delete_tempfiles();

            # testing user values && set defaults…

            if ($abr == 96){}
            elsif ($abr == 128) {}
            elsif ($abr == 192) {}
            elsif ($abr == 0 ) {
            print „No AudioBitRate specified – Setting to Default Valuen”;
            $abr = $abr_default;
            }
            else {
            print „AudioBitRate not valid. please choose [96|128|192]n”;
            exit;
            }

            if ($lang eq „”) {
            print „No Language specified – Setting to Default Valuen”;
            $lang = $lang_default;
            }
            else {}

            if ($dvd_track == 0 ) {
            print „No DVD Track selected – You must specify one with: –dvd trackno.n”;
            exit;
            }

            if ($cdsize == 650) {}
            elsif ($cdsize == 700) {}
            elsif ($cdsize == 800) {}
            elsif ($cdsize == 0 ) {
            print „No CD Size Specified – Setting to Default Valuen”;
            $cdsize = $cdsize_default;
            }

            else {
            print „CD Size not valid. please choose [650|700|800]n”;
            exit;
            }

            if ($output eq „”) {
            print „No MovieName given – You must specify one with: –out [movie_name]n”;
            exit;
            }
            else {
            ($name, $extension) = split(/./, $out);
            if ($extension eq „avi”) {
             $vob_tempfile = „$name.vob”;
             $avi_filename = „$output”;
            }
            else {
             $vob_tempfile = „$output.vob”;
             print „VOB CacheFile set to $vob_tempfilen”;
             $avi_filename = „$output.avi”;
             print „Movie Filename set to $avi_filenamen”;
            }
            }

            if ($shutdown) {
            # test who i am
            $user = `id -u`;
            if ($user == 0) {
             print „System will be shut down after Movie encodingn”;
            }
            else {
             print „Cannot shutdown the system after Movie encoding – you are not ‘root’n”;
             exit;
            }
            }

            if ($writecd) {
            if ($writedev == „”) {
             print „Setting CD Writer Device to Default Valuen”;
             $writedev = $writedev_default;
            }
            if ($speed == 0) {
             print „Setting CD Writer Speed to Default valuen”;
             $speed = $speed_default;
            }

            }

            ###

            print „Your Settings for this run are:n”;
            print „AudioBitRate:    $abrn”;
            print „Language:        $langn”;
            print „DVD-Track:       $dvd_trackn”;
            print „CD-Rom Size:     $cdsizen”;
            print „Movie FIlename:  $avi_filenamen”;
            if ($writecd) {
            print „CD Writer Dev.:  $writedevn”;
            print „Writer Speed:    $speedn”;
            }

            # here comes the fun part…

            print „precacheing…n”;
            $status = system („mencoder dvd://$dvd_track -ovc copy -oac copy -dvd-device $dvd_device -alang $lang -o $vob_tempfile 1>/dev/tty8 2>/dev/tty8”);
            die „Prechacheing failed. mencoder exited with Status Code $?” unless $status == 0;

            print „Encoding Audio…n”;
            $status = system („mencoder $vob_tempfile -ovc frameno -oac mp3lame -lameopts br=$abr:cbr:vol=3 -o frameno.avi 1>./audio.stderr 2>/dev/tty8”);
            die „Encoding Audio failed. mencoder exited with Status Code $?” unless $status == 0;

            # now we have to find out the recommended bitrate for the Video encoding process…
            # my current method to find this out is, hmm, well, *strange*
            # but anyway, it works;-))

            open(FILE, „< audio.stderr") or die "Unable to open audio.stderr."; @lines = ;
            foreach $line (@lines) {
            ($index, $zz) = split(” „, $line);
            if ($index eq „Recommended”) {
             ($a, $b, $c, $d, $size, $f, $bitrate) = split(” „, $line);
             if ($cdsize == $size) {
              $video_bitrate = $bitrate;
              print „Setting Videobitrate to $video_bitraten”;
             }
            }
            }
            close (FILE);

            print „Encoding Video Stream, 1st pass…n”;
            $status = system („mencoder $vob_tempfile -ovc lavc -lavcopts vpass=1:vcodec=mpeg4:vbitrate=$video_bitrate:vhq -oac copy -o $avi_filename 1>/dev/tty8 2>/dev/tty8”);
            die „Encoding Video Stream failed. mencoder exited with Status Code $?” unless $status == 0;

            print „Encoding Video Stream, 2nd pass…n”;
            $status = system („mencoder $vob_tempfile -ovc lavc -lavcopts vpass=2:vcodec=mpeg4:vbitrate=$video_bitrate:vhq -oac copy -o $avi_filename 1>/dev/tty8 2>/dev/tty8”);
            die „Encoding Video Stream failed. mencoder exited with Status Code $?” unless $status == 0;

            print „finished encodingn”;

            if ($writecd) {
            print „Now writing CD-Romn”;
                   $status = system(„mkisofs -r -J $avi_filename | cdrecord  speed=$speed  dev=$writedev -data  – 2>/dev/tty8 1>/dev/tty8”);
            die „Writing CD failed. cdrecord exited with Status Code $?” unless $status == 0;
            }
            delete_tempfiles();

            print „Finished – have a nice day;-)n”;
            if ($shutdown) {
            system(„halt”);
            exit;
            }
            exit;

            2. menet

            Code:
            #!/bin/bash

            # (c) 2003 Vajna Miklos
            # divx2svcd for MPlayer
            # distributed under GPL License

            # simple utility that creates a SVCD from a video in an AVI container

            # The newest version of this utility can be found at
            # http://vmiklos.uw.hu/divx2svcd/divx2svcd
            # MPlayer available at
            # http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre3try2.tar.bz2

            ###changelog###
            #nobody cares about it 🙂
            cat >/dev/null < – support for toolame instead of mp2enc
            – suppert for libavcodec mpeg2video codec instead of mpeg2enc

            0.2
            – support for tcmplex instead of mplex

            0.1rc2-rc4
            – small bugfixes

            0.1rc1
            – initial release

            EOF

            ###preparing###
            #help

            function usage()
            {
            cat </dev/null 2>&1
            bcbin=`which bc 2>/dev/null`
            if [ $? != 0 ]; then
            cat <
            /dev/null 2>&1
            bcbin=`which vcdimager 2>/dev/null`
            if [ $? != 0 ]; then
            cat <
            /dev/null 2>&1
            if [ $? = 0 ]; then
            tcp_path=`which tcmplex-panteltje 2>&1`
            else
            tcp_path=”x”
            fi
            which tcmplex >/dev/null 2>&1
            if [ $? = 0 ]; then
            tc_path=`which tcmplex 2>&1`
            else
            tc_path=”x”
            fi

            if [ -x $tcp_path ]; then
            tcbin=tcmplex-panteltje
            tcopt=-0
            elif [ -x $tc_path ]; then
            tcbin=tcmplex
            tcopt=-p
            else
            cat </dev/null 2>&1
            cdrbin=`which cdrecord 2>/dev/null`
            if [ $? != 0 ]; then
            cat <
            = 2.01a14
            echo -n „Checking for cdrecord version >= 2.01a14… ”
            $cdrbin cuefile=a 2>&1 |grep ‘Bad Option’ >/dev/null 2>&1
            if [ „$?” == 0 ]; then
            cat <
            = 2.01a14. You can download it at
            ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01a20.tar.gz
            EOF
            else
                    echo „`$cdrbin -version |cut -d ‘ ‘ -f 2`”
            fi
            fi
            fi

            #checking for sub avariable

            if [ -f „$nev.sub” ]; then
            subopts=$nev.sub
            else
            subopts=”
            fi

            if [ „x$subopts” == „x” ]; then
            subs=”
            else
            subs=’-sub ‘
            fi

            #checking for what height needed
            inputwidth=`mplayer -vo null -ao null „$input” -frames 1 2>/dev/null |grep ‘=>’|cut -d ‘ ‘ -f 5|cut -d x -f 1`
            inputheight=`mplayer -vo null -ao null „$input” -frames 1 2>/dev/null |grep ‘=>’|cut -d ‘ ‘ -f 5|cut -d x -f 2`
            svcdaspect=`echo -e „scale=10n1.596/($inputwidth/$inputheight)”|bc /dev/stdin`
            height=`echo -e „scale=10n$svcdaspect*480″|bc /dev/stdin|cut -d . -f 1`

            #checking for ratios less than 1.33
            istoohigh=`expr $height > 577`
            if [ „$istoohigh” = 1 ]; then
            height=576
            fi

            #find out the vf options
            if [ „$height” = 576 ]; then
            vfopts=’-vf scale=480:576′
            else
            #-vf processes filters in reverse order
            exy=`echo -e „scale=10n(576-$height)/2″|bc /dev/stdin|cut -d . -f 1`
            vfopts=”-vf scale=480:$height,expand=480:576:0:$exy:1″
            echo „Using filter options: ‘$vfopts'”
            fi

            #finish displaying informations
            if [ „$burning” == 1 ]; then
            #asking for cd
            cat < template
            $tcbin -i „$nev.m2v” $tcopt „$nev.mp2” -o „$nev.mpg” -m s -F template
            rm template
            rm „$nev.m2v” „$nev.mp2”
            fi

            for i in *mpg
            do
            nev2=`basename „$i” .mpg`
            #creating images
            vcdimager -t svcd -c „$nev2.cue” -b „$nev2.bin” „$i”
            #burning if needs
            if [ „$burning” == 1 ]; then
             if [ „$firstcd” != 1 ]; then
              cat <

            Hozzászólás: Slackware 10.0 #1955423
            paca5
            Felhasználó

              2. Nem tudja a user olvasni a boot során csatolt fájlrendszereket. A hiba: a könyvtár, amelybe be akarom csatolni, olyan jogosultságokkal rendelkezik, hogy minden felhasználó olvashatja, és beléphet a könyvtárba. csatolás után megváltoznak a jogosultságok, és csak a root csoport tagjai léphetnek be.

              http://slackware.hu/content.php?article.4
              Ez ugyan wines particiora vonatkozik de csemegézni tudsz ebbõl is

              Hozzászólás: /etc/sysconfig/i18n #1991405
              paca5
              Felhasználó
                Hozzászólás: .tar.gz #1991420
                paca5
                Felhasználó

                  Sztem azé nem müx mert a függõségét még nemtetted fel…
                  http://www.theorie.physik.uni-goettingen.d…eich/transcode/
                  http://www.vcdimager.org/

                  Amugy sztem ezzekkel sokkal jobban jársz..
                  http://untrepid.com/acidrip/
                  http://gmencoder.sf.net/

                  Hozzászólás: /etc/sysconfig/i18n #1991403
                  paca5
                  Felhasználó

                    Konkrétan? (linkelj be egy képet)

                    Hozzászólás: mp3 összemásolása #1991352
                    paca5
                    Felhasználó
                      Hozzászólás: Kezdõ slackes #1991342
                      paca5
                      Felhasználó

                        A slapt-get-ben mit kell beállítani, hogy el tudjam érni a Linuxpackages.net-es csomagokat?
                        [align=right][snapback]104295[/snapback][/align]

                        http://www.linuxpackages.net/mirrors.php

                      10 bejegyzés megtekintése - 551-560 / 2,354