How to use ffmpeg in uwp?

MrDesign 21 Reputation points

I developed a software with electron. It needs ffmpeg, but when I package it into appx, I won't be able to use ffmpeg.

let FFmpegPath = path.resolve(AppPath, "FFmpeg");  
let FFMPEGPATH = path.resolve(FFmpegPath, "ffmpeg");  
let FFPROBEPATH = path.resolve(FFmpegPath, "ffprobe");  
let FFoption_V = '"'+FFPROBEPATH+'"' + " -i " +'"'+ path.normalize(PATH)+'"' + " -show_streams -select_streams v -of json";  
EXEC_V = C_PRO.execSync(FFoption_V);  

This is the information I found, but it doesn't seem to work for electron:

<Package xmlns=""  
      <rescap:Capability Name="runFullTrust"/>  
          <desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe">  
                  <desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/>  
                  <desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/>  
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
27,188 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,826 Reputation points

    Welcome to Microsoft Q&A!

    Currently, Microsoft Q&A supports the products listed over here: supported topics (more to be added later on). Your question about ffmpeg is not supported yet now. You could ask about this in ffmpeg related forums.

    Thank you.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful