VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Hi all, i have a AVS file. Inside this file I've typed:
    Code:
    DirectShowSource("D:\des\as.mkv")
    When i try to open it up with VirtualDub I end up with this:

    General
    UniqueID/String : 212212304667628584942508057889727190168 (0x9FA69A6C2572BF358D2829BEB57E1498)
    CompleteName : D:\des\as.mkv
    Format : Matroska
    Format_Version : Version 2
    FileSize/String : 313 MiB
    Duration/String : 23mn 39s
    OverallBitRate/String : 1 851 Kbps
    Movie : x - x - x
    Encoded_Date : UTC 2012-06-25 00:41:27
    Encoded_Application : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct 9 2011 11:55:43
    Encoded_Library/String : libebml v1.2.2 + libmatroska v1.3.0
    Attachment : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

    Video
    ID/String : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format_Profile : High 10@L5.0
    Format_Settings_CABAC/String : Yes
    Format_Settings_RefFrames/String : 16 frames
    MuxingMode : Header stripping
    CodecID : V_MPEG4/ISO/AVC
    Duration/String : 23mn 39s
    Width/String : 1 280 pixels
    Height/String : 720 pixels
    DisplayAspectRatio/String : 16:9
    FrameRate_Mode/String : Constant
    FrameRate/String : 23.976 fps
    ColorSpace : YUV
    ChromaSubsampling : 4:2:0
    BitDepth/String : 10 bits
    ScanType/String : Progressive
    Title : H.264
    Encoded_Library/String : x264 core 125 r2200+677M 3a754e7
    Encoded_Library_Settings : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.80 / psy_rd=0.60:0.04 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=16.7000 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=3:0.80
    Default/String : Yes
    Forced/String : No
    Matrix coefficients : BT.709

    Audio
    ID/String : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format_Profile : LC
    CodecID : A_AAC
    Duration/String : 23mn 39s
    Channel(s)/String : 2 channels
    ChannelPositions : Front: L R
    SamplingRate/String : 48.0 KHz
    Compression_Mode/String : Lossy
    Title : Japanese 2.0 AAC
    Language/String : Japanese
    Default/String : Yes
    Forced/String : No

    Text #1
    ID/String : 3
    Format : ASS
    CodecID : S_TEXT/ASS
    CodecID/Info : Advanced Sub Station Alpha
    Compression_Mode/String : Lossless
    Title : English subtitles
    Language/String : English
    Default/String : Yes
    Forced/String : No

    Text #2
    ID/String : 4
    Format : ASS
    CodecID : S_TEXT/ASS
    CodecID/Info : Advanced Sub Station Alpha
    Compression_Mode/String : Lossless
    Title : Wapanese subtitles
    Language/String : English
    Default/String : No
    Forced/String : No

    Menu
    00:00:00.000 : en:Intro
    00:01:54.988 : en:Part A
    00:09:23.937 : en:Eyecatch
    00:09:28.358 : en:Part B
    00:21:57.148 : en:Outro
    I have installed:
    *Avsynth 2.5.8
    *FFdshow rev4422_20120409
    *MatroskaSplitter
    *VirtualDub 1.9.11


    I'm not sure what I must do in order to view this mkv file in VirtualDub. I really don't want to compress it to .avi or any other codec because this would be just useless, because of the quality loss within the conversion no matter high high you keep your bitrate, the more you keep encoding a file the more it would be jittered. So if you could suggest something else besides converting the file to .avi then importing it, it would be great.
    Last edited by AiDz0r; 26th Oct 2012 at 08:48.
    Quote Quote  
  2. Solution:
    Code:
    Only Requirements:
    *ffmpegsource
    *VirtualDub
    *Avisynth 2.5.8
     
    1- Download FFmpegSource (ffms-2.17.7z)
    2- Create a .avs file with notepad and type:
    
    LoadPlugin("C:\LOCATION\ffms2.dll") ffvideosource("C:\LOCATION\encodethisfile.mkv")
    3- Using VirtualDub you can drag and drop the file .avs after you have saved it, and it would work, also you can open the .avs with other encoders that supports avisynth. Like, RipBot.
    Quote Quote  
  3. Originally Posted by AiDz0r View Post
    I'm not sure what I must do in order to view this mkv file in VirtualDub. I really don't want to compress it to .avi or any other codec because this would be just useless, because of the quality loss within the conversion no matter high high you keep your bitrate, the more you keep encoding a file the more it would be jittered. So if you could suggest something else besides converting the file to .avi then importing it, it would be great.

    When you use avisynth, it frameserves uncompressed video & audio

    Therefore you have to re-encode it, unless you plan on keeping it uncompressed (huge sizes)


    Why are you using vdub? What do you intend to do ?
    Quote Quote  
  4. Ok don't worry, my plan was to encode/compress videos, without going through compression even more.

    So before, i needed to convert my mkv --to--> .avi --import--> (vdub compress, trim,edit) --export-->.avi.
    However, it was only to prevent further converting. So with the "ffms" plugin, you can prevent that from happening, and import files to VirtualDub, as you saw earlier I used to get green screen/errors when importing, with this plugin it works perfectly fine.

    Anyway, i've solved my problem. I'm now using RipBot: and this is my .avs file:
    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
    video = ffvideosource("D:\as.mkv")
    audio = ffaudiosource("D:\as.mkv")
    AudioDub(video, audio)
    Trim(18683,28339)
    I can straight do that, without a longer process.


    Actually I have a compressed video (mkv). But it needs to be abit more compressed/resized (trimmed), because i need to upload it to a website and only a portion of it, therefore, this was the best solution. Only involves one step.
    Last edited by AiDz0r; 26th Oct 2012 at 11:07.
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    I may be wrong but I get the 'green' screen sometimes when I import to Virtualdub, depending on the vfw codec it uses to import. The fact that you get a screen at all and not an error message says it imported ok. Just hit play(1) and it will change and not return when you move pointer back to start.

    BTW.. if you right click the green screen and change to 50% or 75 %,you will be able to see the right pane and can chage that also.

    Click image for larger version

