PDA

View Full Version : DVB to DIVX


minidiscnut
29th January 2003, 17:10
Hi,


Has anybody got experience of transcoding pva (pal interlaced content) to divx whilst maintaining as much of the quality as possible.

My current process is:


1) Record to PVA from WinTV Nexus S DVB card
2) Cut out ads with PVACut
3) Demux into MPA/MPV streams using pvainstrumento
4) crop/deinterlace/scale/transcode into divx using vidomi
5) create mp3 from mpa using besweet
6) Remux Audio/Video with Nandub.

My problem is that vidomi, while simple to use seems to do a poor job of deinterlacing causing the video to look fuzzy and defocussed. Nothing like the crisp PVA footage that I've recorded.

I'm wondering if I would get better results by using DVD2AVI and avisynth with the appropriate filters to deinterlace and scale. If anybody has experience doing this and could help me I'd be gratefull.

I have tried it once but kept getting script errors from avisynth.


Cheers people.....

stax
29th January 2003, 17:16
did you try, DVX, it can deal with many formats, it has very good pva support

http://forum.doom9.org/showthread.php?s=&threadid=31368&perpage=20&highlight=dvx&pagenumber=4

blixi
10th February 2003, 21:27
As I'm mainly a linux user, I may be not much of help. Under win I would use:

dvd2avi (if it supports pva, my last try was not successful, but I have read a thread here that there will be an upcoming version that can do it, even demuxing) => d2s

d2s => avs using Gknot or something like that.

using avs in Vdub and a interlace filter, or in case you watch it on TV , use Xvid - I have heard that Xvid can handle interlaced material.

bb
11th February 2003, 10:00
Another option using fccHandler's VirtualDub_MPEG2_AC3:

Approach 1
1. Use PVAstrumento to create MPEG elementary streams (MPEG-2 video and MP2 audio).
2. Decode the audio to WAV, e.g. using BeSweet.
3. Open the file in the mentioned VDub mod, cut frame accurately, use your preferred VirtualDub de-interlacing filter, open the WAV as audio and use Lame ACM codec to get MP3 audio together with the video in one go.

or

Approach 2
1. Use PVAstrumento to create MPEG elementary streams (MPEG-2 video and MP2 audio).
2. Transcode the audio to MP3, e.g. using BeSweet.
3. Open the file in the mentioned VDub mod, cut frame accurately, use your preferred VirtualDub de-interlacing filter.
4. Mux video and audio using NanDub or VirtualDubMod.

Or using classic VirtualDub and AviSynth:

Approach 3
1. Use PVAstrumento to create MPEG elementary streams (MPEG-2 video and MP2 audio).
2. Create a d2v project using DVD2AVI.
3. Create an AVS file containing an "MPEG2Source" command that opens your d2v file. Add a deinterlacer, e.g. from the Decomb package.
3. Decode the audio to WAV, e.g. using BeSweet.
4. Open the AVS file in VirtualDub, cut frame accurately, use your preferred VirtualDub de-interlacing filter, open the WAV as audio and use Lame ACM codec to get MP3 audio together with the video in one go.

Instead of using the Lame ACM codec you can use the audio transcoding/muxing of approach 2.

Instead of PVAstrumento you may want to try ds.jar v0.61k. This Java program is known to do a very good PVA<->MPEG2 conversion job (and fast, too). Another good software is "MPEG-2 to VirtualDub Version 1.71" by Jory Stone. You can find loads of information on the German Doom9 board (digital video capturing forum).

bb

BaronVlad
24th February 2003, 09:28
Here we go, copy and paste from my posting in the analogue section (nearly the same "problem"): http://forum.doom9.org/showthread.php?s=&threadid=46864

--------Schnipp----------

Hi,

IMO you should use Jorys (jcsston) program MPEG2toVirtualDub. It is written exactly for this procedure. You can load one or more mpeg2 files, crop and resize (using diferent resize filters as lanczos, bicubline, bicubic... also deinterlacing if you have to), then it demuxes with pvastrumento, writes an avisynth script and opens it with VirtualDub, sound is included using mpasource by Warpenterprises.

You can get it here: http://webjory.tripod.com/vb/

History of this program is here: http://virtualdub.everwicked.com/index.php?act=ST&f=16&t=1018&st=0

Happy encoding

----------Schnapp------------

Herske
24th February 2003, 17:27
I'm also doing extensive DVB encodes.

1.I capture the transport stream (works the same way for pva).

2. I use ds.jar (it's great & fast program for ts/pva/mpeg2/vdr transcoding and demuxing) to convert or demux the stream, remove crc info from audio stream, dump teletext and for fixing certain issues with the stream etc.

3. Audio is decoded to wave with besweet and encoded using --alt presets

4. Video goes from dvd2avi->avisynth2.5->virtualdubmod - compressed with xvid (qpel, gmc etc etc). No color space conversions whatsoever -yv12 only

5. Video is remuxed with audio.

That's it!


I've tried many other ways of encoding, from dvx to fcc's virtualdub, but the method above was the fastest for me.

minidiscnut
27th February 2003, 09:50
Hi Herske,

Are you working with PAL interlaced source material?

If so, could you post your avisynth script please?

Cheers.:)

ewat
12th September 2003, 05:06
what i dont get is...these methods are great for when its just one chunk...what if ads are involved, it changes it all a bit doesnt it?

because you have to think about cutting the audio up as well etc. =(?

the easiest way i can think of is just avisynthing into vdubmod, but then you cant do any audio compression right? so then i guess demux, reencode, remux...hrm sounds bad =( any ideas?

jernst
5th October 2003, 09:56
Originally posted by ewat
what i dont get is...these methods are great for when its just one chunk...what if ads are involved, it changes it all a bit doesnt it?

because you have to think about cutting the audio up as well etc. =(?

the easiest way i can think of is just avisynthing into vdubmod, but then you cant do any audio compression right? so then i guess demux, reencode, remux...hrm sounds bad =( any ideas?

You can do it all using DVX 3.5b. Just open your file, it would be demuxed using either PVAStrumento or X (new project derived from ds.jar by dvb.matt). It would automatically load all chunks of the file if it has been split by the recording device.

Then you can preview your movie, select the ranges that you want to encode (i.e. cut out the commercials), select the audio format you want to transcode into, crop the black borders manually or automatically, deinterlace if needed, manually change the avisynth script if needed, etc. Then just click on encode and you'll get everything that you want.

As I own a satellite receiver myself (dreambox), let me know if you encounter any problem. I could surely help you.