Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > HDTV / DVB / TiVo

Reply
 
Thread Tools Display Modes
Old 29th January 2003, 18:10   #1  |  Link
minidiscnut
Registered User
 
Join Date: Jan 2003
Posts: 4
DVB to DIVX

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.....
minidiscnut is offline   Reply With Quote
Old 29th January 2003, 18:16   #2  |  Link
stax76
Registered User
 
Join Date: Jun 2002
Posts: 2,712
did you try, DVX, it can deal with many formats, it has very good pva support

http://forum.doom9.org/showthread.ph...x&pagenumber=4
stax76 is offline   Reply With Quote
Old 10th February 2003, 22:27   #3  |  Link
blixi
Registered User
 
Join Date: Apr 2002
Posts: 41
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.
blixi is offline   Reply With Quote
Old 11th February 2003, 11:00   #4  |  Link
bb
Moderator
 
bb's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 2,660
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
bb is offline   Reply With Quote
Old 24th February 2003, 10:28   #5  |  Link
BaronVlad
Jetzt nochmal auf Deutsch
 
BaronVlad's Avatar
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 411
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/ind...16&t=1018&st=0

Happy encoding

----------Schnapp------------
__________________
Hochachtungsvoll

BaronVlad

Deutsch >> Capture FAQ - Capture Guide
Englisch >> Capture FAQ - Capture Guide
BaronVlad is offline   Reply With Quote
Old 24th February 2003, 18:27   #6  |  Link
Herske
Registered User
 
Join Date: Jul 2002
Posts: 110
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.


Last edited by Herske; 24th February 2003 at 18:31.
Herske is offline   Reply With Quote
Old 27th February 2003, 10:50   #7  |  Link
minidiscnut
Registered User
 
Join Date: Jan 2003
Posts: 4
Hi Herske,

Are you working with PAL interlaced source material?

If so, could you post your avisynth script please?

Cheers.
minidiscnut is offline   Reply With Quote
Old 12th September 2003, 06:06   #8  |  Link
ewat
Registered User
 
Join Date: Apr 2003
Posts: 5
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?
ewat is offline   Reply With Quote
Old 5th October 2003, 10:56   #9  |  Link
jernst
Gentoo rocks !
 
jernst's Avatar
 
Join Date: Jun 2002
Location: Switzerland
Posts: 125
Quote:
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.
jernst is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:06.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.