VideoHelp Forum




+ Reply to Thread
Page 2 of 4
FirstFirst 1 2 3 4 LastLast
Results 31 to 60 of 111
  1. I see a yadif w/ some other deinterlacers here:
    http://avisynth.org/mediawiki/External_filters#Deinterlacing

    I found nnedi2.dll so I've got that one.
    Quote Quote  
  2. OK, I've got both dlls.

    I can easily completely start over for this. I've got about 150 of them to do.
    Right now I'm just trying to learn/setup a consistent process for each one.

    I'll start over once I've got all this information under my belt and then I'll see if I can deinterlace before I do 'anything' else.
    Too bad XviD4PSP can't open 1920x1080 60i AVCHD files
    It looks like I'll just have to create 2 Premiere projects so I can export the AVCHD file to AVI, interlace using XviD4PSP
    & avisynth and then back into Premiere to create my chopped up vid from the result + background graphic.

    Then I guess back into XviD4PSP or Handbrake to run avisynth to crop & resize the final.
    I guess a high quality flv file is out of the question huh?
    Quote Quote  
  3. Originally Posted by MAtkins View Post
    Too bad XviD4PSP can't open 1920x1080 60i AVCHD files
    yes it can. you need haali media splitter, ffdshow

    you can even open it up with ...guess what.... an avs script!

    It looks like I'll just have to create 2 Premiere projects so I can export the AVCHD file to AVI, interlace using XviD4PSP
    & avisynth and then back into Premiere to create my chopped up vid from the result + background graphic.

    Then I guess back into XviD4PSP or Handbrake to run avisynth to crop & resize the final.
    I guess a high quality flv file is out of the question huh?
    You can use flv, but the "quality" is from the h.264 format. flv is just a container that holds different formats of video and audio.

    You only need 1 project in premiere. You *don't* want convert avchd to avi in premiere. You get the chroma bugs in the screenshots above. That's the whole point of the post - native avchd in premiere is no good.
    Quote Quote  
  4. OK, before I dive in here, it looks like being able to open the AVCHD files from avisynth would be great.
    Do I need haali media splitter & ffdshow to do that? Are they more plugins or do I need something else?
    Quote Quote  
  5. That's all you need for now, (but there are hundreds of other plugins that do various things)

    LoadPlugin("PATH\yadifmod.dll")
    LoadPlugin("PATH\nnedi2.dll")
    DirectShowSource("0001.mts")
    YadifMod(order=1,mode=0, edeint=NNEDI2(field=1))
    #LanczosResize(width,height)
    #Crop(left,top,-right,-bottom)

    Again, lines with "#" are ignored they are like REM statements if you remember BASIC programming language

    In ffdshow , set h.264/avc in the configuration to ffmpeg-mt
    Quote Quote  
  6. Uh oh, I've got a problem with yadifmod.
    It says 'only yv12 and yuy2 input are supported'.

    any ideas as to what this is about and how I might solve it?
    Quote Quote  
  7. (BTW Avsp is a great tool for avisynth script editor. You push f5 for preview pane, and there are programmable sliders, macros , tabbed viewing, etc...)

    Post your full script, if it was straight from the camera, it should already be yv12
    Quote Quote  
  8. XviD4PSP is trying to open the raw m2ts file which came directly from the camera.
    The script I'm using now is:

    AviSource("c:\Vids\AMajorOpen.avi") <<-- REMOVED
    LoadPlugin("c:\Program Files (x86)\Avisynth 2.5\plugins\yadifmod.dll")
    LoadPlugin("c:\Program Files (x86)\Avisynth 2.5\plugins\nnedi2.dll")
    #AVISource("c:\Vids\AMajorOpen.avi")#
    DirectShowSource("c:\Vids\20100303_070409.m2ts")
    YadifMod(order=1,mode=0, edeint=NNEDI2(field=1))
    #Crop(165, 118, -165, -120)#
    #LanczosResize(368,272)#

    So, basically, I'm just trying to deinterlace it as you suggested.
    It's *really* slow so far (this is a Dell Alienware Aurora w quad 3.6Mz overclocked CPU & 6 gigs of ram).
    XviD4PSP is pushing it much harder than Premiere did.
    We'll see what happens

    ACK! I just noticed that I'm trying to open the AVI too.
    OK, here we go again.
    Quote Quote  
  9. What are you encoding to (what format?)

    xvid4psp will analyze your file and take extra time

    If you know what your file is, (i.e. interlaced, field order etc...) A better option is to use vdub, video=> fast compress mode, video=>compression (select something like huffyuv if you want lossless, or even no compression for uncompressed)

    If you know your only goal is the web format, I would resize in the script to something smaller for import into premiere as stated before. Not only will this will be easier to edit in premiere, but also you save extra time

    The bottleneck here is avisynth filters. There are even slower deinterlacers that you could use... Try TempGaussMC_Beta1() or Beta2 . Parts of the filters are multithreaded, but parts are still single. That's the price you pay for higher quality deinterlacing.
    Quote Quote  
  10. I can't get vdub to open the avs file at all.

    xvid4psp the format is AVI. I had video & audio encoding set but didn't mean to.
    I want to take the full, uncompressed but deinterlaced avi into Premiere don't I?

    I just stopped it to reset the encoding to 'disabled' so I'll run it again now.
    Also, I had cut the vid I was playing with to just one chord (A Major) . The whole raw vid is actually all the major chords so it's a good bit longer. It's a 274 MB file.

    So much for that xvid4psp won't let me pull in the AVI without video & audio encoding.
    They are:
    XVid HQ Ultra - for the video
    MP3 CBR 128k - for the audio.
    Quote Quote  
  11. I can't get vdub to open the avs file at all.
    32-bit vdub wouldn't open it? vdub is preferred here because it doesn't waste time analyzing the file


    I want to take the full, uncompressed but deinterlaced avi into Premiere don't I?
    yes, you want a lossless format for import into premiere - so either uncompressed, or a lossless compression (e.g. lagarith, huffyuv, ut video codec). You need lots of HDD space. If you "pre-edit" and do some crops and resizes in the avs script, it will be a lot faster to encode and edit (1920x1080 is a low slower than something smaller e.g. 704x400)

    I just checked and xvid4psp offers huffyuv

    You could even use the .avs import plugin, and open .avs file directly in premiere, although editing will be slow because it's deinterlacing/processing in realtime. If you need timed edits and need audio syncing, a lossless intermediate is preferable. If you just have to crop, resize and place the 2 videos on the background, it might be a quickie shortcut
    http://videoeditorskit.sourceforge.net/
    Quote Quote  
  12. Yes, I just tried the 32 bit version, it works fine and opens the file.
    Now I've gotta figure out all those settings you taught me above
    Quote Quote  
  13. I'm done for tonite; started @ 11:00 AM, it's 1:23 AM - feel like I just took a 3 credit college course.
    I got a chance to see the full vid deinterlaced. It looks GREAT! no sound but vdub is still working.

    You were right again, vdub was *much* faster.

    Thanks for sticking with me. I NEVER would have figured all this out.
    How in the WORLD did you learn all that?

    I'll be back tomorrow if only to show you my final.
    Quote Quote  
  14. Originally Posted by MAtkins View Post
    no sound but vdub is still working.
    use mediainfo on your video to identify the audio. I suspect it's ac3, and you would need to install ac3filter, or enable ac3 in the ffdshow audio configuration. When you use DirectShowSource() as the source filter, it automatically passes audio through unless you say audio=false


    You were right again, vdub was *much* faster.

    Thanks for sticking with me. I NEVER would have figured all this out.
    How in the WORLD did you learn all that?

    I'll be back tomorrow if only to show you my final.
    I learned from making crappy videos and making mistakes, and am *still* learning from other more experienced folk. I'm very picky with quailty , and tend not to take shortcuts or tradeoffs. While it's easier to use just Adobe for everything, it doesn't necessarily give you the best quality.

    BTW , You're only scratching the surface with avisynth. It is probably the most versatile, powerful application in video
    Quote Quote  
  15. Is there any reason to use DirectShowSource and risk frame drops/desyncs? Why not use DSS2?
    Quote Quote  
  16. Originally Posted by creamyhorror View Post
    Is there any reason to use DirectShowSource and risk frame drops/desyncs? Why not use DSS2?
    That's better idea
    Quote Quote  
  17. OK, what is dss2?
    The sound is critical. These vids are for guitar lessons.
    Quote Quote  
  18. it's directshowsource2, and alternative source filter

    99% of the time it won't affect you, if you are doing a straight encode. The filters you are using are safe (it' s only temporal filters that look at few frames bwk/fwd that it becomes an issue and you might get desync, e.g. when you are doing temporal denoising)

    You need avss.dll that comes with the haali media spitter package, put that in the avisynth plugins folder. Most .dll's that are placed in the folder are auto loading, but some need to be loaded manually

    (even then, dss2 isn't completely frame accurate, you need to index it for complete frame accuracy...) but I digress....

    DSS2("0001.mts")
    #the rest of your script
    Quote Quote  
  19. I'm still not sure how to handle the sound.
    I did install MediaInfo which gave me all the information I've been trying to find by Googling Panasonic HD HS-300 specification.
    You're right again. The sound is AS-3.
    I noticed that the original file was 29.9fps but the deinterlaced (13 GIG) file was only 14fps.

    What happens when I use this line:
    DirectShowSource("c:\Vids\20100303_070409.m2ts",fp s=29.97, audio=false)

    How do I get the sound back?
    Quote Quote  
  20. Originally Posted by MAtkins View Post
    I'm still not sure how to handle the sound.
    I did install MediaInfo which gave me all the information I've been trying to find by Googling Panasonic HD HS-300 specification.
    You're right again. The sound is AS-3.
    I noticed that the original file was 29.9fps but the deinterlaced (13 GIG) file was only 14fps.

    What happens when I use this line:
    DirectShowSource("c:\Vids\20100303_070409.m2ts",fp s=29.97, audio=false)

    How do I get the sound back?
    AC3 or AS-3 ? typo right?

    instead of audio=false, use audio=true

    You should include assumefps(30000,1001) for good measure, because 29.97 fps an approximation of 30000/1001

    DirectShowSource("c:\Vids\20100303_070409.m2ts",fp s=29.97, audio=true)
    AssumeFPS(30000,1001)

    How are you determining that the file was 14fps?
    Quote Quote  
  21. Yea, it's a typo. Should the one param be fp s=29.97) or did I make another typo, should be fps=29.97
    Quote Quote  
  22. I downloaded & installed Matroska Splitter x64 but didn't see the dll you mentioned.
    Quote Quote  
  23. 32-bit ; you will find most things video are still 32-bit even in these days

    yes fps=29.97

    Chances are you can just copy the audio from your .m2ts file

    Using avisynth means it encodes to something, if you don't select compression it will be decompressed to PCM WAV
    Quote Quote  
  24. To determine that the deingterlaced output was 14fps I looked at it in Media Info.

    I installed the 32 bit haali media splitter and moved that dll into avisync plugins so it should be available now.
    Do I need to:
    LoadPlugin("c:\Program Files (x86)\Avisynth 2.5\plugins\avss.dll")

    I've installed ffdshow and configured it like you indicated above.
    Is there anything else I need to do for the sound?
    Quote Quote  
  25. So Is the sound passed through with that script? You can type info() at the end of the script and it will tell you when you preview in vdub or avsp (dont forget to comment it out before you actually encode)

    If you are using DSS2() it doesn't pass the audio, you have to use another function like NICAC3Source() and AudioDub(). You would have to demultiplex the audio from the transport stream first, using tsmuxer

    vid = DSS2("video.m2ts")
    aud = NICAC3Source("audio.ac3")
    audiodub(vid,aud)
    #DelayAudio() # in ms

    The problem is when you demultiplex the audio, sometimes you get small sync errors and have to adjust the delay with delay audio. When the audio & video are multiplexed in the transport stream , the are often not set flush. Either one or the other has a + or - delay. When you demux it, you lose that relationship.

    Chances are you would be fine with directshowsource() if you aren't doing exotic filtering , and that's what I would use in this case
    Quote Quote  
  26. directshowsource() it is.
    When you say 'actually encode' do you mean 'Save' in vdub?
    Quote Quote  
  27. Originally Posted by MAtkins View Post
    directshowsource() it is.
    When you say 'actually encode' do you mean 'Save' in vdub?
    yes, because the info() will be overlaid, hardcoded into your video, if you haven't looked at it yet, it's yellow text.

    it conveys information like the fps, audio channels etc... just to double check everything is honky dory

    so you want to comment it out when you are ready to encode
    #info()

    As I said earlier, I would also do pre-editing, like cropping and resizing for a rough edit in the script. It will encode faster, and make your life 10x easier in premiere later
    Quote Quote  
  28. I can't really crop it at this stage or I'll lose some of the video I need but I could downsize it before deinterlace.
    Would that hurt anything?
    Quote Quote  
  29. When I run info() one line says:
    'Has Audio: YES'
    'Audio Channels: 2'

    That's what I want right?

    Is there a way to finalize encode & save from avisync?
    Quote Quote  
  30. Again, you can't downsize before deinterlace (except in horizontal dimension), unless it's in an interlace aware fashion => you get horrible artifacts

    Is the camera set and the shot framed on the same area? I thought all you wanted were the hands & guitar of "video1" and "video2" like a split screen, with the grey photoshop border

    Was your original audio 2-channel or 6-channel? What did mediainfo say? Otherwise you're ready to go.

    (Another reason to preprocess it, is that Premiere's scaling isn't the best either, it's quite soft...surprise surprise... but it's not that bad when downscaling, and sometimes soft is ok for web videos)

    Also how noisy are your videos? You might want to denoise before final encode for web (helps with compression)

    BTW, If all you are doing is that (no timed edits or splices), you could do it all in avisynth with overlay()
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!