• [^] # Re: mkvextract

    Posté par . En réponse au message Extraire une piste FLAC d'un MKV mais sans le chapitre 1. Évalué à 3.

    Erf. Oui, c'est plutôt mkvmerge (comme son nom ne l'indique pas…).
    Donc, commence comme d'habitude avec ton ffmeg, puis :
    detail@x61-T] pts/5->mkvinfo $SOURCE.mka | grep ChapterTimeStart
    | + ChapterTimeStart: 00:00:00.000000000
    | + ChapterTimeStart: 00:06:34.720000000
    | + ChapterTimeStart: 00:17:04.960000000
    | + ChapterTimeStart: 00:23:37.040000000
    | + ChapterTimeStart: 00:34:16.120000000
    | + ChapterTimeStart: 00:40:08.680000000
    | + ChapterTimeStart: 00:45:49.280000000
    | + ChapterTimeStart: 00:51:02.840000000
    | + ChapterTimeStart: 00:53:58.600000000
    | + ChapterTimeStart: 01:00:57.720000000
    | + ChapterTimeStart: 01:05:04.200000000
    | + ChapterTimeStart: 01:10:53.640000000
    | + ChapterTimeStart: 01:16:59.209466666
    | + ChapterTimeStart: 01:20:52.169466666
    | + ChapterTimeStart: 01:25:25.689466666
    | + ChapterTimeStart: 01:29:51.929466666

    detail@x61-T] pts/5->mkvmerge -o $SPLIT.mka --split "timecodes:00:06:34.720000000,00:17:04.960000000" $SOURCE.mka
    detail@x61-T] pts/5->ls -1 sortie*
    SPLIT-001.mka
    SPLIT-002.mka
    SPLIT-003.mka
    
    

    Le -003 étant le tout à partir de 00:17:04
    Donc si tu veux dégager le 1er chapitre, tu commences au troisième tc : )

    Et avec mkvextract, il y a aussi cette option pour faire d'autres trucs, mais je n'arrive pas à la faire marcher…
    $mkvextract cuesheet $SOURCE.mka > $OUT.cue

    Voilà…