VideoHelp Forum

Try DVDFab and copy Ultra HD Blu-rays and DVDs! Or rip iTunes movies and music! Download free trial !
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 35
Thread
  1. Hello I have a question that bothers me.
    I work a lot in the development of APP

    Sometimes I need to make video editing in some project.
    With after effect, it's easy to use an Apple codec (.Mov) to get Alpha Chanel on render video.

    It allows me to use an ALPHA layer for background.
    Very useful in some context of FX.
    But the issue is that!
    the .mov are rarely compatible with some engine and if yes, is very low compression.!

    My big question, is there any other container or codec that can allow the Alpha layer?
    I would like to be able to use a video X.264 or H.265 or other, with a transparent background,
    do you have any suggestion or an answer to bring me?

    Thank you very much for your answers.

    PS: I would like to try integrate a video with transparent background in an HTML project that uses Pixi.js
    also Node.JS
    Last edited by djmisterjon; 28th Jul 2017 at 02:08.
    Quote Quote  
  2. Which app, which engine, which software, which platform do you need compatibility with ?

    A workaround might be to use 2 layers (one with alpha matte) . For example ,some browsers use this "hack" method for HTML5

    besides MOV formats (you can use animation codec, or PNG in MOV) :

    image sequences support alpha channel (exr, png, tiff)

    some codecs with avi container formats support alpha with lossless compression (eg. lagarith, ut video codec), some near-lossless eg. cineform . But "AVI" is more windows friendly, less mac and linux friendly format.

    vp9 supports alpha (webm), but only on some versions of chrome . Wide support for HTML5 alpha isn't there yet (use the matte hack)
    Quote Quote  
  3. Originally Posted by poisondeathray View Post
    vp9 supports alpha (webm), but only on some versions of chrome . Wide support for HTML5 alpha isn't there yet (use the matte hack)
    webm suport Alpha ! ho thank is the only format licence for node.js avaible.
    I will give a try
    i use staxrip for convert.
    If you know how i can convert a .mov (with alpha) to .webm (with alpha) /
    Il will check this.

    thank a lot for fast

    and yes i know the way with animation sprite cheet , with png

    and my node JS app use Chromius so will try vp9
    Last edited by djmisterjon; 28th Jul 2017 at 02:10.
    Quote Quote  
  4. There should be examples/instructions on google/chrome support websites

    I check every few months and just now checked - and alpha displays correctly in firefox 53 now too, so maybe it's becoming more widely supported

    I haven't had a chance to test in detail or on different OS , or other browsers but it should be something like this
    eg. (no audio)
    Code:
    ffmpeg -i input.mov -c:v libvpx-vp9 -pix_fmt yuva420p  -an output.webm
    Quote Quote  
  5. I have just passed several tests, but I can not.
    The footage always plays with a background.



    Originally Posted by poisondeathray View Post
    Code:
    ffmpeg -i input.mov -c:v libvpx-vp9 -pix_fmt yuva420p  -an output.webm
    Originally Posted by poisondeathray View Post
    Which app, which engine, which software, which platform do you need compatibility with ?

    vp9 supports alpha (webm), but only on some versions of chrome . Wide support for HTML5 alpha isn't there yet (use the matte hack)
    do i miss somthing in the conversion ?
    Here is the actual convertion proprety from .mov(alpha) to VP9(alpha?)
    I note that VP9 does not seem to take rgba

    Code:
    -c:v libvpx-vp9 -speed 3 -threads 8 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -aspect 5 -an -y -hide_banner

    here the code i use to insert video in the projet
    Code:
            
    var videoTexture = PIXI.Texture.fromVideo('video/3e453h.webm'); // video dir
            var vidControl = videoTexture.baseTexture.source; //control video
            var videoSprite = new PIXI.Sprite(videoTexture); // inject video in sprite
    i have acces to some method here
    https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement

    I do not know if it's a property that needs to be activated, or just my conversion that is not good.
    thank a lot for help

    here the original file .mov, if soem can try to get alpha with.
    https://mega.nz/#!9AghRRzC!rSRuDAYw8ZBnrWXFDLizHDZfO65SSkTafcFmybfEIIA
    Last edited by djmisterjon; 30th Jul 2017 at 05:33.
    Quote Quote  
  6. i also try with this parameter
    -pix_fmt rgba

    but is not work
    Last edited by djmisterjon; 30th Jul 2017 at 06:22.
    Quote Quote  
  7. Yes, only yuva420p (4:2:0 subsampled with alpha) is supported, not RGBA . You might need to specify -pix_fmt yuva420p explicitly as in the example commandline above, staxrip might have discarded the alpha

    vp9 with valid alpha works in FF 53+ ok

    Code:
    ffmpeg -i "test alpha fire.mov" -pix_fmt yuva420p -c:v libvpx-vp9 -crf 18 -b:v 0 test_alpha_fire.webm
    Image Attached Files
    Quote Quote  
  8. Originally Posted by poisondeathray View Post
    Yes, only yuva420p (4:2:0 subsampled with alpha) is supported, not RGBA . You might need to specify -pix_fmt yuva420p explicitly as in the example commandline above, staxrip might have discarded the alpha

    vp9 with valid alpha works in FF 53+ ok

    Code:
    ffmpeg -i "test alpha fire.mov" -pix_fmt yuva420p -c:v libvpx-vp9 -crf 18 -b:v 0 test_alpha_fire.webm
    Oh thank a lot friend!, your file work in my project. !!!
    But I just test your command line above, and unfortunately it does not work.
    How have you perform this in this software.
    I started learn staxrip , so I confessam little bite lost one !!
    It would be really great if you could guide me.

    i need to put the command line here ?
    Quote Quote  
  9. I used ffmpeg directly

    I don't use staxrip, but it looks like the command -pix_fmt yuva420p is passed in your screenshot

    Is there a log file anywhere ? Post the log file

    It might be that the bundled ffmpeg version in staxrip isn't using up to date libvpx
    Quote Quote  
  10. Originally Posted by poisondeathray View Post

    It might be that the bundled ffmpeg version 3.3.2 in staxrip isn't using up to date libvpx
    ok i just got download last one and replace the ffmpeg.exe by the new version.
    in \StaxRip-x64-1.5.0.0\Apps\ffmpeg
    but not seem work, i have alway black background after encode

    Code:
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          _________ __                __________.__        
         /   _____//  |______  ___  __\______   \__|_____  
         \_____  \\   __\__  \ \  \/  /|       _/  \____ \ 
         /        \|  |  / __ \_>    < |    |   \  |  |_> >
        /_______  /|__| (____  /__/\_ \|____|_  /__|   __/ 
                \/           \/      \/       \/   |__|   
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                            Environment
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    StaxRip    : 1.5.0.0
    Windows    : Windows 10 Pro 1703
    Language   : French (Canada)
    CPU        : Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    GPU        : NVIDIA GeForce GTX 1070
    Resolution : 1920 x 1080
    DPI        : 120
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Source file MediaInfo
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    C:\Users\jonle\Desktop\test01.mov
    
    General
    Complete name               : C:\Users\jonle\Desktop\test01.mov
    Format                      : MPEG-4
    Format profile              : QuickTime
    Codec ID                    : qt   2005.03 (qt  )
    File size                   : 1.08 MiB
    Duration                    : 2 s 583 ms
    Overall bit rate mode       : Variable
    Overall bit rate            : 3 505 kb/s
    Encoded date                : UTC 2016-10-16 23:57:18
    Tagged date                 : UTC 2016-10-16 23:57:21
    Writing library             : Apple QuickTime
    ©TIM                        : 0
    ©TSC                        : 12
    ©TSZ                        : 1
    
    Video
    ID                          : 1
    Format                      : PNG
    Format/Info                 : Portable Network Graphic
    Codec ID                    : png
    Duration                    : 2 s 583 ms
    Bit rate mode               : Variable
    Bit rate                    : 1 750 kb/s
    Width                       : 1 444 pixels
    Height                      : 624 pixels
    Display aspect ratio        : 2.35:1
    Frame rate mode             : Constant
    Frame rate                  : 12.000 FPS
    Compression mode            : Lossless
    Bits/(Pixel*Frame)          : 0.162
    Stream size                 : 552 KiB (50%)
    Title                       : Обработчик видео Apple / Обработчик псевдонимов Apple
    Language                    : English
    Encoded date                : UTC 2016-10-16 23:57:18
    Tagged date                 : UTC 2016-10-16 23:57:21
    
    Audio
    ID                          : 2
    Format                      : PCM
    Format settings, Endianness : Little
    Format settings, Sign       : Signed
    Codec ID                    : sowt
    Duration                    : 2 s 583 ms
    Source duration             : 2 s 917 ms
    Bit rate mode               : Constant
    Bit rate                    : 1 536 kb/s
    Channel(s)                  : 2 channels
    Channel positions           : Front: L R
    Sampling rate               : 48.0 kHz
    Bit depth                   : 16 bits
    Stream size                 : 484 KiB (44%)
    Source stream size          : 547 KiB (49%)
    Title                       : Обработчик звука Apple / Обработчик псевдонимов Apple
    Language                    : English
    Encoded date                : UTC 2016-10-16 23:57:18
    Tagged date                 : UTC 2016-10-16 23:57:21
    
    Other
    ID                          : 3
    Type                        : Time code
    Format                      : QuickTime TC
    Duration                    : 2 s 583 ms
    Time code of first frame    : 00:00:00:00
    Time code, striped          : Yes
    Title                       : Обработчик временного кода / Обработчик псевдонимов Apple
    Language                    : English
    Encoded date                : UTC 2016-10-16 23:57:21
    Tagged date                 : UTC 2016-10-16 23:57:21
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                 Demux audio using ffmpeg 3.2.2 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\jonle\Desktop\test01.mov" -vn -sn -y -hide_banner -c:a pcm_s16le "C:\Users\jonle\Desktop\test01_temp\test01 ID2 English Обработчик звука Apple _ Обраб.wav"
    
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006524a0] Using non-standard frame rate 12/1
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\jonle\Desktop\test01.mov':
    Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2016-10-16T23:57:18.000000Z
    Duration: 00:00:02.58, start: 0.000000, bitrate: 3504 kb/s
    Stream #0:0(eng): Video: png (png  / 0x20676E70), rgba(pc), 1444x624 [SAR 2834:2834 DAR 361:156], 1750 kb/s, 12 fps, 12 tbr, 12 tbn, 12 tbc (default)
    Metadata:
    creation_time   : 2016-10-16T23:57:18.000000Z
    handler_name    : ���������� ����������� Apple
    encoder         : PNG
    timecode        : 00:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
    creation_time   : 2016-10-16T23:57:18.000000Z
    handler_name    : ���������� ����������� Apple
    timecode        : 00:00:00:00
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
    creation_time   : 2016-10-16T23:57:21.000000Z
    handler_name    : ���������� ����������� Apple
    timecode        : 00:00:00:00
    Stream mapping:
    Stream #0:1 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
    Press [q] to stop, [?] for help
    Output #0, wav, to 'C:\Users\jonle\Desktop\test01_temp\test01 ID2 English Обработчик звука Apple _ Обраб.wav':
    Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf57.76.100
    Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
    creation_time   : 2016-10-16T23:57:18.000000Z
    handler_name    : ���������� ����������� Apple
    timecode        : 00:00:00:00
    encoder         : Lavc57.102.100 pcm_s16le
    size=     487kB time=00:00:02.59 bitrate=1536.2kbits/s speed=200x
    video:0kB audio:487kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.015641%
    
    Start:    11:01:46
    End:      11:01:47
    Duration: 00:00:01
    
    General
    Complete name               : C:\Users\jonle\Desktop\test01_temp\test01 ID2 English Обработчик звука Apple _ Обраб.wav
    Format                      : Wave
    File size                   : 487 KiB
    Duration                    : 2 s 597 ms
    Overall bit rate mode       : Constant
    Overall bit rate            : 1 536 kb/s
    Writing application         : Lavf57.76.100
    
    Audio
    Format                      : PCM
    Format settings, Endianness : Little
    Format settings, Sign       : Signed
    Codec ID                    : 1
    Duration                    : 2 s 597 ms
    Bit rate mode               : Constant
    Bit rate                    : 1 536 kb/s
    Channel(s)                  : 2 channels
    Sampling rate               : 48.0 kHz
    Bit depth                   : 16 bits
    Stream size                 : 487 KiB (100%)
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                        Index with ffmsindex
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\Plugins\both\ffms2\ffmsindex.exe" C:\Users\jonle\Desktop\test01.mov C:\Users\jonle\Desktop\test01_temp\test01.ffindex
    
    Writing index... done.
    
    Start:    11:01:47
    End:      11:01:48
    Duration: 00:00:00
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Script
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    LoadPlugin("C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\Plugins\both\ffms2\ffms2.dll")
    FFVideoSource("C:\Users\jonle\Desktop\test01.mov", colorspace = "YV12", \
                  cachefile = "C:\Users\jonle\Desktop\test01_temp\test01.ffindex")
    ConvertToYV12()
    BicubicResize(1440, 624, 0, 0.5)
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                         Script Properties
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    source frame count : 31
    source frame rate  : 12.000048
    source duration    : 00:00:02.5830000
    target frame count : 31
    target frame rate  : 12.000048
    target duration    : 00:00:02.5830000
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                Encoding VP9 using ffmpeg 3.2.2 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\ffmpeg\ffmpeg.exe" -i C:\Users\jonle\Desktop\test01_temp\test01.avs -c:v libvpx-vp9 -speed 1 -threads 8 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -pix_fmt yuva420p -an -y -hide_banner C:\Users\jonle\Desktop\test01_temp\test01_out.mkv
    
    Input #0, avisynth, from 'C:\Users\jonle\Desktop\test01_temp\test01.avs':
    Duration: 00:00:02.58, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1440x624, 12 fps, 12 tbr, 12 tbn, 12 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
    Press [q] to stop, [?] for help
    [libvpx-vp9 @ 000000000243a1e0] v1.6.1
    Output #0, matroska, to 'C:\Users\jonle\Desktop\test01_temp\test01_out.mkv':
    Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Video: vp9 (libvpx-vp9) (VP90 / 0x30395056), yuva420p, 1440x624, q=-1--1, 200 kb/s, 12 fps, 1k tbn, 12 tbc
    Metadata:
    encoder         : Lavc57.102.100 libvpx-vp9
    Side data:
    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    video:38kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.757689%
    
    Start:    11:03:05
    End:      11:03:20
    Duration: 00:00:14
    
    General
    Complete name        : C:\Users\jonle\Desktop\test01_temp\test01_out.mkv
    Format               : Matroska
    Format version       : Version 4 / Version 2
    File size            : 41.6 KiB
    Duration             : 2 s 583 ms
    Overall bit rate     : 132 kb/s
    Writing application  : Lavf57.76.100
    Writing library      : Lavf57.76.100 / Lavf57.76.100
    ErrorDetectionType   : Per level 1
    
    Video
    ID                   : 1
    Format               : VP9
    Codec ID             : V_VP9
    Duration             : 2 s 583 ms
    Bit rate             : 129 kb/s
    Width                : 1 440 pixels
    Height               : 624 pixels
    Display aspect ratio : 2.35:1
    Frame rate mode      : Constant
    Frame rate           : 12.000 FPS
    Bits/(Pixel*Frame)   : 0.012
    Stream size          : 40.8 KiB (98%)
    Writing library      : Lavc57.102.100 libvpx-vp9
    Default              : Yes
    Forced               : No
    DURATION             : 00:00:02.583000000
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                  Muxing using mkvmerge 12.0.0 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\MKVToolNix\mkvmerge.exe" -o C:\Users\jonle\Desktop\test01.webm --no-audio --no-subs --no-chapters --no-attachments --no-track-tags --no-global-tags C:\Users\jonle\Desktop\test01_temp\test01_out.mkv --global-tags C:\Users\jonle\Desktop\test01_temp\test01_tags.xml --ui-language en
    
    mkvmerge v12.0.0 ('Trust / Lust') 64bit
    Automatically enabling WebM compliance mode due to destination file name extension.
    'C:\Users\jonle\Desktop\test01_temp\test01_out.mkv': Using the demultiplexer for the format 'Matroska'.
    'C:\Users\jonle\Desktop\test01_temp\test01_out.mkv' track 0: Using the output module for the format 'VP8/VP9'.
    The file 'C:\Users\jonle\Desktop\test01.webm' has been opened for writing.
    The cue entries (the index) are being written...
    Multiplexing took 0 seconds.
    
    Start:    11:03:20
    End:      11:03:21
    Duration: 00:00:01
    
    General
    Complete name        : C:\Users\jonle\Desktop\test01.webm
    Format               : WebM
    Format version       : Version 4 / Version 2
    File size            : 45.6 KiB
    Duration             : 2 s 583 ms
    Overall bit rate     : 145 kb/s
    Encoded date         : UTC 2017-07-30 15:03:21
    Writing application  : mkvmerge v12.0.0 ('Trust / Lust') 64bit
    Writing library      : libebml v1.3.4 + libmatroska v1.4.5
    
    Video
    ID                   : 1
    Format               : VP9
    Codec ID             : V_VP9
    Duration             : 2 s 583 ms
    Bit rate             : 132 kb/s
    Width                : 1 440 pixels
    Height               : 624 pixels
    Display aspect ratio : 2.35:1
    Frame rate mode      : Constant
    Frame rate           : 12.000 FPS
    Bits/(Pixel*Frame)   : 0.012
    Stream size          : 41.6 KiB (91%)
    Default              : Yes
    Forced               : No
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                            Job Complete
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    Start:    11:03:05
    End:      11:03:21
    Duration: 00:00:16
    i add file Befor .Mov
    and after .webm

    .webm not have alpha work !
    Image Attached Files
    Last edited by djmisterjon; 30th Jul 2017 at 10:15.
    Quote Quote  
  11. Code:
    FFVideoSource("C:\Users\jonle\Desktop\test01.mov", colorspace = "YV12", \
                  cachefile = "C:\Users\jonle\Desktop\test01_temp\test01.ffindex")
    ConvertToYV12()
    This is your problem, it's discarding the alpha channel . It's using avisynth in the backend. It's sending YV12 (4:2:0, no alpha) to ffmpeg. You need to force it to keep RGBA until it gets sent to ffmpeg
    Quote Quote  
  12. Can you edit the avs script in staxrip ? is there an avs script editing utility ?

    Or, can you force another decoder ? In your screenshot for the GUI it says Decoder: avisynth/ vapoursynth . What are the other options ?
    Quote Quote  
  13. yes i have a choice at start when import


    but they seem have all same script code !

    if try Automatique, is look like that
    And if i force other mode i look at that.
    Is javascript ???
    Quote Quote  
  14. Do you have to use staxrip ?

    I think you would have to make a custom template so it doesn't convert to YV12 automatically (thus discarding the alpha)

    Maybe you can get stax to help out. Stax (the author) posts at doom9 and I think here too

    Or just use ffmpeg directly, or maybe a different GUI
    Quote Quote  
  15. e.g. For FFVideosource basically you would need colorspace = "RGB32" (in avisynth RGBA is denoted by RGB32) instead of "YV12" , and erase the ConvertToYV12() line . If you can rename the template or save a different one, so you don't overwrite the existing one

    For LSmash you would need format = "RGB32", and erase the ConvertToYV12() line
    Quote Quote  
  16. Originally Posted by poisondeathray View Post
    e.g. For FFVideosource basically you would need colorspace = "RGB32" (in avisynth RGBA is denoted by RGB32) instead of "YV12" , and erase the ConvertToYV12() line . If you can rename the template or save a different one, so you don't overwrite the existing one

    For LSmash you would need format = "RGB32", and erase the ConvertToYV12() line
    i try
    Code:
    FFVideoSource("%source_file%", colorspace = "YV24", \
                  cachefile = "%source_temp_file%.ffindex")
    ConvertToYV24()
    i also try
    Code:
    FFVideoSource("%source_file%", colorspace = "RGB32", \
                  cachefile = "%source_temp_file%.ffindex")
    is not work


    Code:
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          _________ __                __________.__        
         /   _____//  |______  ___  __\______   \__|_____  
         \_____  \\   __\__  \ \  \/  /|       _/  \____ \ 
         /        \|  |  / __ \_>    < |    |   \  |  |_> >
        /_______  /|__| (____  /__/\_ \|____|_  /__|   __/ 
                \/           \/      \/       \/   |__|   
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                            Environment
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    StaxRip    : 1.5.0.0
    Windows    : Windows 10 Pro 1703
    Language   : French (Canada)
    CPU        : Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    GPU        : NVIDIA GeForce GTX 1070
    Resolution : 1920 x 1080
    DPI        : 120
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Source file MediaInfo
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    C:\Users\jonle\Desktop\test01.mov
    
    General
    Complete name               : C:\Users\jonle\Desktop\test01.mov
    Format                      : MPEG-4
    Format profile              : QuickTime
    Codec ID                    : qt   2005.03 (qt  )
    File size                   : 1.08 MiB
    Duration                    : 2 s 583 ms
    Overall bit rate mode       : Variable
    Overall bit rate            : 3 505 kb/s
    Encoded date                : UTC 2016-10-16 23:57:18
    Tagged date                 : UTC 2016-10-16 23:57:21
    Writing library             : Apple QuickTime
    ©TIM                        : 0
    ©TSC                        : 12
    ©TSZ                        : 1
    
    Video
    ID                          : 1
    Format                      : PNG
    Format/Info                 : Portable Network Graphic
    Codec ID                    : png
    Duration                    : 2 s 583 ms
    Bit rate mode               : Variable
    Bit rate                    : 1 750 kb/s
    Width                       : 1 444 pixels
    Height                      : 624 pixels
    Display aspect ratio        : 2.35:1
    Frame rate mode             : Constant
    Frame rate                  : 12.000 FPS
    Compression mode            : Lossless
    Bits/(Pixel*Frame)          : 0.162
    Stream size                 : 552 KiB (50%)
    Title                       : Обработчик видео Apple / Обработчик псевдонимов Apple
    Language                    : English
    Encoded date                : UTC 2016-10-16 23:57:18
    Tagged date                 : UTC 2016-10-16 23:57:21
    
    Audio
    ID                          : 2
    Format                      : PCM
    Format settings, Endianness : Little
    Format settings, Sign       : Signed
    Codec ID                    : sowt
    Duration                    : 2 s 583 ms
    Source duration             : 2 s 917 ms
    Bit rate mode               : Constant
    Bit rate                    : 1 536 kb/s
    Channel(s)                  : 2 channels
    Channel positions           : Front: L R
    Sampling rate               : 48.0 kHz
    Bit depth                   : 16 bits
    Stream size                 : 484 KiB (44%)
    Source stream size          : 547 KiB (49%)
    Title                       : Обработчик звука Apple / Обработчик псевдонимов Apple
    Language                    : English
    Encoded date                : UTC 2016-10-16 23:57:18
    Tagged date                 : UTC 2016-10-16 23:57:21
    
    Other
    ID                          : 3
    Type                        : Time code
    Format                      : QuickTime TC
    Duration                    : 2 s 583 ms
    Time code of first frame    : 00:00:00:00
    Time code, striped          : Yes
    Title                       : Обработчик временного кода / Обработчик псевдонимов Apple
    Language                    : English
    Encoded date                : UTC 2016-10-16 23:57:21
    Tagged date                 : UTC 2016-10-16 23:57:21
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Script
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    LoadPlugin("C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\Plugins\both\ffms2\ffms2.dll")
    FFVideoSource("C:\Users\jonle\Desktop\test01.mov", colorspace = "RGB32", \
                  cachefile = "C:\Users\jonle\Desktop\test01_temp\test01.ffindex")
    BicubicResize(1440, 624, 0, 0.5)
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                         Script Properties
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    source frame count : 31
    source frame rate  : 12.000048
    source duration    : 00:00:02.5830000
    target frame count : 31
    target frame rate  : 12.000048
    target duration    : 00:00:02.5830000
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                Encoding VP9 using ffmpeg 3.2.2 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\ffmpeg\ffmpeg.exe" -i C:\Users\jonle\Desktop\test01_temp\test01edeeeeee.avs -c:v libvpx-vp9 -speed 1 -threads 8 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -pix_fmt yuva420p -an -y -hide_banner C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_out.mkv
    
    Input #0, avisynth, from 'C:\Users\jonle\Desktop\test01_temp\test01edeeeeee.avs':
    Duration: 00:00:02.58, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 1440x624, 12 fps, 12 tbr, 12 tbn, 12 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
    Press [q] to stop, [?] for help
    [libvpx-vp9 @ 00000000027da0e0] v1.6.1
    Output #0, matroska, to 'C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_out.mkv':
    Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Video: vp9 (libvpx-vp9) (VP90 / 0x30395056), yuva420p, 1440x624, q=-1--1, 200 kb/s, 12 fps, 1k tbn, 12 tbc
    Metadata:
    encoder         : Lavc57.102.100 libvpx-vp9
    Side data:
    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    video:38kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 105.158096%
    
    Start:    12:07:02
    End:      12:07:10
    Duration: 00:00:08
    
    General
    Complete name        : C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_out.mkv
    Format               : Matroska
    Format version       : Version 4 / Version 2
    File size            : 78.2 KiB
    Duration             : 2 s 583 ms
    Overall bit rate     : 248 kb/s
    Writing application  : Lavf57.76.100
    Writing library      : Lavf57.76.100 / Lavf57.76.100
    ErrorDetectionType   : Per level 1
    
    Video
    ID                   : 1
    Format               : VP9
    Codec ID             : V_VP9
    Duration             : 2 s 583 ms
    Bit rate             : 243 kb/s
    Width                : 1 440 pixels
    Height               : 624 pixels
    Display aspect ratio : 2.35:1
    Frame rate mode      : Constant
    Frame rate           : 12.000 FPS
    Bits/(Pixel*Frame)   : 0.023
    Stream size          : 76.6 KiB (98%)
    Writing library      : Lavc57.102.100 libvpx-vp9
    Default              : Yes
    Forced               : No
    DURATION             : 00:00:02.583000000
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                  Muxing using mkvmerge 12.0.0 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\MKVToolNix\mkvmerge.exe" -o C:\Users\jonle\Desktop\test01edeeeeee.webm --no-audio --no-subs --no-chapters --no-attachments --no-track-tags --no-global-tags C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_out.mkv --global-tags C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_tags.xml --ui-language en
    
    mkvmerge v12.0.0 ('Trust / Lust') 64bit
    Automatically enabling WebM compliance mode due to destination file name extension.
    'C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_out.mkv': Using the demultiplexer for the format 'Matroska'.
    'C:\Users\jonle\Desktop\test01_temp\test01edeeeeee_out.mkv' track 0: Using the output module for the format 'VP8/VP9'.
    The file 'C:\Users\jonle\Desktop\test01edeeeeee.webm' has been opened for writing.
    The cue entries (the index) are being written...
    Multiplexing took 0 seconds.
    
    Start:    12:07:10
    End:      12:07:10
    Duration: 00:00:00
    
    General
    Complete name        : C:\Users\jonle\Desktop\test01edeeeeee.webm
    Format               : WebM
    Format version       : Version 4 / Version 2
    File size            : 82.2 KiB
    Duration             : 2 s 583 ms
    Overall bit rate     : 261 kb/s
    Encoded date         : UTC 2017-07-30 16:07:10
    Writing application  : mkvmerge v12.0.0 ('Trust / Lust') 64bit
    Writing library      : libebml v1.3.4 + libmatroska v1.4.5
    
    Video
    ID                   : 1
    Format               : VP9
    Codec ID             : V_VP9
    Duration             : 2 s 583 ms
    Bit rate             : 244 kb/s
    Width                : 1 440 pixels
    Height               : 624 pixels
    Display aspect ratio : 2.35:1
    Frame rate mode      : Constant
    Frame rate           : 12.000 FPS
    Bits/(Pixel*Frame)   : 0.023
    Stream size          : 76.8 KiB (93%)
    Default              : Yes
    Forced               : No
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                            Job Complete
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    Start:    12:07:02
    End:      12:07:10
    Duration: 00:00:08
    grrrr lol !
    Quote Quote  
  17. Try LSmashVideoSource() , also delete the cache files and index

    They both should work, they both return RGB32 automatically, you actually don't need to force a colorspace or format

    For example,
    FFVideoSource("PATH\test alpha fire.mov")
    will return RGB32 automatically with valid alpha

    Same with
    LSmashVideoSource("PATH\test alpha fire.mov")


    When debugging or testing alpha channel , you should always test with color sample , because if you have "white" such as in 2nd example, the RGB combined can be used as the alpha (it's like viewing the alpha directly in AE). So try it on the fire example
    Quote Quote  
  18. Yes it works with avs to ffmpeg here

    lsmash.avs
    Code:
    LSmashVideoSource("PATH\test alpha fire.mov")
    ffmpeg encode
    Code:
    ffmpeg -i "lsmash.avs" -pix_fmt yuva420p -c:v libvpx-vp9 -crf 18 -b:v 0 lsmash.webm

    lsmash doesn't require an index for MP4/MOV, so it's usually the preferred source filter for those formats in avisynth over ffms2

    But this test demonstrates that avisynth is passing the alpha channel correctly. (In avisynth you can use info() to see it's RGB32, and showalpha() to see the alpha channel directly, like in AE)
    Image Attached Files
    Quote Quote  
  19. test01.mov was PNG in MOV (not QTRLE in MOV), but it works ok too

    lsmash_test01.avs
    Code:
    LSmashVideoSource("PATH\test01.mov")
    ffmpeg encode, no audio (-an)
    Code:
    ffmpeg -i "lsmash_test01.avs" -pix_fmt yuva420p -c:v libvpx-vp9 -crf 18 -b:v 0 -an lsmash_test01.webm
    Image Attached Files
    Quote Quote  
  20. ok i use the fire.mov
    i try replace the line with
    LSMASHVideoSource("C:\Users\jonle\Desktop\testFire 01.mov")
    i delete befor convert all the cache

    Code:
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          _________ __                __________.__        
         /   _____//  |______  ___  __\______   \__|_____  
         \_____  \\   __\__  \ \  \/  /|       _/  \____ \ 
         /        \|  |  / __ \_>    < |    |   \  |  |_> >
        /_______  /|__| (____  /__/\_ \|____|_  /__|   __/ 
                \/           \/      \/       \/   |__|   
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                            Environment
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    StaxRip    : 1.5.0.0
    Windows    : Windows 10 Pro 1703
    Language   : French (Canada)
    CPU        : Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    GPU        : NVIDIA GeForce GTX 1070
    Resolution : 1920 x 1080
    DPI        : 120
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Source file MediaInfo
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    C:\Users\jonle\Desktop\testFire01.mov
    
    General
    Complete name            : C:\Users\jonle\Desktop\testFire01.mov
    Format                   : MPEG-4
    Format profile           : QuickTime
    Codec ID                 : qt   2005.03 (qt  )
    File size                : 3.07 MiB
    Duration                 : 958 ms
    Overall bit rate mode    : Variable
    Overall bit rate         : 26.9 Mb/s
    Encoded date             : UTC 2017-07-30 10:07:18
    Tagged date              : UTC 2017-07-30 10:07:20
    Writing library          : Apple QuickTime
    ©TIM                     : 00:00:00:00
    ©TSC                     : 24
    ©TSZ                     : 1
    
    Video
    ID                       : 1
    Format                   : RLE
    Format/Info              : Run-length encoding
    Codec ID                 : rle
    Duration                 : 958 ms
    Bit rate mode            : Variable
    Bit rate                 : 18.1 Mb/s
    Width                    : 1 000 pixels
    Height                   : 200 pixels
    Display aspect ratio     : 5.000
    Frame rate mode          : Constant
    Frame rate               : 24.000 FPS
    Color space              : RGBA
    Bit depth                : 8 bits
    Scan type                : Progressive
    Bits/(Pixel*Frame)       : 3.773
    Stream size              : 2.07 MiB (67%)
    Language                 : English
    Encoded date             : UTC 2017-07-30 10:07:18
    Tagged date              : UTC 2017-07-30 10:07:18
    
    Other
    ID                       : 2
    Type                     : Time code
    Format                   : QuickTime TC
    Duration                 : 958 ms
    Time code of first frame : 00:00:00:00
    Time code, striped       : Yes
    Language                 : English
    Encoded date             : UTC 2017-07-30 10:07:18
    Tagged date              : UTC 2017-07-30 10:07:18
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Script
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    LoadPlugin("C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
    LSMASHVideoSource("C:\Users\jonle\Desktop\testFire01.mov")
    BicubicResize(992, 192, 0, 0.5)
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                         Script Properties
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    source frame count : 23
    source frame rate  : 24.000000
    source duration    : 00:00:00.9580000
    target frame count : 23
    target frame rate  : 24.000000
    target duration    : 00:00:00.9580000
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                Encoding VP9 using ffmpeg 3.2.2 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\ffmpeg\ffmpeg.exe" -i C:\Users\jonle\Desktop\testFire01_temp\testFire01.avs -c:v libvpx-vp9 -speed 1 -threads 8 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -pix_fmt yuva420p -aspect 5 -an -y -hide_banner C:\Users\jonle\Desktop\testFire01_temp\testFire01_out.mkv
    
    Input #0, avisynth, from 'C:\Users\jonle\Desktop\testFire01_temp\testFire01.avs':
    Duration: 00:00:00.96, start: 0.000000, bitrate: 1 kb/s
    Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 992x192, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
    Press [q] to stop, [?] for help
    [libvpx-vp9 @ 0000000004436360] v1.6.1
    Output #0, matroska, to 'C:\Users\jonle\Desktop\testFire01_temp\testFire01_out.mkv':
    Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Video: vp9 (libvpx-vp9) (VP90 / 0x30395056), yuva420p, 992x192 [SAR 30:31 DAR 5:1], q=-1--1, 200 kb/s, 24 fps, 1k tbn, 24 tbc
    Metadata:
    encoder         : Lavc57.102.100 libvpx-vp9
    Side data:
    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    video:11kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 121.819893%
    
    Start:    12:39:06
    End:      12:39:08
    Duration: 00:00:02
    
    General
    Complete name        : C:\Users\jonle\Desktop\testFire01_temp\testFire01_out.mkv
    Format               : Matroska
    Format version       : Version 4 / Version 2
    File size            : 25.3 KiB
    Duration             : 959 ms
    Overall bit rate     : 216 kb/s
    Writing application  : Lavf57.76.100
    Writing library      : Lavf57.76.100 / Lavf57.76.100
    ErrorDetectionType   : Per level 1
    
    Video
    ID                   : 1
    Format               : VP9
    Codec ID             : V_VP9
    Duration             : 958 ms
    Width                : 992 pixels
    Height               : 192 pixels
    Display aspect ratio : 5.000
    Frame rate mode      : Constant
    Frame rate           : 24.000 FPS
    Writing library      : Lavc57.102.100 libvpx-vp9
    Default              : Yes
    Forced               : No
    DURATION             : 00:00:00.959000000
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                  Muxing using mkvmerge 12.0.0 x64
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    "C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\MKVToolNix\mkvmerge.exe" -o C:\Users\jonle\Desktop\testFire01.webm --no-audio --no-subs --no-chapters --no-attachments --no-track-tags --no-global-tags C:\Users\jonle\Desktop\testFire01_temp\testFire01_out.mkv --global-tags C:\Users\jonle\Desktop\testFire01_temp\testFire01_tags.xml --ui-language en
    
    mkvmerge v12.0.0 ('Trust / Lust') 64bit
    Automatically enabling WebM compliance mode due to destination file name extension.
    'C:\Users\jonle\Desktop\testFire01_temp\testFire01_out.mkv': Using the demultiplexer for the format 'Matroska'.
    'C:\Users\jonle\Desktop\testFire01_temp\testFire01_out.mkv' track 0: Using the output module for the format 'VP8/VP9'.
    The file 'C:\Users\jonle\Desktop\testFire01.webm' has been opened for writing.
    The cue entries (the index) are being written...
    Multiplexing took 0 seconds.
    
    Start:    12:39:08
    End:      12:39:08
    Duration: 00:00:00
    
    General
    Complete name        : C:\Users\jonle\Desktop\testFire01.webm
    Format               : WebM
    Format version       : Version 4 / Version 2
    File size            : 29.5 KiB
    Duration             : 959 ms
    Overall bit rate     : 252 kb/s
    Encoded date         : UTC 2017-07-30 16:39:08
    Writing application  : mkvmerge v12.0.0 ('Trust / Lust') 64bit
    Writing library      : libebml v1.3.4 + libmatroska v1.4.5
    
    Video
    ID                   : 1
    Format               : VP9
    Codec ID             : V_VP9
    Duration             : 958 ms
    Width                : 992 pixels
    Height               : 192 pixels
    Display aspect ratio : 5.000
    Frame rate mode      : Constant
    Frame rate           : 24.000 FPS
    Default              : Yes
    Forced               : No
    
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                            Job Complete
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    Start:    12:39:06
    End:      12:39:08
    Duration: 00:00:02
    is not work !!.
    But is strange because it create a cache.mkv during the encoding !
    I do not understand that it is so complicated!
    it is not logical.

    ps: Yes i test my file with AE for the alpha result
    Quote Quote  
  21. I noticed you had a resize in there, but it works too with resize, alpha is kept and properly in the avs script

    The log looks ok to me, I don't see anything wrong.

    Maybe need to call stax in , or use another program.

    Avisynth isn't necessary, ffmpeg can do everything, resize etc... Using it only would be faster because less overhead
    Quote Quote  
  22. so its like that , and i delete cach befor !
    Quote Quote  
  23. Can you post the last encoded video from staxrip "testFire01.webm"
    Quote Quote  
  24. Originally Posted by poisondeathray View Post
    I noticed you had a resize in there, but it works too with resize, alpha is kept and properly in the avs script

    The log looks ok to me, I don't see anything wrong.

    Maybe need to call stax in , or use another program.

    Avisynth isn't necessary, ffmpeg can do everything, resize etc... Using it only would be faster because less overhead
    i would like try ffmpeg.exe but is look like very old ms-dos programme lol !
    If a double click i have not sofware open !
    Only ms-dos , and it auto-close ?
    How this sowfware work ?
    Quote Quote  
  25. ffmpeg is a command line program . yes like dos. You open a console box and enter commands.

    But stax should work, it's using the same programs .... it's just a GUI for avisynth , ffmpeg and a bunch of command line programs
    Quote Quote  
  26. Originally Posted by poisondeathray View Post
    ffmpeg is a command line program . yes like dos. You open a console box and enter commands.

    But stax should work, it's using the same programs .... it's just a GUI for avisynth , ffmpeg and a bunch of command line programs
    I made a small video.
    Maybe it could help identify what I'm doing wrong !?
    Here's how I proceed.
    I do not think I am mistaken in the process.
    All seems logical.
    I absolutely do not understand !!

    https://youtu.be/xYRAF_k3oZE
    Quote Quote  
  27. I asked stax to have a look at it.

    Because the individual programs, avisynth ,ffmpeg or ffmpeg alone work fine , and I see nothing wrong with the latest log file
    Quote Quote  
  28. The only thing I can think of is a problem with that ffmpeg version, or libvpx version, because the log file says it's passing RGBA (BGRA) from avisynth.

    Try replacing it with a zeranoe version, older versions are archived too
    https://ffmpeg.zeranoe.com/builds/

    The version I was using was dated 2017.06.15 . The libvpx was 1.6.0. The one you had in the log file was 1.6.1.
    Quote Quote  
  29. also check the avs script

    Find the location where it's saved

    Add ShowAlpha() , and save it with different name , like test.avs

    Code:
    LoadPlugin("C:\Users\jonle\APP Portable\StaxRip-x64-1.5.0.0\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
    LSMASHVideoSource("C:\Users\jonle\Desktop\testFire01.mov")
    BicubicResize(992, 192, 0, 0.5)
    ShowAlpha()
    open test.avs in vdub, do you see white/black alpha like in AE ?

    it should look something like this when you view the alpha directly. If it does, there is nothing wrong with your avisynth install, or your lsmash version, and the problem is downstream, such as ffmpeg version, or libvpx version

    Image
    [Attachment 42476 - Click to enlarge]
    Last edited by poisondeathray; 30th Jul 2017 at 12:56.
    Quote Quote  



Similar Threads