Ultime liste de discussion du Labo 604

Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Ultime liste de discussion du Labo 604

installation et gestion de réseaux sous linux

Le Deal du moment : -45%
WHIRLPOOL OWFC3C26X – Lave-vaisselle pose libre ...
Voir le deal
339 €

    [MMedia] wavpack ... Hybrid Lossless Audio Compression

    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [MMedia] wavpack ... Hybrid Lossless Audio Compression Empty [MMedia] wavpack ... Hybrid Lossless Audio Compression

    Message  mvh Lun 16 Nov - 0:33

    http://www.wavpack.com/
    WavPack is a completely open audio compression format providing lossless,
    high-quality lossy, and a unique hybrid compression mode.

    http://www.wavpack.com/downloads.html

    WavPack
    for *nix
    WavPack sources for build on Linux, MacOS, etc.
    Download
    378kB
    4.60.0

    Code:
    bash-4.0# make install
    Making install in src
    make[1]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0/src »
    make[2]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0/src »
    test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
     /bin/sh ../libtool  --mode=install /bin/install -c  'libwavpack.la' '/usr/local/lib/libwavpack.la'
    /bin/install -c .libs/libwavpack.so.1.1.3 /usr/local/lib/libwavpack.so.1.1.3
    (cd /usr/local/lib && { ln -s -f libwavpack.so.1.1.3 libwavpack.so.1 || { rm -f libwavpack.so.1 && ln -s libwavpack.so.1.1.3 libwavpack.so.1; }; })
    (cd /usr/local/lib && { ln -s -f libwavpack.so.1.1.3 libwavpack.so || { rm -f libwavpack.so && ln -s libwavpack.so.1.1.3 libwavpack.so; }; })
    /bin/install -c .libs/libwavpack.lai /usr/local/lib/libwavpack.la
    /bin/install -c .libs/libwavpack.a /usr/local/lib/libwavpack.a
    chmod 644 /usr/local/lib/libwavpack.a
    ranlib /usr/local/lib/libwavpack.a
    PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
    ----------------------------------------------------------------------
    Libraries have been installed in:
      /usr/local/lib

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
      - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
        during execution
      - add LIBDIR to the `LD_RUN_PATH' environment variable
        during linking
      - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
      - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[2]: Rien à faire pour « install-data-am ».
    make[2]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0/src »
    make[1]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0/src »
    Making install in include
    make[1]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0/include »
    make[2]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0/include »
    make[2]: Rien à faire pour « install-exec-am ».
    test -z "/usr/local/include/wavpack" || /bin/mkdir -p "/usr/local/include/wavpack"
     /bin/install -c -m 644 'wavpack.h' '/usr/local/include/wavpack/wavpack.h'
    make[2]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0/include »
    make[1]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0/include »
    Making install in cli
    make[1]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0/cli »
    make[2]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0/cli »
    test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
      /bin/sh ../libtool  --mode=install /bin/install -c 'wavpack' '/usr/local/bin/wavpack'
    /bin/install -c .libs/wavpack /usr/local/bin/wavpack
      /bin/sh ../libtool  --mode=install /bin/install -c 'wvunpack' '/usr/local/bin/wvunpack'
    /bin/install -c .libs/wvunpack /usr/local/bin/wvunpack
      /bin/sh ../libtool  --mode=install /bin/install -c 'wvgain' '/usr/local/bin/wvgain'
    /bin/install -c .libs/wvgain /usr/local/bin/wvgain
    make[2]: Rien à faire pour « install-data-am ».
    make[2]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0/cli »
    make[1]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0/cli »
    make[1]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0 »
    make[2]: entrant dans le répertoire « /opt/RapidShare/wavpack-4.60.0 »
    make[2]: Rien à faire pour « install-exec-am ».
    test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
     /bin/install -c -m 644 'wavpack.pc' '/usr/local/lib/pkgconfig/wavpack.pc'
    make[2]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0 »
    make[1]: quittant le répertoire « /opt/RapidShare/wavpack-4.60.0 »
    bash-4.0#

    et pour finir un petit ldconfig ...
    Code:
    bash-4.0# ldconfig               
    bash-4.0# ldconfig -p | grep libwavpack
        libwavpack.so.1 (libc6) => /usr/local/lib/libwavpack.so.1
        libwavpack.so (libc6) => /usr/local/lib/libwavpack.so
    bash-4.0#
    ... semble être utile quand même Wink
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [MMedia] wavpack ... Hybrid Lossless Audio Compression Empty Re: [MMedia] wavpack ... Hybrid Lossless Audio Compression

    Message  mvh Lun 16 Nov - 2:05

    cuetools and wavsplit
    (use "cuebreakpoints cuefile.cue" to read the tacks length, the use "wavsplit bigwavefile.wav time1 time2 time3 ..." to split.)

    http://bbs.archlinux.org/viewtopic.php?id=75774
    Code:
    cuesplit /path/to/dir

    Code:

    #!/bin/sh

    # frontend for:            cuetools, shntool, mp3splt
    # optional dependencies:    flac, mac, wavpack

    SDIR=`pwd`

    if [ "$1" = "" ]
      then
        DIR=$SDIR
    else
        case $1 in
            -h | --help )
                echo "Usage: cuesplit [Path]"
                echo "      The default path is the current directory."
                exit
                ;;
            * )
            DIR=$1
        esac
    fi

    echo -e "\

    Directory: $DIR
    ________________________________________
    "
    cd "$DIR"
    TYPE=`ls -t1`

    case $TYPE in
        *.ape*)
            cuebreakpoints *.cue | shnsplit -a track -o flac *.ape
            cuetag.sh *.cue track*.flac
            exit
            ;;

        *.flac*)
            cuebreakpoints *.cue | shnsplit -a track -o flac *.flac
            cuetag.sh *.cue track*.flac
            exit
            ;;

        *.mp3*)
            mp3splt -no "@n @p - @t (split)" -c *.cue *.mp3
            cuetag.sh *.cue *split\).mp3
            exit
            ;;

        *.ogg*)
            mp3splt -no "@n @p - @t (split)" -c *.cue *.ogg
            cuetag.sh *.cue *split\).ogg
            exit
            ;;

        *.wv*)
            cuebreakpoints *.cue | shnsplit -a track -o flac *.wv
            cuetag.sh *.cue track*.flac
            exit
            ;;

        *.wav*)
            cuebreakpoints *.cue | shnsplit -a track -o flac *.wav
            cuetag.sh *.cue track*.flac
            exit
            ;;

        * )
        echo "Error: Found no files to split!"
        echo "      --> APE, FLAC, MP3, OGG, WV, WAV"
    esac
    exit
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [MMedia] wavpack ... Hybrid Lossless Audio Compression Empty Re: [MMedia] wavpack ... Hybrid Lossless Audio Compression

    Message  mvh Lun 16 Nov - 2:11

    http://aidanjm.wordpress.com/2007/02/15/split-lossless-audio-ape-flac-wv-wav-by-cue-file/
    http://aidanjm.wordpress.com/2007/02/04/converting-monkey%e2%80%99s-audio-ape-files-to-flac-in-ubuntu/

    Split lossless audio (ape, flac, wv, wav) by cue file in Ubuntu


    Lossless audio files can be split by cue
    file using “shnsplit” (part of the “shntool” package). You will also
    need the “cuebreakpoints” tool (part of the “cuetools” package). To
    install cuetools and shntool in Ubuntu/ Kubuntu, open a terminal window
    and enter the following:
    sudo apt-get install cuetools shntool
    You will also need software for your prefered lossless audio format. For Monkey’s Audio you need to install “mac” – see here for details. For FLAC and WavPack formats you need to install “flac” and “wavpack” respectively:
    sudo apt-get install flac wavpack
    Shnsplit requires a list of break-points with which to split an
    audio file. Conveniently, cuebreakpoints prints the break-points from a
    cue or toc file in a format that can be used by shnsplit. You can pipe
    the output of cuebreakpoints to shnsplit as follows:
    cuebreakpoints sample.cue | shnsplit -o flac sample.flac
    In this example, a flac file called “sample.flac” is split according
    to the break-points contained in “sample.cue” and the results are
    output in the flac format.
    The output file format is specified via the “-o” option. If you
    don’t specify an output format your split files will be in shntool’s
    default format (i.e., wave files, “wav”).
    To split a monkey’s audio file by cue file and output the results in the flac format:
    cuebreakpoints sample.cue | shnsplit -o flac sample.ape
    Note that a default prefix “split-track” is used to name the output
    files. (The default output format is split-track01, split-track02,
    split-track03, …). You can specify your own prefix via the “-a” option.
    To see all the options for shntool split type “shntool split -h” or “shnsplit -h”.
    Transferring tags
    The audio files output by shnsplit do not contain tag data. However
    you can use the “cuetag” script (installed as part of the cuetools
    package) to transfer tag data directly from a cue file to your split
    audio files. You specify the individual audio files corresponding to
    the tracks contained in your cue file as follows:
    cuetag sample.cue split-track01.flac split-track02.flac split-track03.flac split-track04.flac

    This will transfer the tag data contained in “sample.cue” to the
    flac audio tracks “split-track01.flac” “split-track02.flac”
    “split-track03.flac” and “split-track04.flac”.
    The above command could be streamlined as:
    cuetag sample.cue split-track*.flac
    Cuetag works with flac, ogg and mp3 files. The cuetag script is not currently able to handle file names containing spaces.
    Note: If you are running flac version 1.1.4 or higher then
    you may need to make some small changes to the cuetag script before it
    will work correctly with flac files. Open the cuetag script (for Ubuntu
    installations it will be located at /usr/bin/cuetag) in a text editor
    and make these two changes: 1) search for the text “remove-vc-all” and
    replace it with “remove-all-tags”. 2) search for the “import-vc-from”
    and replace with “import-tags-from”.



    http://www.downloadsquad.com/2009/10/29/convert-audio-and-video-files-in-2-clicks-with-oxelon-media-conv?icid=sphere_wpcom_inline
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [MMedia] wavpack ... Hybrid Lossless Audio Compression Empty Re: [MMedia] wavpack ... Hybrid Lossless Audio Compression

    Message  mvh Mar 17 Nov - 0:14

    Code:

    bash-4.0#
    bash-4.0# yaourt cuetools
    1 aur/cuetools 1.3.1-3 (221)
        Set of utilities for working with cue files and toc files
    2 aur/libcue 1.3.0-2 (24)
        A fork of cuetools.
    ==>  Entrez les n° (séparés par un espace, ou une intervalle) des paquetages à installer
    ==>  ----------------------------------------------
    ==>q

    Code:

    bash-4.0# yaourt wavsplit
    1 aur/wavsplit 1.2.1-1 (10)
        Splits large WAV files at given time positions
    ==>  Entrez les n° (séparés par un espace, ou une intervalle) des paquetages à installer
    ==>  ----------------------------------------------
    ==>q
    bash-4.0#

    Code:

    bash-4.0# yaourt shntool
    1 aur/qshntoolsplit 0.0.1-1 (5)
        A grachical frontend for shntool (split) utility.
    2 aur/shntool 3.0.10-1 (225)
        A multi-purpose WAVE data processing and reporting utility
    ==>  Entrez les n° (séparés par un espace, ou une intervalle) des paquetages à installer
    ==>  ----------------------------------------------
    ==>q

    Code:

    bash-4.0# yaourt  flac
    1 extra/flac 1.2.1-2 [installé]
        Free Lossless Audio Codec
    2 extra/mpd 0.15.5-2
        Music daemon that plays MP3, FLAC, and Ogg Vorbis files
    3 community/audio-convert 0.3.1.1-5
        A script with an easy to use interface to convert audio files: wav, mp3,
        ogg, flac, aac, mpc, ape and wma.
    4 community/flac123 0.0.11-2
        A command-line program for playing FLAC audio files
    5 community/gmusicbrowser 1.0.2-1
        An open-source jukebox for large collections of mp3/ogg/flac files, written
        in perl.
    6 community/kid3 1.2-1
        An MP3, Ogg/Vorbis and FLAC tag editor for KDE.
    7 aur/alac2flac 2009.04.25-4 (4)
        Script to convert ALAC to FLAC.
    8 aur/ampache-development 3.5_beta2-1 (24)
        Ampache is a PHP-based tool for managing, updating and playing your MP3/OGG/RM/FLAC/WMA/M4A files via a web interface
    9 aur/audiere 1.9.4-7 (37)
        High-level audio API. It can play Ogg Vorbis, MP3, FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files
    10 aur/audiokonverter 5.8.2-3 (40)
        A service menu for audio conversion from OGG, MP3, AAC, M4A, FLAC, WMA, RealAudio, Musepack, Wavpack, WAV
    11 aur/audiothumbs 0.1-1 (8)
        Plugin for KDE file managers (Dolphin and Konqueror) to preview cover arts embedded in Audio (MP3, FLAC) file tags as Thumbnails.
    12 aur/bmp-flac 20040316-2 (9)
        FLAC plugin for Beep Media Player
    13 aur/bpmdj 4.0-4 (5)
        Tool for detecting the BPM of mp3, ogg, m4a, mpc and flac files
    14 aur/convtoflac 2.1.1-2 (8)
        The Convert to FLAC script converts audio files compressed with alternative lossless codecs (Monkey's Audio, Shorten, etc.) to the FLAC format.
    15 aur/cuegen 1.2.0-3 (19)
        FLAC-compatible cuesheet generator for Linux
    16 aur/deadbeef 0.2.3.2-1 (31)
        mp3/ogg/flac/ape/sid/mod/nsf music player based on GTK2
    17 aur/deadbeef-git 20090909-1 (1)
        mp3/ogg/flac/sid/mod/nsf music player based on GTK2
    18 aur/dupemusicmatch 2.3-2 (25)
        A tool to quickly find duplicate MP3/Ogg/FLAC files via letter matching
    19 aur/etree-scripts 3.1-1 (7)
        A collection of scripts (md5check, shn2mp3, flacify, unshn, burn-shns, make-toc) which will hopefully make your life a lot easier.
    20 aur/flac2mp3 0.3.0rc1-1 (12)
        a perl script to convert FLAC files to MP3 format
    21 aur/flack 2.0.4-1 (10)
        A menu-driven BASH script to edit FLAC tags
    22 aur/flacon 0.1-1 (5)
        Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate FLAC files.
    23 aur/flactagger 3.1.1-1 (12)
        A Ruby script for tagging FLAC files
    24 aur/flake 0.11-2 (23)
        Open-source FLAC audio encoder, faster then libFLAC
    25 aur/flake-svn 114-1 (périmé) (4)
        Flake is an open-source FLAC audio encoder
    26 aur/gmusicbrowser-development 1.1.3-1 (10)
        An open-source jukebox for large collections of mp3/ogg/flac/mpc files, written in perl.
    27 aur/gmusicbrowser-git 20090915-1 (1)
        An open-source jukebox for large collections of mp3/ogg/flac files, written in perl.
    28 aur/kid3-qt 1.3-1 (6)
        An MP3, Ogg/Vorbis and FLAC tag editor (qt version)
    29 aur/kid3-svn 647-1 (1)
        An MP3, Ogg/Vorbis and FLAC tag editor for KDE.
    30 aur/lib32-flac 1.2.1-2 (82)
        Free Lossless Audio Codec 32bit lib
    31 aur/libtagedit 1.1.1-1 (2)
        C++ libs and python bindings for editing ID3V2 tag of mp3, flac and ogg files.
    32 aur/m2t-svn 6-1 (2)
        CUE+* recursive splitter to flac-tracks
    33 aur/mp3fs 0.13-1 (12)
        A read-only FUSE filesystem which transcodes audio formats (currently FLAC) to MP3 on the fly when opened and read.
    34 aur/mpd-devel 0.15-1 (7)
        music daemon that plays mp3, flac, aac, mod, wav, mpc and ogg files
    35 aur/mpd-git 20090423-1 (100)
        music daemon that plays mp3, flac, aac, mod, wav, mpc and ogg files
    36 aur/mpd-skiphidden 0.15.5-1 (0)
        Music daemon that plays MP3, FLAC, and Ogg Vorbis files (skips hidden files)
    37 aur/perl-audio-flac-header 2.3-2 (32)
        Access to FLAC audio metadata
    38 aur/rip 1.07-3 (2)
        A command-line based audio CD track ripper and MP3, FLAC, or Ogg Vorbis encoder
    39 aur/shn2make 2.15-1 (4)
        A tool for working with sets of shn and flac audio files - automate the process of burning shn archive CD-R's, audio CD-R's and the encoding of lossy mp3 and ogg-vorbis files.
    40 aur/soundgonverter 0.0.1-1 (2)
        A tool to convert various music formats into another. Currently supported are MP3, WAVE, OGG, FLAC. It's written in GTK# and a front-end for ffmpeg.
    41 aur/split2flac-hg 7-1 (5)
        An utility to split one big APE/FLAC/WV file to FLAC/OGG/MP3 tracks with tagging and renaming
    ==>  Entrez les n° (séparés par un espace, ou une intervalle) des paquetages à installer
    ==>  ----------------------------------------------
    ==>
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [MMedia] wavpack ... Hybrid Lossless Audio Compression Empty Re: [MMedia] wavpack ... Hybrid Lossless Audio Compression

    Message  mvh Dim 3 Jan - 2:35

    Flac => mp3 ...

    ... une solution simpliste Wink

    Code:
    for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done

    et plus élaborée
    http://www.sklav.com/node/4

    Code:
    #!/bin/bash
    #########################################################
    # Flac to Mp3 Conversion Software #
    # Script Created by Nick Sklavenitis #
    # Date: September 18 2007 #
    #########################################################
    # modify the lame options to your preference example change -b 320 to -b 128 or -b 192 or -b 256
    lame_opts=" --vbr-new -V 2 -b 320 "

    # Creates the loop that allows more than 1 file to be specified, Can use single file name or example *.flac
    for x in "${@}"
    do
    FLAC=${x}
    MP3=`basename "${FLAC%.flac}.mp3"`
    [ -r "$FLAC" ] || { echo can not read file \"$FLAC\" >&1 ; exit 1 ; } ;

    #This section pulls the Tag info from flac and stores it as a variable.

    TITLE="`metaflac --show-tag=TITLE "$FLAC" | awk -F = '{ printf($2) }'`"
    ALBUM="`metaflac --show-tag=ALBUM "$FLAC" | awk -F = '{ printf($2) }'`"
    ARTIST="`metaflac --show-tag=ARTIST "$FLAC" | awk -F = '{ printf($2) }'`"
    TRACKNUMBER="`metaflac --show-tag=TRACKNUMBER "$FLAC" | awk -F = '{ printf($2) }'`"
    GENRE="`metaflac --show-tag=GENRE "$FLAC" | awk -F = '{ printf($2) }'`"
    COMMENT="`metaflac --show-tag=COMMENT "$FLAC" | awk -F = '{ printf($2) }'`"
    DATE="`metaflac --show-tag=DATE "$FLAC" | awk -F = '{ printf($2) }'`"

    #This section handles the conversion of the Flac file to MP3

    flac -dc "$FLAC" | lame${lame_opts} \
    --tt "$TITLE" \
    --tn "$TRACKNUMBER" \
    --tg "$GENRE" \
    --ty "$DATE" \
    --ta "$ARTIST" \
    --tl "$ALBUM" \
    --add-id3v2 \
    - "$MP3"

    done

    ... pour un album :
    http://www.notmyidea.org/article/convertir-des-albums-encodes-en-flac-vers-du-mp3/
    http://bytemonkey.org/flac2mp3/

    Code:
    flac2mp3 . . &&  mp3splt -c *.cue *.mp3

    Contenu sponsorisé


    [MMedia] wavpack ... Hybrid Lossless Audio Compression Empty Re: [MMedia] wavpack ... Hybrid Lossless Audio Compression

    Message  Contenu sponsorisé


      La date/heure actuelle est Lun 6 Mai - 20:33

      Ne ratez plus aucun deal !
      Abonnez-vous pour recevoir par notification une sélection des meilleurs deals chaque jour.
      IgnorerAutoriser