VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Hi
    a cat here,

    however

    please can you help me!?

    I need to re-save (in batch mode) a single .jpg source to a .TGA file with alpha channel

    I need to do the process via commandline so I need a suitable tool that do this via commandline

    thanks
    Quote Quote  
  2. Did you want a "dummy" alpha channel, with alpha channel value of 255 ?

    for %a in ("*.jpg") do ffmpeg -i "%a" -vf format=bgra -c:v targa -frames:v 1 "%~na.tga"
    Quote Quote  
  3. the commandline works but my program don't parse the tga outputted from ffmpeg (Cannot read from the compressed image), so is there an alternative to ffmpeg?
    Quote Quote  
  4. Try adding -rle 0

    Code:
    Encoder targa [Truevision Targa image]:
        General capabilities: dr1
        Threading capabilities: none
        Supported pixel formats: bgr24 bgra rgb555le gray pal8
    targa AVOptions:
      -rle               <int>        E..V....... Use run-length compression (from 0 to 1) (default 1)
    Quote Quote  
  5. oh it works
    Quote Quote  



Similar Threads

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