Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth

 

Avisynth 
Logo

DVB MPEG-2 Converter

DVB MPEG-2 Converter 1.1 by Ed Fielden. [[email protected]]

Designed for AviSynth v2.53

Release date: 11 December 2003

This converter takes a DVB recording (timing-corrected and demuxed into video and audio using PVAStrumento [http://www.offeryn.de] ), and outputs 720px-width RGB24 video. There is an option to swap the field order, using one of two different methods, and an option to create a 4:3 centre cut-out of a 16:9 frame, which can be used to resize pillar-boxed material to full width.

It is primarily designed for use with PAL DVB recordings, and has only been tested with these. If anyone's tried it with NTSC DVB recordings (successfully or unsuccessfully) let me know!

Requires: MPEGDecoder.dll, MPEG2Dec3.dll and MPASource.dll

DOWNLOAD: [DVBconv1_1.zip (42,188 bytes)]

There are several reasons why a converter like this is needed:

- VirtualDub cannot natively decode MPEG-2 streams;

- PAL DVB recordings are top field first, the opposite to PAL DV recordings;

- DVB video can be a variety of widths, PAL DV must be 720px width;

- MPEG-2 recordings are natively in the YV12 colour space, within which the chroma information is interlaced in an unusual way; some decoders decode this incorrectly;

- Some 4:3 material transmitted by DVB is presented pillar-boxed in a 16:9 frame.

This converter can correct all these anomalies and automates the process of conversion.

There are 3 versions of the converter:

The first version, the 'standard' version, simply outputs straightforward RGB24 video, resized to 720px width. The field order is left unchanged.

The second version, the "Frameshifter" version, does all that the 'standard' version does, then changes the field order by shifting the whole frame up by one pixel. This is relatively unobtrusive, and keeps the length of the clip the same as the original recording. It is, however, quite slow (takes about 4 times the length of the original clip to process on my 1.4GHz machine).

The third version, the "Field-shuffler" version, does all that the 'standard' version does, then changes the order of the fields by shifting the second field from a given frame into the position of the first field of the next frame. This shortens the clip by one frame - one field is shaved off each end of the clip - but is reasonably fast (takes about 2 times the length of the original clip to process on my 1.4GHz machine).

You can choose between the three versions, depending on how you want your video to end up.

Usage:

DVBConv (string vid_file, string aud_file, bool centre_cutout)
DVBConvShift (string vid_file, string aud_file, bool centre_cutout)
DVBConvShuffle (string vid_file, string aud_file, bool centre_cutout)

Back to ShareFunctions

SourceForge Logo

 


Edit this document | View document history
Document last modified Wed, 28 Apr 2004 19:49:20