Results 1 to 10 of 18

Thread: FFMPeg Locking Files

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2012
    Posts
    420

    Default

    Quote Originally Posted by Peter View Post
    I think the ffmpeg.exe instances might be from generating thumbnail preview images, this is done for files so that when fast forwarding a preview of the video at that time is shown. Once the ffmpeg.exe instance is closed the server should no longer keep the file open, we will test here to see if we can reproduce the problem.
    Another thing that I checked was to see if there were any "Processing playlist" items in the Mezzmo interface. I didn't see any.

  2. #2
    Join Date
    Sep 2009
    Posts
    2,682

    Default

    I tried to reproduce the problem here by playing a file on the Roku then stopping it and going to the file on disk and moving it to another folder, the file was moved without any locking issues. Then I tried playing the file from the new location and then moving it back to the old folder and it was reported that the file was open in ffmpeg.exe and could not be moved but once ffmpeg.exe completed I could move the file.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3
    Join Date
    Mar 2012
    Posts
    420

    Default

    Quote Originally Posted by Peter View Post
    I tried to reproduce the problem here by playing a file on the Roku then stopping it and going to the file on disk and moving it to another folder, the file was moved without any locking issues. Then I tried playing the file from the new location and then moving it back to the old folder and it was reported that the file was open in ffmpeg.exe and could not be moved but once ffmpeg.exe completed I could move the file.
    I couldn't move it after FFMPeg completed. Not sure what to tell you. I only know what I am experiencing. I even let it sit overnight in case something weird were happening and it STILL didn't move.. It still said it was in use by the Mezzmo Media Server service.

  4. #4
    Join Date
    Sep 2009
    Posts
    2,682

    Default

    Did you play the file to the end or just try it as I did to play part of the file? MezzmoMediaServer.exe keeps the file open while the device is requesting bytes so possibly if it gets to the end something different is happening than if you stop it partway through.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  5. #5
    Join Date
    Mar 2012
    Posts
    420

    Default

    Quote Originally Posted by Peter View Post
    Did you play the file to the end or just try it as I did to play part of the file? MezzmoMediaServer.exe keeps the file open while the device is requesting bytes so possibly if it gets to the end something different is happening than if you stop it partway through.
    I played them most of the way through, stopping just about the time that the credits came on.

  6. #6
    Join Date
    Sep 2009
    Posts
    2,682

    Default

    Thanks, we will try this here to see if we can reproduce the problem. As a test could you please try playing a file for a few seconds then stop it and see if you can move the file on disk?

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  7. #7
    Join Date
    Mar 2012
    Posts
    420

    Default

    Quote Originally Posted by Peter View Post
    Thanks, we will try this here to see if we can reproduce the problem. As a test could you please try playing a file for a few seconds then stop it and see if you can move the file on disk?
    Played for 60 seconds and gave it a shot. No joy. Something interesting, I paid attention to it while it did it, is that it goes all of the way through the move cycle one time and the file shows up in the other location. When it goes through the "second cycle", which I am presuming is the delete from the original location, it fails and says "Try Again" or "Cancel". Try Again fails.

Similar Threads

  1. android app locking stream to device with password
    By stewart in forum Mezzmo Wish List and Feedback
    Replies: 14
    Last Post: 12-21-2016, 03:58 PM
  2. update to ffmpeg!
    By darkopsy in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 12-28-2014, 09:47 AM
  3. FFMPeg
    By ftanner in forum Mezzmo Wish List and Feedback
    Replies: 5
    Last Post: 05-27-2014, 07:45 AM
  4. Really want to like it BUT ! ffmpeg.exe 90-100% CPU
    By cad12 in forum Mezzmo Questions and Support
    Replies: 8
    Last Post: 10-19-2011, 07:10 PM
  5. Use FFmpeg to tag Audio files
    By Silvos in forum Mezzmo Wish List and Feedback
    Replies: 5
    Last Post: 03-08-2011, 02:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

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