Posts by dream

    So i tested some thing with FFMPEG and with this parameter i get the correct colors:

    ffmpeg -i "G:\test.mkv" -vf "scale=in_range=pc:out_range=tv" -pix_fmt yuv420p -c:v libx264 -preset ultrafast -crf 21 Output.mkv

    But this is only for a already encoded video with Vegas, because Vegas somehow set the pc range flag?

    So the solution is to tell the encoder that the input is in pc range if i understand the filter correct:

    -vf "scale=in_range=pc:out_range=tv"

    When i try to encode directly from the source file (No encoded Video from Vegas) i need to the the filter to:

    -vf "scale=in_range=tv:out_range=tv" (It depends on the source file).

    I don't know if this is possible to implement and if this is even the correct fix for this problem.

    Ok the output is still dark like the screenshots above, when using the new color space filter with:

    --range tv --colorprim bt709 --transfer bt709 --colormatrix bt709

    It seems like its a vegas problem, like steve said, because the only "encoder" who isnt that dark is x264vfw, but i don't know why.

    My knowledge is way to limited, but i know that vegas is converting all video inputs to rbg ... maybe thats a problem?

    This describes the problem exactly:…univpostid=983265&pview=t

    So i think i need to apply the "levels" filter everytime :/

    I now also notice the much darker colors for the output-

    Before Voukouder i used x264vfw with these additional commands (Extra command line):

    --range tv --colorprim bt709 --transfer bt709 --colormatrix bt709

    With these commands i get proper colors/brightness (I think --range tv is the important one?)

    When i use the Vegas Pro effect levels preset: "Computer-RGB to Studio-RGB", the colors looks correct with voukouder (slightly different when i compare it directly to the x264vfw output).

    Anbei der Log.

    MediaInfo von der Quelldatei (Aufgenommen mit OBS):

    Aber wie bereits erwähnt, gibt es die Probleme auch mit anderen Quelldateien.



    folgendes ist mir bei Videos die länger länger als ein paar Sekunden sind aufgefallen:

    Der Sound wird im MPC-HC oder VLC Media Player nicht abgespielt, wenn man mitten in das fertig codierte Video reinspult.

    Ab und zu fehlt der Sound auch beim normalen starten des Videos.

    Dabei war es egal, welche Kombination von Encoder (x264,nvenc), audio codec oder Container genommen habe.

    Die Art des Videos hat auch keine rolle gespielt: Direkt heruntergeladene Youtube Videos die man weiterverarbeitet und danach codiert oder Aufnahmen mit OBS.

    Ich muss die Tage mal schauen, ob ich Zeit habe genaue Daten von den Quelldateien etc. zu senden, allerdings wirkt es nach einen Voukoder Problem, da das Problem mit anderen Codecs oder FFMPEG x264 oder x264vfw über Vegas nicht auftritt und verschiedene Quelldateien versucht wurden. Das Problem kann auch behoben werden, indem ich mit MKVToolNix die Soundspur entferne und manuell eine Soundspur vom Vegas Projekt hinzumuxxe.


    when i used HEVC_NVENC with FFMPEG, i used the commandline from De-M-oN (i think you know which forum), which works very good and should be similar to crf from x264:

    ffmpeg -i "<path to video> or avisynth script" -vcodec hevc_nvenc -pix_fmt p010le -preset slow -profile:v main10 -tier high -rc:v vbr_hq -b:v 0 -qmin 10 -qmax 19 -rc-lookahead 60 -spatial_aq 1 -aq-strength 7 -weighted_pred 1 "<output.mkv>"

    The only things that are missing in Voukoder (Please correct me if im wrong) are these commands, that are important for this method:

    -rc:v vbr_hq -b:v 0 -qmin 10 -qmax 19

    Would be nice, if you could make it possible to use this "method".


    two things i noticed for the audio codecs in Vegas Pro 15.

    1. Unable to open audio encoder: flac

    When i try to encode with flac, the encoding process is instantly closing. I tried different video codecs with default settings, but i can only encode without flac.

    This is the output from the log:

    [13:40:28] Opening codec: libx264 with options:
    [13:40:28] Opening codec: flac with options:
    [13:40:28] Failed opening codec: flac
    [13:40:28] Unable to open audio encoder: flac
    [13:40:28] Closing encoders ...

    2. ACC and Vorbis don't save settings

    1. When i use AAC as audio encoder the bitrate always resets to 96 kbit/s (default), even when i try to save it as a template
    2. Same thing for Vorbis with "Constant Quality" strategy. The "Average Bitrate" strategy will be saved correctly.