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

Thread: FFMpeg takes 100% CPU

  1. #1

    Smile FFMpeg takes 100% CPU

    Hi Support Team,

    I'm using Mezzmo demo version on WindowsHomeServer2011 on HP-N40L server and whenever Mezzmo transcode any files FFMpeg takes up 100% CPU and FFMPeg process hangs around in the processes list until I stop Mezzmo server and start again.

    For few vedio files I have stuttering on my TV unit specially while it transcode any 720 or 1080P MKV files and FFMPeg takes 100% CPU on the box while its trying to transcode. Once FFMepg takes 100% CPU my over computer slows down and crash.

    I have Panasonic Viera (TH-P46GT30A) 46" Plasma which is DLNA capable TV unit and Fritzbox Gigabit router however my TV unit connects via Wireless N 5GH Channels so I have strongest signal. My HP-NN40L is connected to router via 1GB wired connection as well. Tried to have best possible setup. Practically I won't able to run a cable to my TV unit.

    Troubleshooting:

    1. I tired to change different Panasonice profile in media device but neither of them worked properly but currently my defualt profile which i have selected is Panasonic Viera 2011 models.
    2. Turn off pre-transcoding option for any files which my TV unit doesn't support, but still FFMPeg hangs around in the Process chewing up 100% CPU.
    3.By turnning of pre-trascoding TV wouldn't play the files which are supportedy by TV unit which is obviouse but than Mezzmo is not been utilize to its fullest as it doesn't work as it mean to.
    4.Deleted TV profle and set it again but no luck.

    Could you please advice what could be wrong and why Mezzmo (FFMPeg) takes 100% CPU, have stuttering videos?

    Please help.

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,639

    Default

    Thanks for your detailed post. It's best we see a set of logs to determine what is the reason for the stuttering. Please enable logging (see this thread: http://forum.conceiva.com/showthread...nostic-logging) then start your Mezzmo server and connect to Mezzmo from your TV and stream a video file that you know will stutter. Once it starts stuttering, stop your Mezzmo server, zip up all the logs and send them us at support [at] conceiva [dot] com.

    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

    Default

    Thanks Paul for your quick response, I will enable the debuging today and try to get the logs, zip it and send it to support@conceiva.com

  4. #4

    Default

    Hi Paul,

    I'm sending the logs files to support@conceiva.com which you have requested for further debugging.

    I tried 4 different MKV files like 1080P & 720P however all the files stutter while it streams on TV and FFMpeg also take 100% CPU.

    Please advice what needs to be done in order to make this work.

    Thanks for help, its very much appriciated.

  5. #5

    Default

    hi Paul,

    Alternately you can download the logs from RapidShare.

    https://rapidshare.com/#!download|73...|Logs.rar|1930

  6. #6
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,639

    Default

    Thanks for the logs. We will analyze them and reply via e-mail.

    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

    Default

    Hi Paul,

    I tried you suggestion by pretranscoding one of the smaller file and than played on the TV which got played successfully.

    I have detected the main issue, my device profile - Panasonic Viera (20011, NTSC) is transcoding each and every file in my library even though it should not transcode the file as *.MKV, *.AVI, etc files because they are natively supported by my TV.

    My device profile doesn't ignore the file extension which are supported by my TV unit and does transcoding for all files. So in order to remediate that issue I have turn off "Transcode incompitatible media files so they can be played on the device" by going in Media Device > Selected Panasonic Viera (2011 Model, NTSC) > Edit> Device Settings > Transcoing > uncheck the above option which i mentioned.

    By doing this I don't see anymore FFMPeg which takes 100% CPU as it doesn't transcode majority of files neither I have stuttering issues playing those files on my TV. Now my 90% of files can be played successfully on my TV.

    Now problem is I can't play those incomptible files (like MP4, etc) on my TV unit since i have turned off the option.

    Could you please suggest the tweak so Mezzmo can recognise the which extesnion needs to be transcoded or played natively for my TV unit, for the files which are incompitable so I will try to pretranscode them in advance before I stream them?

    I do realise my dual core cpu could not cope up to transcode the files over the fly and has to be pre-transcode them before streaming.

    I dont understand why Mezzmo is not ignoring all the file type extensions (Even though selected the right device profile) which are natively supported by TV and does transcoding for all files which cuase more problems lik 100% CPU and stuttering.

    Please advice.

  8. #8
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,639

    Default

    When you turn off transcoding, Mezzmo just delivers all the files natively to your TV and your TV decides if it can play them or not.

    Since your TV can play 90% of your MKV and AVI files, please tell me the FFmpeg information for some of these files and we can tweak the device profile to match this support. To get FFmpeg information, right-click on the file in mezzmo and click 'Get FFmpeg Information'. Either post it here or send to us at support [at] conceiva [dot] com. We will then email you a tweaked device profile.

    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

  9. #9

    Default

    I have extracted FFMPeg information for couple of working 720P-MKV, 1080-MKV, AVI, M2TS files which are natively played on the TV, aslo included the FFMPEG information for MP4 file which should be transcoded and played on TV.

    I have sent the attachment to support@conceiva.com.

    Alternatley you can download it from the rapidshare.

    https://rapidshare.com/files/1700872104/FFMpeg.rar
    Last edited by nebula; 03-23-2012 at 10:38 AM.

  10. #10

    Default

    1080P MKV File:
    ffmpeg version N-36036-ga40f43d, Copyright (c) 2000-2011 the FFmpeg developers
    built on Dec 22 2011 13:44:49 with gcc 4.6.2
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/media/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/dennis/cc/include --extra-ldflags=-L/home/dennis/cc/lib --pkg-config=pkg-config --disable-w32threads
    libavutil 51. 32. 0 / 51. 32. 0
    libavcodec 53. 46. 1 / 53. 46. 1
    libavformat 53. 27. 0 / 53. 27. 0
    libavdevice 53. 4. 0 / 53. 4. 0
    libavfilter 2. 53. 0 / 2. 53. 0
    libswscale 2. 1. 0 / 2. 1. 0
    Input #0, matroska,webm, from 'E:\ServerFolders\Videos\Hugo.2011.1080p.BluRay.X2 64-AMIABLE\Hugo.2011.1080p.BluRay.X264-AMIABLE.mkv':
    Duration: 02:06:20.99, start: 0.000000, bitrate: 9910 kb/s
    Chapter #0.0: start 0.000000, end 575.533000
    Metadata:
    title : 00:00:00.000
    Chapter #0.1: start 575.533000, end 1040.665000
    Metadata:
    title : 00:09:35.533
    Chapter #0.2: start 1040.665000, end 1412.911000
    Metadata:
    title : 00:17:20.665
    Chapter #0.3: start 1412.911000, end 1834.541000
    Metadata:
    title : 00:23:32.911
    Chapter #0.4: start 1834.541000, end 2306.262000
    Metadata:
    title : 00:30:34.541
    Chapter #0.5: start 2306.262000, end 2856.270000
    Metadata:
    title : 00:38:26.262
    Chapter #0.6: start 2856.270000, end 3337.543000
    Metadata:
    title : 00:47:36.270
    Chapter #0.7: start 3337.543000, end 3823.695000
    Metadata:
    title : 00:55:37.543
    Chapter #0.8: start 3823.695000, end 4366.862000
    Metadata:
    title : 01:03:43.695
    Chapter #0.9: start 4366.862000, end 4799.169000
    Metadata:
    title : 01:12:46.862
    Chapter #0.10: start 4799.169000, end 5230.100000
    Metadata:
    title : 01:19:59.169
    Chapter #0.11: start 5230.100000, end 5583.495000
    Metadata:
    title : 01:27:10.100
    Chapter #0.12: start 5583.495000, end 6161.280000
    Metadata:
    title : 01:33:03.495
    Chapter #0.13: start 6161.280000, end 6827.779000
    Metadata:
    title : 01:42:41.280
    Chapter #0.14: start 6827.779000, end 7198.441000
    Metadata:
    title : 01:53:47.779
    Chapter #0.15: start 7198.441000, end 7580.990000
    Metadata:
    title : 01:59:58.441
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default)
    Stream #0:2(eng): Subtitle: text
    At least one output file must be specified


    ---> DB Level Info: 41, 100
    ---> Frame rate: 23.98
    ---> Aspect ratio: 16:9

Similar Threads

  1. FFMPEG 100% CPU by transcoding
    By species81 in forum Mezzmo Questions and Support
    Replies: 8
    Last Post: 02-01-2012, 09:11 AM
  2. 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
  3. Takes two tries to get music played
    By Grundfuttock in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 06-14-2011, 06:49 PM
  4. FFMpeg Crash
    By Tony in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 11-08-2010, 09:10 AM
  5. Mezzmo server sometimes takes 10-20 mins to show up
    By RMerlin in forum Mezzmo Questions and Support
    Replies: 10
    Last Post: 04-28-2010, 06:38 AM

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
  •