[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VCDImager Bugs/Devel] Re: SVCD
From: |
Herbert Valerio Riedel |
Subject: |
Re: [VCDImager Bugs/Devel] Re: SVCD |
Date: |
Fri, 10 Nov 2000 04:45:58 -0500 |
User-agent: |
Mutt/1.2.5i |
ok, just to give you some more information, jens wrote me the following some
months ago:
Date: Thu, 21 Sep 2000 16:04:49 -0500
From: Jens B. Jorgensen
To: Herbert Valerio Riedel
Subject: Re: tracks.svd & stuff...
Actually, the mandatory files are:
SVCD\INFO.SVD
SVCD\ENTRIES.SVD
SVCD\SEARCH.DAT
SVCD\TRACKS.SVD
Actually it says the SEARCH.DAT file is mandatory only if the System Profile
Tag in INFO.SVD is 0x00 (which corresponds to the System Identification being
"SUPERVCD"), otherwise it's optional. INFO.SVD must be at 00:04:00,
ENTRIES.SVD at 00:04:01, LOT.SVD at 00:04:02 - 00:04:33, PSD.SVD at 00:04:34
with a variable length of up to 256 sectors.
As to the format of these files I'm emailing you separately (so they don't
get screwed up!) a cvs diff of changes to vcd_files_private.h containing
structures and information about these files. If all is to your liking you
can patch your copy and commit it. The analyzing the mpeg streams part is
going to be a bit icky I think also. 8( Ah well, we must press on.
Later,
Herbert Valerio Riedel wrote:
> I'm a bit curious about the format of (and possibly the fixed location if
> required by the standard):
>
> /SVCD/TRACKS.SVD
> /SVCD/SEARCH.DAT
> /EXT/SCANDATA.DAT
>
> together with the other already defined files, that should be all
> mandatory files needed for a SVCD... (or are some of those 3 mentioned
> above files optional?)
>
> then there remains the hard part to analyze the mpeg streams, to get out
> the information for filling that scandata.dat and search.dat and..., with
> stream related information...
>
> well... I hope writing SVCDs can be done in one pass, since 2 pass would
> be annoying... (1 pass for finding intra-coded-image locations, and the
> 2nd pass for writing the actual image... :( but I fear that 2 passes will
> be necessary nevertheless...
>
> that's all.. :)
> --
> #include <std_disclaimer.h>
--
Jens B. Jorgensen
On Thu, Nov 09, 2000 at 10:17:03PM -0500, Mike Bernson wrote:
> Here is a patch to add a command line to set the type
> of disk to create vcd or svcd. I am string to create
> the directory entries need for svcd.
>
> The dir format struct for svcd is:
>
> root
> |--SVCD
> | |-- INFO.VCD
> |-- ENTRIES.VCD
> |-- SEARCH.DAT
> |-- TRACKS.SVD
> |-- PSD.VCD
> |-- LOT.VCD
> |--MPEG-2
> |-- AVSEQnn.MPEG
> |--EXT
> |-- SCANDATA.DAT
>
> This create 3 new files from vcd format plus
> changing the directory names a little. The new
> files Search.dat, tracks.svd, scandata.dta do
> not have fixed sizes. Do you known If can create
> them fixed size and just not use all the space.
>
>
>
> Index: vcdimager.c
> ===================================================================
> RCS file: /cvs/vcdimager/frontends/cli/vcdimager.c,v
> retrieving revision 1.1
> diff -r1.1 vcdimager.c
> 61a62
> > gboolean svcd_flag;
> 91c92
> <
> ---
> > gl.svcd_flag = 0;
> 98a100
> >
> 108a111,113
> > { "svcd", 's', POPT_ARG_NONE, &gl.svcd_flag, 0,
> > "Create an svcd cdrom disk (default: vcd)" },
> >
> 169a175
> >
> 172c178
> < gl_vcd_obj = vcd_obj_new(VCD_TYPE_VCD2);
> ---
> > gl_vcd_obj = vcd_obj_new(gl.svcd_flag ? VCD_TYPE_SVCD:VCD_TYPE_VCD2);
--
Herbert Valerio Riedel / Finger address@hidden for GnuPG Public Key
GnuPG Key Fingerprint: AC2A CD57 A5C8 A1CB 0A18 DA95 CB0B DB23 60B6 16F5