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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 17th August 2006, 16:11   #1  |  Link
cmw
Registered User
 
Join Date: Jan 2006
Posts: 104
Add Scanlines to a Video

Hi!

I want to add scanlines to a not interlaced Video Source (like it's done in the FMV of Command & Conquer or Wing Commander (the Video Files on the Disc are not interlaced, but they are played with scanlines which greatly improves the visual experience, how can I permanently add these to a file using Avisynth or VirtualDub?).

Thx in Advance, cmw
cmw is offline   Reply With Quote
Old 17th August 2006, 16:32   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,868
Don't know what you're talking about. Give us a screenshot of the look you are seeking.
Guest is offline   Reply With Quote
Old 17th August 2006, 16:43   #3  |  Link
cmw
Registered User
 
Join Date: Jan 2006
Posts: 104
Ok, here is what i mean with scanlines:



However, the interlacing is NOT encoded into the video.
This is (a XVID encoded version) of the SAME video file directly ripped from cd. As you can see, there are no scanlines here, but I want them, how can I get them into an encode?

cmw is offline   Reply With Quote
Old 17th August 2006, 16:58   #4  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,868
avisource(...)
converttoyuy2() # or RGB
vid=separatefields().selecteven()
blank=blankclip(vid)
interleave(vid,blank)
weave()
Guest is offline   Reply With Quote
Old 17th August 2006, 17:00   #5  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
Hi!

I remember that wonderful effect being available as an option on the old "MAME" videogame emulator ;>}

If the suggestion by "Neuron2" doesn't satify your needs, perhaps some Googlesearching including "scanlines" and "MAME" will yield the information you're seeking...
setarip_old is offline   Reply With Quote
Old 17th August 2006, 17:01   #6  |  Link
cmw
Registered User
 
Join Date: Jan 2006
Posts: 104
Thanks for the AviSynth script!

I knew it would be simple, but searching for "scanlines, interlace" etc just brought up subjects on how to deinterlace stuff and i felt silly^^
cmw is offline   Reply With Quote
Old 17th August 2006, 18:14   #7  |  Link
Pookie
Registered User
 
Join Date: Apr 2005
Posts: 1,339
I recognize that effect. This will do it specifically.

http://www.avisynth.org/warpenterpri...l_20031103.zip
Pookie is offline   Reply With Quote
Old 18th August 2006, 20:52   #8  |  Link
Prettz
easily bamboozled user
 
Prettz's Avatar
 
Join Date: Sep 2002
Location: Atlanta
Posts: 373
I guess you could call that the "security camera effect", if you wanted to give it a unique name.
Prettz is offline   Reply With Quote
Old 18th August 2006, 21:12   #9  |  Link
LocalH
Registered User
 
Join Date: Mar 2005
Posts: 135
You should know that encoding a video like that will heavily impact the amount of compression you'll get, meaning that you'll have to make do with a larger filesize in order to get equivalent quality (after all, those scanlines are hell for an encoder).
LocalH is offline   Reply With Quote
Old 19th August 2006, 03:20   #10  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,549
Why not just encode normally and add it to the playback filter? Unless you're making a demo and you want to share. Haha, a CS video with old-skool scanlines.

In fact you could probably port shader code from mame over to MPC and do the scanlines right in the gpu.
foxyshadis is offline   Reply With Quote
Old 19th August 2006, 10:24   #11  |  Link
Soulhunter
Confused
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Euroland
Posts: 2,820
You can also use ffdshow! Some months ago Milan added a scanline filter on my request, you can find it under "picture properties" ^^


Bye
Soulhunter is offline   Reply With Quote
Reply


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 20:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.