Hi,

a friend of mine recorded a movie with a miniDVD camera, but that took two miniDVDs. He gave me a DVD-ROM with two folders, A and B, containing the VIDEO_TS from the two miniDVDs.

The problem he asked me to solve is authoring a standard video DVD out of this DVD-ROM: in fact, the latter cannot be played by most DVD players round here, and my own DVD player just plays the first folder.

At last, I solved the problem, but I'm sure there's a more elegant and efficient solution than the following one:

1) I used dvdrip to extract the VOBs from both folders A and B. I first tried to give those VOBs to dvdauthor, but it complains that "SCR moves backward, remux input", or something like that. So I tried the next point. 2) I ran the following command line to create correctly ordered *.mpg files ready for dvdauthor:

ii=0;
for ff in $(find A B -name *.vob | sort) ; do
  printf -v gg "%02d" $((ii++));
  gg="file-$gg";
  tcextract -i $ff -x mpeg2 > $gg.m2v;
  tcextract -i $ff -x ac3 > $gg.ac3;
  mplex -f8 -o $gg.mpg $gg.m2v $gg.ac3;
done

Simply put: is it possible to avoid remultiplexing?

Many thanks in advance.

--
Andrea

Reply via email to