VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hello,
    i'm new here and thought I could make a topic about vegas render settings. i'm having problems finding a good workflow that actually does what i want it to do. first of all, every codec i tried ends up getting video/audio desync after i uploaded it on youtube. in the past few days i have read and watched countless sites and tutorials but haven't come close to finally achieving something. i tried: xvid/wav, xvid/mp3 with virtualdub, sonyavc/h264/aac, x264/aac with debugmode/x264/neroaac/megui, wmv/wma. typically, the sound would get delayed for about 50 or so ms, for wmv it was significantly more. but not only that: when encoding with x264, i also get desync when playing the actual file in a media player (zoom player or vlc), in that case the audio is a bit early (but still ends up being delayed after upload to youtube. the second thing is the RGB color space problem, as far as i understand, for certain codecs you need to convert computer RGB to studio RGB so that the colors stay as they were intended after you upload to youtube. this seems to be the case only for certain codecs though. so my goal is to find a codec and workflow that will allow me to render ONE file that looks and sounds as it was intended when i play it with a media player AND that looks and sounds as intended after upload to youtube. because if i can't find such a codec, i'll end up having to make one encode for my personal backup (so that the video files can be watched outside youtube) and one encode with modified rgb levels and desynced audio for upload to youtube. and that would effectively double my time. does anyone have any thoughts or suggestions for this? thanks for your time.
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Most of the time it has to do with your input file. What kind of file are you importing into Vegas?
    Quote Quote  
  3. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    to post the details of your source video here use mediainfo in text mode and copy/paste.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  
  4. Originally Posted by Respox View Post
    the second thing is the RGB color space problem, as far as i understand, for certain codecs you need to convert computer RGB to studio RGB so that the colors stay as they were intended after you upload to youtube. this seems to be the case only for certain codecs though. so my goal is to find a codec and workflow that will allow me to render ONE file that looks and sounds as it was intended when i play it with a media player AND that looks and sounds as intended after upload to youtube
    To keep the same color space , be careful while using Avisynth, or MeGui, RipBot264 encoders and such that use it. Avisynth command
    ConvertToYV12()
    changes 0-255 to 16-235, therefore colors are going to be washed out, you need to use
    ConvertToYV12(matrix="PC.709")
    to keep full range or
    ConvertToYV12(interlaced=true, matrix="PC.709")
    if your video is interlace and you use this command before you deinterlace

    It took me a while to figure it out what part in this chain cause it:
    Vegas-frame server-avisynth-(VirtualDub)-encoder
    Quote Quote  
  5. hello,
    thanks for your replies. so, first of all, the source files vary from different camcorders, and i always delete the audio stream of the camcorder file and replace it with files from a microphone, then sync them up perfectly in vegas. if i encode that with avc within vegas (either sony avc or mainconcept avc), the files stay synced up when i play the file in a media player, but get desynced after upload to youtube. If i encode with x264 using megui, the file is desynced in a media player already, and then ends up being desynced into the other direction after upload to youtube. very weird.

    here is the mediainfo for one of the encoded files that i did with vegas/mainconcept avc (two pass)

    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42
    File size : 126 MiB
    Duration : 2mn 31s
    Overall bit rate : 6 991 Kbps
    Encoded date : UTC 2011-09-05 15:34:23
    Tagged date : UTC 2011-09-05 15:34:23

    Video
    ID : 2
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 2mn 31s
    Bit rate mode : Variable
    Bit rate : 6 475 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.234
    Stream size : 117 MiB (93%)
    Language : English

    Audio
    ID : 1
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 2mn 31s
    Bit rate mode : Constant
    Bit rate : 512 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Stream size : 9.26 MiB (7%)
    Language : English

    never mind the high audio bitrate, the desync happens with lower rates as well.

    about the color space problem, i am following this tutorial that i found the other day:
    http://www.youtube.com/watch?v=rWMX5lSvEgY
    at 4:30 he explains the color space problem. when using megui, i use this line in the avisynth script:

    ConvertToYV12(interlaced=false, matrix="PC.709")
    ColorYUV(levels="PC->TV")

    the rendered file looks washed out, but then looks perfect after uploading to youtube. my question is though if it is possible to produce a file that will look perfect both in a media player AND after upload to youtube.

    thanks for your time.
    Quote Quote  
  6. Member zoobie's Avatar
    Join Date
    Feb 2005
    Location
    Florida
    Search Comp PM
    the captured file mediainfo from your camera(s) - not your problem re-encoded file
    Last edited by zoobie; 5th Sep 2011 at 12:32.
    Quote Quote  
  7. Originally Posted by zoobie View Post
    the captured file mediainfo from your camera(s) - not your problem re-encoded file
    whoops i am sorry. i still don't see how that would affect anything, especially since the desync happens with several files from several cameras. but ok, here is one:


    Format : MPEG-4
    Format profile : QuickTime
    Codec ID : qt
    File size : 367 MiB
    Duration : 30mn 47s
    Overall bit rate : 1 665 Kbps
    Movie name/More : KODAK Zi8 Pocket Video Camera
    Encoded date : UTC 2010-04-16 08:04:08
    Tagged date : UTC 2010-04-16 08:04:08
    Origin : Digital Camera
    AMBA : 

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3.0
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Format settings, GOP : M=3, N=15
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 30mn 47s
    Bit rate mode : Variable
    Bit rate : 1 530 Kbps
    Maximum bit rate : 9 901 Kbps
    Width : 848 pixels
    Height : 480 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.125
    Stream size : 337 MiB (92%)
    Title : Ambarella AVC / Ambarella AVC
    Language : English
    Encoded date : UTC 2010-04-16 08:04:08
    Tagged date : UTC 2010-04-16 08:04:08

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 30mn 47s
    Bit rate mode : Constant
    Bit rate : 128 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 28.2 MiB (8%)
    Title : Ambarella AAC / Ambarella AAC
    Language : English

    --------------------
    --------------------

    another one from a newer camera:

    General
    ID : 1 (0x1)
    Format : BDAV
    Format/Info : Blu-ray Video
    File size : 518 MiB
    Duration : 4mn 36s
    Overall bit rate : 15.7 Mbps
    Maximum Overall bit rate : 18.0 Mbps

    Video
    ID : 4113 (0x1011)
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.0
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Format settings, GOP : M=1, N=24
    Codec ID : 27
    Duration : 4mn 36s
    Bit rate mode : Variable
    Bit rate : 14.8 Mbps
    Maximum bit rate : 16.8 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.286
    Stream size : 489 MiB (94%)

    Audio
    ID : 4352 (0x1100)
    Menu ID : 1 (0x1)
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Codec ID : 129
    Duration : 4mn 36s
    Bit rate mode : Constant
    Bit rate : 256 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Delay relative to video : -80ms
    Stream size : 8.44 MiB (2%)

    Text
    ID : 4608 (0x1200)
    Menu ID : 1 (0x1)
    Format : PGS
    Codec ID : 144
    Duration : 4mn 35s
    Delay relative to video : -80ms

    -------------------------
    -------------------------
    Quote Quote  



Similar Threads

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