From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-144621-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id DE3481385FD
	for <garchives@archives.gentoo.org>; Tue, 22 Jan 2013 17:12:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2407321C0A8;
	Tue, 22 Jan 2013 17:12:49 +0000 (UTC)
Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 87D2A21C00C
	for <gentoo-user@lists.gentoo.org>; Tue, 22 Jan 2013 17:12:47 +0000 (UTC)
Received: by mail-vb0-f54.google.com with SMTP id l1so742809vba.27
        for <gentoo-user@lists.gentoo.org>; Tue, 22 Jan 2013 09:12:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:content-type;
        bh=8TZqh5vc2l6UhRwvtyrXGdYL6k30HSeD4MXFpiUuZ+k=;
        b=AdDUSNYrExEYvr5XYwsB3Hbzgtp19h8D6fhsEctrh1NEN5XYLGx4wZ97Mh5BBXe9d2
         1QJXly0TsWsUIgX+53wUXXWewPWSyTFrmbGWkJBMgtlM4kgYRF+/PxmSyZCGh7nFdRCA
         fxJIuZXwoRp6zskD97ayjC59/4wDZOr5nluJQzU/HezJumkeDiTJzjlT/N0/5dwQJw87
         kv2grOyAOzScttkd1GC7dtihXO0hBagElyP/OlyToizm9GM2rnmdelZTHzfi5sYlL1Aj
         ysYXp7aKfbYERfaEjCtEnDaT/Ad+icTfBsetPJy6S2ByV8WE5OfM5P5h0zeHqgjyAIF6
         r0Sw==
X-Received: by 10.220.115.133 with SMTP id i5mr24066257vcq.42.1358874766532;
 Tue, 22 Jan 2013 09:12:46 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Sender: paul.hartman@gmail.com
Received: by 10.58.217.195 with HTTP; Tue, 22 Jan 2013 09:12:26 -0800 (PST)
In-Reply-To: <CAA2qdGVAdjLxHXLodTndCd68=CQfdHJ=g==BE9p5hQPsP3WzCA@mail.gmail.com>
References: <CAA2qdGVAdjLxHXLodTndCd68=CQfdHJ=g==BE9p5hQPsP3WzCA@mail.gmail.com>
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
Date: Tue, 22 Jan 2013 11:12:26 -0600
X-Google-Sender-Auth: V73mU5rggC2UuQniUEKlO4p2YWA
Message-ID: <CAEH5T2PqoV2i2R6PzqvJvsLjmJxU7P-+m1j3v9hNhCVcOrEMeA@mail.gmail.com>
Subject: Re: [gentoo-user] [OT] Combine AVSEQxx.DAT files into Matroska
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: fca1c5da-576e-42a5-9666-f2c9cba21b43
X-Archives-Hash: 928db52872a5f8245294e2907bf27abe

On Sun, Jan 20, 2013 at 12:51 PM, Pandu Poluan <pandu@poluan.info> wrote:
> Hello list!
>
> I know this is kind of off-topic... but as we all know this is a list
> where the SNR is perhaps the highest one can ever find in the
> Internet, so...
>
> Let's say I have a bunch of AVSEQxx.DAT files, ripped from a Video CD
> (VCD). This VCD is *mine*, purchased legally, I just want to rip it to
> .mkv to prevent scratches & all.
>
> The rip was done properly (methinks) using IsoBuster in Windows (using
> the "Extract but filter only MPEG frames").
>
> How do I merge them into a Matroska container with chapter links?
> (Each AVSEQxx.DAT file is a song).
>
> (Note: My Gentoo is currently living as a Vbox Guest VM, without GUI,
> so I'd really appreciate a CLI solution).

I think mkvmerge from media-video.mkvtoolnix package is the go-to tool
for this kind of thing. It has a very long manpage which hopefully
will contain the information you're looking for.

VCD .DAT file is just an mpeg2 stream, you can imagine the file is
named .mpg instead and it should work the same... "ffmpeg -i file.dat"
to see specific codec/rate info about it.