question

MrDesign-4450 avatar image
0 Votes"
MrDesign-4450 asked NicoZhu-MSFT edited

How to use ffmpeg in uwp?

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:https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-extensions

 <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
          xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
          xmlns:rescap=
 "http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
          xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
   ...
   <Capabilities>
       <rescap:Capability Name="runFullTrust"/>
   </Capabilities>
   <Applications>
     <Application>
       <Extensions>
           <desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe">
               <desktop:FullTrustProcess>
                   <desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/>
                   <desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/>
               </desktop:FullTrustProcess>
            </desktop:Extension>
       </Extensions>
     </Application>
   </Applications>
 </Package>

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT answered NicoZhu-MSFT edited

Hello,
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.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.