User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: FFMpeg Object: Synchronous Video Player

  1. #11
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    667
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MGilbas View Post
    Here it is (Drop a random video with a name "NGGYU" into the folder. Couldn't attach it due to its large size)

    Attachment 32527

    And here are results of changing width and height on my end:

    Attachment 32528
    Attachment 32529
    Attachment 32530

    Also apparently videos continue to play even when the app is paused which sometimes crashes it for me.

    Attachment 32531
    Hmm, it's due to a stupid typo, passed both x scale in, sorry for that.



    Please check the latest commit in repo.
    If you don't familiar with how to use GitHub, you can just simply download entire repo:



    then copy files under Extensions/FFMpeg/ToInstall/Files to fusion root.

  2. #12
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Dec 2018
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by defisym View Post
    Hmm, it's due to a stupid typo, passed both x scale in, sorry for that.



    Please check the latest commit in repo.
    If you don't familiar with how to use GitHub, you can just simply download entire repo:



    then copy files under Extensions/FFMpeg/ToInstall/Files to fusion root.
    Thanks a lot, everything's working perfectly now!

  3. #13
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    667
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    B230420

    https://github.com/defisym/OpenFusio.../FFMpeg_230420

    Bug fix
    - fix big buffer sync issue
    - fix stretch issue

    Enhancement
    - auto update props to avoid audio stops playing

  4. #14
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    667
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    B230520

    https://github.com/defisym/OpenFusio.../FFMpeg_230520

    New feature
    - Set override codec to force extension to use it, e.g., use libvpx to support alpha channel of WebM files

    Bug fix
    - Fix SDL_Mixer pause when loading new video. old packet queue will block audio thread and which causes pause gap when SDL_Mixer is playing, as both shares the same backend. use spin lock to get rid of that pause.
    - crash if video file has no audio channel

    Enhancement
    - Add popup for deprecated Force no audio checkbox.

  5. #15
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    667
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    B230620

    https://github.com/defisym/OpenFusio.../FFMpeg_230620

    New feature
    - Get override codec name
    - Reset display

    Bug fix
    - Pause in debugger or using pause action won't pause audio
    - fix external clock sync issue
    - fix clean cache crash if cache is empty

    Enhancement
    - ForceNoAudio is not marked as deprecated as external sync is fixed

  6. #16
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Darkhog's Avatar
    Join Date
    Jan 2009
    Location
    /dev/null
    Posts
    502
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    So is it beta? And if so, what are known issues not currently fixed?

    Really need that object as lack of ability to play modern video formats is one of the few issues I have with Fusion.

  7. #17
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    667
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Darkhog View Post
    So is it beta? And if so, what are known issues not currently fixed?

    Really need that object as lack of ability to play modern video formats is one of the few issues I have with Fusion.
    I'm using it in my game, and it seems to be fine for most cases. AFAIK:

    - Hardware decoding is not rendered to surface directly; it has a copy routine so it's not fully hardware. You may get performance issues if playing multiple files together.
    - For some video formats you need to set override codec names to play properly, e.g., default codec will ignore webm's alpha channel.
    - Decrypt stream didn't implemented so if you are playing encrypted large files it will take more time to load, and may crash if file is too big to put in memory, but usually it's fast enough.

  8. #18
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleFirefly 3D Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Add the ability to open network streams as well as files

    Hello,

    Is it possible to add the ability to open network streams instead of just files?

    I would very much like to be able to open rtsp streams (that has username and password in the link) as well as MPEG-TS UDP Multicast streams.

  9. #19
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    667
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Decal View Post
    Hello,

    Is it possible to add the ability to open network streams instead of just files?

    I would very much like to be able to open rtsp streams (that has username and password in the link) as well as MPEG-TS UDP Multicast streams.
    FFMpeg supports open from URL, but this object is designed to decode synchronously, to make sure there is something to display without gap.
    Tested and it do can open but soon app freezes due to current packet queue & sync didn't take this case into account.
    So it's a bit complex to implement this, using the multi-thread way ffplay uses, which means rewrite most parts of it.
    Anyway, it's open source, you can implement it and open PRs

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Advanced Player Video
    By volgot in forum SWF/Flash Export Module Version 2.0
    Replies: 11
    Last Post: 19th October 2012, 02:04 AM
  2. Advanced video player
    By Jymswiss in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 10th October 2012, 08:25 PM
  3. Advanced video player
    By imothep85 in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 13th March 2012, 04:45 PM
  4. Advanced Video Player
    By Stephen in forum SWF/Flash Extensions
    Replies: 0
    Last Post: 17th May 2011, 04:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •