Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: script to convert multiple *vdr to cd-sized *avi



Hi Andreas,

>> - bitrate is calculated, so the divx file fits onto 1 CD,
>>   1/2 CD, 1/3 CD or 1/4 CD. So you can produce CD's without
>>   empty space overhead.

> i can imagine, you only need to know the number of frames
> the movie has to calculate bitrates.
> the advantage is to reduce lines of code significantly and
> not have to patch mecoder.
> perhaps you try something like:
> BITRATE=$(( ${CDSIZE} * ${CDCOUNT} * 204800 / ${FRAMES} ))
> MOVIE_BITRATE=$(( ${BITRATE} - ${AUDIO_BITRATE} ))

yes, this would be much better, because I get rid of patching mencoder.

> how about cropping black bars on top and bottom of movie?

hmm, the advantage of "raw conversion" is that I don't need any user
interaction. I don't know if cropping could be automated. Another argument
against cropping: I own an 16:4 TV set, so if there are black borders above
and under a movie the TV switches into zoom mode. I don't know if this works
when the borders are cropped.

> how about merging our scripts? the direkt use of mencoder
> instead of wine, pvastrumento and transcode is charming,
> but your use of copy, tempory files, patches and other
> helping constructs seems to bee complex. perhaps it makes
> sense to merge your encoding style and combine it with my
> handling style?

Yes, we could do so. I'll have a deeper look into your code this weekend and
see, how we could merge the scripts to improve things.

ciao
  Richard




Home | Main Index | Thread Index