avi2mp4.sh: Konvertiert Dateien nach MP4 (H264 o. XviD/AAC)

  • Code
    1.0.9. - In case aspect ratio is not set simply assume Width:Height
           - Add -endpos .1 to myidentify to prevent playback of audio
             files; thanks to Reimar Doeffinger for the tip
           - Check $VFOPTS for cropping. If detected calculate new aspect
             ratio so we get a proper output resolution
  • Moin,

    was erwartet das Skript denn für Parameter? Evtl. könnte man das so machen, dass da Skript auch vom vdradmin aus aufgerufen werden kann.

    Cheers,
    Budy


    c't VDR 6.0

    • Asrock K7VT4, Athlon XP 3300+, 1 GB Ram, 2 x TT FF 1.3 mit Spannungs-Mod II

    • Debian/Etch mit eigenem no-DMA Kernel

    • außer CPU- und Netzteil-Lüfter keine drehenden Teile - bootet von CF-Card in unter 35 Sek.

  • Quote

    Original von budy
    was erwartet das Skript denn für Parameter? Evtl. könnte man das so machen, dass da Skript auch vom vdradmin aus aufgerufen werden kann.

    Nur die Pfade zu den zu konvertierenden Dateien.

  • Das skript erwartet dann aber eine mpg Datei, z.B. aus vdrsync, oder?


    c't VDR 6.0

    • Asrock K7VT4, Athlon XP 3300+, 1 GB Ram, 2 x TT FF 1.3 mit Spannungs-Mod II

    • Debian/Etch mit eigenem no-DMA Kernel

    • außer CPU- und Netzteil-Lüfter keine drehenden Teile - bootet von CF-Card in unter 35 Sek.

  • Code
    1.1.2: - Another attempt to correct the behaviour in case of bogus
             crop values; only accept numbers and let mencoder do the
             dying
           - Change loop expression in c-style for-loop once more just for
             correctness' sake
  • Code
    1.1.3: - Direct error messages to stderr
           - Minor comment fix
           - If there's a ".p" file treat video as progressive
           - Users can add mencoder options on a per-file basis
           - Add tip about DVD ripping
           - Add clear_variables function
  • Code
    1.1.4: - Add possiblity to set maximum output resolution, thanks to
             L. Pearce for the idea; see comments regarding $MAX_RES
           - Changed comments regarding MP4Box crashes (added suggestion
             for real workaround)
  • Code
    1.1.5: - Add $MP4BOX_IPOD to set whether "MP4Box -ipod ..." is run
           - Add possibility to renice the script (alter its priority)
           - use "-oac pcm" instead of "-oac copy"; it does add a little
             overhead (and we need more drive space) but it helps keeping
             audio and video in sync; also some audio codecs cannot be
             muxed into AVI, e.g. Vorbis, so now we're working around this
             issue
  • Code
    1.1.6:
            - Split release into ChangeLog, README, INSTALL and script itself
            - Add possibility to use neroAacEnc AAC encoder instead of faac; it's
              not Open Source but I ran into an issue with faac earlier and
              apparently it's not maintained anymore
            - Increase accuracy of aspect calculation; I doubt this has any effect
  • Code
    1.1.7:
            - mention faac in INSTALL
            - add possibility to override neroAacEnc binary (README for more
              info)
            - add Xvid support; it's so much faster than x264, had to add it
            - add configuration file example to README
  • Code
    1.1.9:
    	- make sure muxing doesn't result in variable video frame rate
    	- cleaned up quite a bit (quoting, brackets, ...)
    	- better error detection
    	- clean user configuration file before sourcing it
    	- write initial configuration file
    	- got rid of all evals
    	- removed hardcoding of iPod-specific encoder options
  • Code
    1.1.10:
    	- remove BPP usage
    	- add compressibility check
    	- delete INSTALL file (put content into README)
    	- clean up README
    	- (hopefully) last batch of quoting fixes
    	- make scripting style more consistent
    	- better sed scripts
    	- use $HOME instead of "~" expansion
    	- move command substitutions out of [tests]

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!