Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: FFMPeg Locking Files

  1. #1
    Join Date
    Mar 2012
    Posts
    227

    Default FFMPeg Locking Files

    This just started recently happening. I am using the Mezzmo client on Roku, but I doubt that is the cause.

    When I stream a movie using Mezzmo, I can't move it to a new location until after I restart the Media Server service. It says that the file is open in ffmpeg.exe and won't let me do anything with it. I've already checked and the file isn't being transcoded. It doesn't even work once I start viewing a different movie.

  2. #2
    Join Date
    Sep 2009
    Posts
    1,991

    Default

    Can you please run Windows Task Manager when this occurs to see if there are any ffmpeg.exe processes running? It is possible that the transcoding is still occuring in the background even though in Mezzmo it is not reported.

    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
    227

    Default

    Quote Originally Posted by Peter View Post
    Can you please run Windows Task Manager when this occurs to see if there are any ffmpeg.exe processes running? It is possible that the transcoding is still occuring in the background even though in Mezzmo it is not reported.
    There are definitely multiple instances of FFMPeg.exe running in the background.

    The files are h.264 MP4 files, which the Roku can play natively, do I doubt that they are being transcoded. In any event, I just tried moving files thhat I played yesterday and it still said that they were open in MezzmoMediaService. I don't think, even if they were transcoding, that they would be for over 24 hours.

  4. #4
    Join Date
    Mar 2012
    Posts
    227

    Default

    Quote Originally Posted by ftanner View Post
    There are definitely multiple instances of FFMPeg.exe running in the background.

    The files are h.264 MP4 files, which the Roku can play natively, do I doubt that they are being transcoded. In any event, I just tried moving files thhat I played yesterday and it still said that they were open in MezzmoMediaService. I don't think, even if they were transcoding, that they would be for over 24 hours.
    Interestingly, after I posted this, all of the instances of FFMpeg.exe are no longer showing up in Task Manager, however, the still won't copy, with the same message.

  5. #5
    Join Date
    Sep 2009
    Posts
    1,991

    Default

    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.

    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

  6. #6
    Join Date
    Mar 2012
    Posts
    227

    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.

  7. #7
    Join Date
    Sep 2009
    Posts
    1,991

    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

  8. #8
    Join Date
    Mar 2012
    Posts
    227

    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.

  9. #9
    Join Date
    Sep 2009
    Posts
    1,991

    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

  10. #10
    Join Date
    Mar 2012
    Posts
    227

    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.

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, 02:58 PM
  2. update to ffmpeg!
    By darkopsy in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 12-28-2014, 08:47 AM
  3. FFMPeg
    By ftanner in forum Mezzmo Wish List and Feedback
    Replies: 5
    Last Post: 05-27-2014, 06: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, 06: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, 01: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
  •