.tar.gz

10 bejegyzés megtekintése - 11-20 / 35
  • Szerző
    Bejegyzés
  • #1991422
    kelemengabor
    Felhasználó

      A függõségek szépen felmentek de ez a kavi2svcd valami hibát ír, a meke nél , ./configure-nél azt írja hogy jó és make-zak most! Mekkor ***** nem? 😀
      [align=right][snapback]104618[/snapback][/align]

      Akkor talán idézhetnél valami konkrét hibaüzenetet, a „valami hiba van segítsetek” címû kérdésre nem lehet használható választ adni.

      #1991423
      kandalf
      Felhasználó


        Amugy sztem ezzekkel sokkal jobban jársz..
        http://untrepid.com/acidrip/
        http://gmencoder.sf.net/
        [align=right][snapback]104591[/snapback][/align]

        Szerintem is 🙂
        Amugy a program nevebol itelve a problema „lenyeget” nem ertem: az .avi mar eleve egy rosszabb minoseg, mondjuk a DVD-hez kepest. Miert kell ebbol meg rosszabbat (SVCD) csinalni? A hordozhato CD+SVCD lejatszod miatt?

        #1991424
        admin
        Adminisztrátor

          Aha Asztali DVD lejátszóba kell(windows alatt sikerült már konvertálnom és szerintem a képminõség megfelelõ, csak a linuxot akarom használni mert sokkal királyább) , meg próbálom majd azokat a programokat amiket ti anánlotatok, csak most suliba senyvedek egy aranyos WindowsXP-s géppel!

          Ha nem megy majd írom a hiba üzit, azér kösztök!

          #1991425
          admin
          Adminisztrátor

            Azokat a programokat inkább hagyom amit ajánlotatok!

            It a hiba üzenet amit a kavi2svcd ír ki make-nál!

            svcdmodedlg . cpp : 28: error: duplicate’const’
            svcdmodedlg . cpp: 1567:error: duplicate’const’
            svcdmodedlg . cpp:1717:error: duplicate’const’
            make[2]:***[svcdmodedlg.o] Error.1
            make[2]: Leaving directory /home/krokodilus/Desktop/kavi2svcd-0.8.3/src
            make[1]:***[all-recursive]Error 1
            make[1] Leaving directory’ / home/krokodilus/Desktop/kavi2svcd-0.8.3′

            make:***[all]Error 2

            Ez a hiba üzenet!

            Na mit szoltok, várom mihamarabbi válaszotokat! 🙂

            #1991426
            admin
            Adminisztrátor

              Mi történ emberek, hol vagytok?
              😀

              #1991427
              kelemengabor
              Felhasználó

                Ez a hiba a forrásban lesz. Megpróbálhatod kijavítani 🙂 de egyszerûbb, ha valami mást keresel a feladatra. Pl. ami csomagban is megvan.

                #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 <

                  #1991429
                  admin
                  Adminisztrátor

                    2 menetben meg lehet csinálni az mencoderrel …

                    [align=right][snapback]104749[/snapback][/align]

                    Elnézést de szerinted ilyeneket tudok csinálni hogy ha az okoz problémát hogy feltelepítsek egy nyanvadt programot? :blink:

                    Nekem valami olyan progi kell ami grafikus, elindítom, kiválasztom, magnyomom és késsz! 😀

                    #1991430
                    admin
                    Adminisztrátor

                      Azér nagyon köszönöm a segítséget!

                      #1991431
                      kelemengabor
                      Felhasználó

                        Elnézést de szerinted ilyeneket tudok csinálni hogy ha az okoz problémát hogy feltelepítsek egy nyanvadt programot? :blink:
                        [align=right][snapback]104780[/snapback][/align]

                        Nem kell neked ilyenekt csinálnod. Ezek szkriptek, elmented õket, majd „sh aminekelnevezted” és kiírja, hogy milyen opciói vannak. Ezeket beállítgatod és mehet is. De, ha grafikus kell, pár hozzászólással feljebb van linkelve olyan is. 🙂

                      10 bejegyzés megtekintése - 11-20 / 35
                      • Be kell jelentkezni a hozzászóláshoz.