Name:	ScreenHunter_245 Oct. 26 12.28.jpg
Views:	468
Size:	165.1 KB
ID:	14436

    Notice below the seek bar is passed start AND size changed to 50% in left pane. You can also change right pane in the same method.
    Click image for larger version

Name:	ScreenHunter_247 Oct. 26 12.28.jpg
Views:	306
Size:	354.3 KB
ID:	14437
    The green pane is just how Virtualdub displays some formats like thumbnails display differently for same video in a different format. It does not affect
    the conversion and will not show up once you move passed the start, even if moved back to start.
    Quote Quote  
  6. Yeah, i've tried that a lot times, I've played the video, re-sized, even compressed it, all i got was green and in fact disabled "use DirectX" from VirtualDub settings. None of these helped. By all means I've diagnosed and played around with it a lot and finally solved it.
    Quote Quote  
  7. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Good work. Looks like you did everything! I know I had problems with Matroska, especially version 2 and I did something similar to your fix. I just loaded FFInputDriver.vdplugin and associated folders (.svn and ffdlls) into plugins32 and pulled the matroska plugin. It Used ffmeg dll's similar avisynths after that and worked fine.
    Click image for larger version

Name:	ScreenHunter_249 Oct. 26 14.05.jpg
Views:	2117
Size:	74.9 KB
ID:	14439

    Glad you found a fix. I love Virtualdub and so far have been able to play about anything but it sometimes needs a new VFW codec if I come across a new format.
    I DO like that one step method and am definitely going to check that out.
    Thanks.
    Quote Quote  
  8. Sweet! I need someone to check my X264 option. It's for 10BIT-high bitrate anime compression I'm currently using RipBot with these options:
    --profile high10 --level 5.1 --preset veryslow --tune animation --bframes 16 --b-pyramid strict --b-adapt 2 --ref 5 --deblock -3:-3 --aud --nal-hrd vbr --vbv-bufsize 300000 --vbv-maxrate 300000 --trellis 2 --me tesa --subme 10 --weightb --aq-mode 1 --aq-strength 0.86 --analyse all --8x8dct --partitions all --direct auto --threads auto --thread-input --keyint 24 --min-keyint 2
    Is there any way to improve the quality?
    Last edited by AiDz0r; 26th Oct 2012 at 23:48.
    Quote Quote  



Similar Threads

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