VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. okay, The only thing I know about this is that it functions on a command line basis. For some reason I have not been able to reach their main site. I don't really have anything much to go on, cuz i think that's where a lot of basics are covered.
    so if anyone has any ideas as to where i can learn about this program, and apparently all the amazing plug-ins i've been hearing about, i'd be really happy.

    but, more specifically, I am having trouble resizing a video. it's not the resizing that is the problem, rather another complication when I import it into Adobe premiere. when imported, it's duration is increased by about 2 mins. I believe that that happens because it has a variable frame rate. from what I've read, you can write an Avisynth script that will change the video from VFR to a constant frame rate. other than needing to know how to do that, I'm also not sure if there are other complications that would be created by doing that. (for some reason Handbrake does not make the change in duration, but i'd like to use adobe media encoder, because i can pause it every few hours or so to go easier on my laptop)

    again, i'm really sorry for how little i know about Avisynth, also let me know if I was to vague with my information, i'm mostly after the script to convert VFR to CBR, and to know about any complications that might cause.

    thanks

    EDIT: I wasn't sure whether to put this here or in the newbie section
    Last edited by Otokonokotron; 18th Nov 2012 at 20:45.
    Quote Quote  
  2. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Welcome. It's not possible to answer all your questions in a single post. But you have to start somewhere:

    Avisynth 2.5.8 installer.
    Run the installer (take the defaults).
    Then go to START -> Programs -> Avisynth 2.5 -> Avisynth Documentation

    or start here: http://avisynth.org/mediawiki/Main_Page#New_to_AviSynth_-_start_here
    main page: http://avisynth.org/mediawiki/Main_Page

    The online help installed with Avisynth looks similar to this page: http://avisynth.org/mediawiki/BicubicResize

    You didn't give much information about the "video" you're working with, which could encompass a great many types of video sources. But frankly you're better off doing much of what you want in Avisynth than with Adobe. What you seem to want to do has more to do with conversion and restoration than with "editing".
    Last edited by sanlyn; 19th Nov 2012 at 07:32.
    Quote Quote  
  3. thank you for answering me, any help is greatly appreciated. for some reason, the only way i can view Avisynth's main site is by using google chrome and loading a cached version of the website. no one else seems to be having the problem, so... oh well. but thanks for pointing me towards the documentation part.

    EDIT: *looking at the documentation* thank you so much for this, now i can finally see the basic fundamental's of what i need to learn
    Last edited by Otokonokotron; 19th Nov 2012 at 12:18.
    Quote Quote  
  4. What is the source video from ?

    Use mediainfo (view=>text) copy & paste the information back here
    Quote Quote  
  5. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by Otokonokotron View Post
    thank you for answering me, any help is greatly appreciated. for some reason, the only way i can view Avisynth's main site is by using google chrome and loading a cached version of the website. no one else seems to be having the problem, so... oh well. but thanks for pointing me towards the documentation part.

    EDIT: *looking at the documentation* thank you so much for this, now i can finally see the basic fundamental's of what i need to learn
    You're welcome, sorry this isn't something that has a one paragraph answer . In this case it might be a good idea to start with a specific problem rather than trying to learn Avisynth all-at-once. Poisondeathray has a good suggestion, in referring to a specific video and problem. Easier to get things in motion that way.

    I don't know what the browser problem could be. I've been using Firefox exclusively for 4 years now, no problems. Good luck.
    Quote Quote  
  6. hehe well, since i'm here... ^^'''

    here's the mediainfo stuff, under the video section you can see that it has a variable frame rate:
    Code:
    General
    Complete name                            : C:\Users\Joshua\Desktop\Live Events\New folder\Miku 39's Giving Day 2010\givingdayprojectDIVA-2010.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom
    File size                                : 7.38 GiB
    Duration                                 : 1h 58mn
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 8 919 Kbps
    Encoded date                             : UTC 2010-09-07 03:47:14
    Tagged date                              : UTC 2010-09-07 03:47:14
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 1h 58mn
    Bit rate mode                            : Variable
    Bit rate                                 : 7 344 Kbps
    Maximum bit rate                         : 40.0 Mbps
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 30.846 fps
    Original frame rate                      : 29.970 fps
    Minimum frame rate                       : 29.970 fps
    Maximum frame rate                       : 59.940 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.115
    Stream size                              : 6.07 GiB (82%)
    Writing library                          : x264 core 94 r1583 7608d73
    Encoding settings                        : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=0.90:0.20 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=9 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=24.0 / qcomp=0.80 / qpmin=5 / qpmax=51 / qpstep=10 / vbv_maxrate=40000 / vbv_bufsize=30000 / crf-max=0.0 / ip_ratio=1.40 / aq=2:1.00 / nal_hrd=vbr
    Encoded date                             : UTC 2010-09-06 04:05:56
    Tagged date                              : UTC 2010-09-07 03:56:39
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    
    Audio #1
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 1h 58mn
    Bit rate mode                            : Variable
    Bit rate                                 : 446 Kbps
    Maximum bit rate                         : 478 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Compression mode                         : Lossy
    Delay relative to video                  : 67ms
    Stream size                              : 378 MiB (5%)
    Title                                    : 1
    Encoded date                             : UTC 2010-09-07 03:54:34
    Tagged date                              : UTC 2010-09-07 03:56:39
    
    Audio #2
    ID                                       : 3
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 1h 58mn
    Bit rate mode                            : Variable
    Bit rate                                 : 1 123 Kbps
    Maximum bit rate                         : 1 164 Kbps
    Channel(s)                               : 6 channels
    Channel positions                        : Front: L C R, Side: L R, LFE
    Sampling rate                            : 48.0 KHz
    Compression mode                         : Lossy
    Delay relative to video                  : 67ms
    Stream size                              : 951 MiB (13%)
    Title                                    : 2
    Encoded date                             : UTC 2010-09-07 03:55:15
    Tagged date                              : UTC 2010-09-07 03:56:39
    
    Menu
    00:00:00.000                             : ハジメテノオト
    00:02:30.483                             : Project DIVA desu. 初音ミク
    00:05:25.658                             : ワールドイズマイン 初音ミク
    00:08:23.002                             : えれ*とりっ*・えんじぇう 初音ミク
    00:14:52.057                             : 恋するVOC@LOID 初音ミク
    00:18:07.820                             : Dear cocoa girls 初音ミク
    00:21:40.299                             : StargazeR 初音ミク
    00:25:12.844                             : -挨拶-
    00:25:32.864                             : The secret garden 初音ミク
    00:28:54.099                             : メドレー ミラクルペイント 初音ミク
    00:30:07.038                             : メドレー Innocence 初音ミク
    00:31:27.552                             : メドレー ハト 初音ミク
    00:32:03.554                             : メドレー み*み*菌にご注意! 初音ミク
    00:33:16.327                             : メドレー ぽっぴっぽー 初音ミク
    00:34:14.485                             : メドレー サヨナラグッバイ 初音ミク
    00:35:21.452                             : メドレー ミラクルペイント 初音ミク
    00:37:16.400                             : -SEGA〜-
    00:37:31.582                             : ロミオとシンデレラ 初音ミク
    00:42:16.033                             : Dear 初音ミク
    00:46:52.309                             : メドレー  表ラバーズ 初音ミク
    00:49:26.296                             : メドレー パズル 初音ミク
    00:51:07.731                             : メドレー Voice 初音ミク
    00:51:49.106                             : メドレー 1月6日 初音ミク
    00:54:08.578                             : 星屑ユートピア 巡音ルカ
    00:57:23.673                             : ダブルラリアット 巡音ルカ
    01:00:50.647                             : Just Be Friends 巡音ルカ
    01:04:05.174                             : -伴奏-
    01:04:24.694                             : magnet ミク&ルカ
    01:07:30.379                             : Alice 初音ミク
    01:10:22.718                             :  なたの歌姫 初音ミク
    01:14:05.107                             : moon 初音ミク
    01:17:15.631                             : 初音ミクの消失 初音ミク
    01:19:35.771                             : -伴奏-
    01:20:18.480                             : 炉心溶解 鏡音リン
    01:24:03.638                             : ココロ 鏡音リン
    01:27:38.253                             : 右肩の蝶 リン・レン
    01:30:39.934                             : Promise ミク&リン
    01:33:44.118                             : from Y to Y 初音ミク
    01:36:48.803                             : サイハテ 初音ミク
    01:39:37.638                             : ストロボナイツ 初音ミク
    01:42:34.148                             : SPiCa 初音ミク
    01:47:22.769                             : (アンコール)合言葉 初音ミク
    01:50:32.292                             : (アンコール)メルト 初音ミク
    01:54:51.217                             : クレジット
    so basically, adobe i believe increases the duration of the video perhaps because of the VFR. here is a screencap from media encoder showing the time increase, and below it one of Handbrake, which shows now duration increase. got no idea why.

    adobe media encoder
    and
    Handbrake

    i'm concerned if changing from variable, to constant, has any effects to the video/frames that i wouldnt know of.
    Quote Quote  
  7. Originally Posted by Otokonokotron View Post

    i'm concerned if changing from variable, to constant, has any effects to the video/frames that i wouldnt know of.

    It inserts duplicate frames to roughly keep everything in sync. The side effects are it might go in /out of sync very slightly in some sections (the more variable a video, the more issues) , and it's less efficient since you're inserting duplicate (added) frames .And of course re-encoding with a lossy format means you lose quality

    A VFR video is created in the first place by dropping duplicate frames. Compared to the CFR video from which it was derived from, a VFR video will have fewer frames. Timecodes are used to keep everything in sync (the media player speeds up and slows down in sections according to the timecodes) . You're basically trying to reverse that process by adding back in frames in approximately the correct locations (it' s not perfect, hence the slightly in/out of sync issues)

    If you want it "perfect" keep it VFR. You can just use handbrake to do this, or encode it CFR and insert timecodes afterwards.
    Quote Quote  
  8. hmm, yeah, a lot of that seems over my head right now, so, i may end up using handbrake as u suggested. thanks a lot ^^ i'll just have to go learn about timecode more, it seems, if i wanna change it more accurately to a CFR.
    Quote Quote  



Similar Threads

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