New Post: Closed Captioning
New Post: SageTV Request
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
Currently converting some MCE recordings. How do I check if my GPU is being used for conversion? It seems rather slow...
I have I7-2600K and R9 290 4GB.
Thanks.
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
here is the log
This forum has non-standard layout, graphics, structure. It might be here but I had hard time finding it. Sorry.
Any pointers are appreciated.
Thanks
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
New Post: GPU/Hardware Encoding and Acceleration FAQ's
1. What platforms and devices are supported for GPU encoding
MCEBuddy supports QuickSync and OpenCL (currently through Handbrake). QuickSync is used for encoding the video and OpenCL is used to accelerate the decoding and video processing (deinterlacing, resizing, cropping etc). It can support any driver (Intel, ATI, NVidia) that support QuickSync and OpenCL2. What is the most stable driver for Intel QuickSync
The most stable driver for QuickSync we have tested is 10.18.10.3379These drivers have been uploaded for your convenience here:
32bit - https://www.dropbox.com/s/8u98nhumankk0zd/Intel_10.18.10.3379_x86.cab
64bit - https://www.dropbox.com/s/vk8q84uqjdicyov/Intel_10.18.10.3379_x64.cab
These are CAB files (taken from Windows Update) and you will need to extract the files and then manually install them. See this thread for more details (https://mcebuddy2x.codeplex.com/discussions/548361)
3. How do I know if MCEBuddy is using hardware acceleration
This is a two step process, first find out if your system and driver support hardware acceleration and then check if the encoder is using it.Open the conversion log after the conversion is complete. To check if QuickSync is supported look for the following EXACT words:
QuickSync encoding supported availble ->A True or False will tell you whether hardware encoding is being used. Right now "pure" hardware encoding is supported with QuickSync.
If your Intel QuickSync encoder is being used for encoding, in your log you will find the line
encoder: H.264 (Intel Media SDK)If this line is not there then the QuickSync hardware encoder is not being used even if your driver supports it.
To check if OpenCL is support by your driver look for the exact words in the log:
OpenCL version:If OpenCL is supported, you will need to manually enable the options (see the thread below for details) that will accelerate some functions while encoding and decoding.
4. Suddenly my encoding time is taking very long or for some video it takes a long time
Very likely your Intel driver is buggy and is causing issues. Use the version 10.18.10.3379 and it should resolve your issues. Latest drivers are not always the most stable or faster drivers.If you have a bugger driver, the symptoms may vary, from slow encoding to hanging the system, crashing the system or error messages in the logs. An example of a buggy driver or if you're running heavy graphics apps/games while using hardware encoding can take the wind out of the Intel driver and causing it to run out of resources, you might see things like this in the log:
2014-04-15T20:43:36 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 0.02 %[20:43:36] qsv_enc_init: using 'hardware (1)' implementation, API: 1.3
2014-04-15T20:43:36 MCEBuddy.AppWrapper.Handbrake --> Error code -1, av_qsv_wait_on_sync 642
2014-04-15T20:43:36 MCEBuddy.AppWrapper.Handbrake --> Error code -1, av_qsv_wait_on_sync 642
2014-04-15T20:43:36 MCEBuddy.AppWrapper.Handbrake --> Encoding: tasError code -1, av_qsv_wait_on_sync 642
2014-04-15T20:43:36 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 0.06 %not enough to have 10 sync point(s) allocated
2014-04-15T20:43:36 MCEBuddy.AppWrapper.Handbrake --> ERROR: qsv: Not enough resources allocated for QSV encode
5. My system crashes or my system hangs or I see many errors in my log file when I try to convert a video
See FAQ 4 above, if you driver is buggy it can cause unknown issues with your system, because the encoding is done in the video driver and the video driver runs in the kernel space it can use the system to become unstable or even crash. The best way to determine if the video driver is causing the issue is to TURN OFF hardware encoding on the Conversion Options -> Expert Settings and then see if the symptoms go away. If do they try to update to a stable driver.6. Is OpenCL and QuickSync hardware encoding auto enabled?
MCEBuddy will auto detect if you have an Intel QuickSync enabled chipset and enabled QuickSync encoding.-
If you have an Intel chipset and another graphics card and MCEBuddy is not detecting the QuickSync, use the FakeMonitor trick (http://mirillis.com/en/products/tutorials/action-tutorial-intel-quick-sync-setup_for_desktops.html#top) to enable the Intel graphics chipset and get MCEBuddy to recognize it.
- If you have an older CPU like a Pentium/Core/Core 2 and good graphics card from Nvidia or ATI, then you may want to add -U the end of the handbrake-video line in the profile. This will enable hardware decoding. This ONLY works if the GPU is more powerful than the CPU, it will reduce the performance on new CPU's which are much more powerful at decoding compared to graphics cards.
-
If you have a newer graphics card (very powerful) which supports OpenCL 1.1 then add -P to the end of the handbrake-video line in the profile. This works if you're using cropping reducing the video size (or the profile is using lookahead). Again, this will help only with a powerful graphics card with OpenCL drivers. If used on a weak graphics card it can reduce performance.
See this thread for more details: https://mcebuddy2x.codeplex.com/discussions/530808
7. I have an Intel chipset, does it support QuickSync and which Chipset provides the fastest performance
So far only Intel Sandy Bridge, Ivy and Haswell chipsets support QuickSync encoding. Of the three our research has shown that Ivy Chipset is the fastest of the three.You can find more details here:
http://www.tetrachromesoftware.com/q264Test1Analysis/q264test_4.html
8. My encoding is taking a long time even with hardware acceleration enabled or my FPS appears to be slow/low
Encoding performance depends upon many factors which can impact the FPS or time taken to encode. These include:- Profile being used (High Quality take more time)
- Profile bitrate, higher bitrates take more time
- Input and output resolution, HD and high resolutions take significantly longer times
- Your GPU and CPU are being used by other processes or you have multiple simultaneous conversions. Check your GPU and CPU utilization using the CPUZ and GPUZ tools while encoding
- Check your hardware chipsets being used, some chipsets are faster than others (see FAQ 7 above)
- Check your video driver, buggy or slow video drivers are the primary cause of slow encoding. See FAQ 2 and FAQ 4 above
-
Sometimes OpenCL settings are incompatible and may cause a slow down in the performance if manually enabled (see FAQ 6 above)
See these thread of more details:
https://mcebuddy2x.codeplex.com/discussions/530808
https://mcebuddy2x.codeplex.com/discussions/546041
https://mcebuddy2x.codeplex.com/discussions/548361
https://mcebuddy2x.codeplex.com/discussions/549317
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
Commented Feature: Parse Sage XML [1887]
is it possible if given to you an XML file that contains sage data ... Including the fileID and MediafiledID that you can Parse these to a variable?. I believe doing this will complete SageTV completely. This will enable SAGETV users to keep the recordings with all the details in SageTV. See below in bold. I have some full XMLS in UPLOAD\NYPLAYER
FILEID
<airing channelId="62792" duration="1800" favoriteId="79042" sageDbId="__118128__" startTime="2014-06-17T14:30:00.00Z">
MEDIAFILEID
<mediafile duration="1800" sageDbId="__145167__" startTime="2014-06-17T14:30:00.00Z" type="TV">
I could name the file using SageTV Standards.
%ismovie%<%showname% (%airyear%),%showname% - S%season%##E%episode%## - %episodename% -%fileid%-0>.
Little People, Big World - S07E05 - A Bride and a Bulldozer -__118128__-0.mkv
The %mediafileid% can be use to issue a post command to delete the original file entry from the SAGE DB (wiz.bin).
Attached are a movie and show xml
Comments: ** Comment from web user: rboy1 **
great look forward to the write up
New Post: R9 290 - how to check if MCEBuddy is using GPU/OpenCL encoding
I know the limitations of my CPU/Chipset. I was hoping that 2.3.15 will use my R9 290 GPU to provide substantial boost in FPS/Second.
Frankly, that was the main reason I spend money on it.
In any case, does the R9 290 contribute to encoding or is in only relying on Intel to the job?
New Post: Disable check for hardware encoding
Firstly let me say thank you for a truly useful piece of software. I've been a long-time user of MCEBuddy and it just keeps getting better and better.
After a long period of neglect I decided it was time to upgrade from 2.0.<something> to the latest donator release 2.3.15. I didn't want to disrupt the ongoing setup on my HTPC until I was comfortable I had the new SW running how I wanted it, so I first installed on another Windows7 machine. I have that machine working great with my preferred Handbrake-based profile which uses custom commands to load the converted file into iTunes on a mac.
I then migrated this to the HTPC and duplicated everything including the profile & mcebuddy.ini files, pointed the jobs to the right folders and away it went - until Handbrake crashed.
Here's the relevant section in the 'staging' (working) environment's log:
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> HandBrake svn6167 (2014041701) - MinGW x86_64 - http://handbrake.fr
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> 4 CPUs detected
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> Opening null...
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] CPU: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] - logical processor count: 4
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] OpenCL device #1: NVIDIA Corporation GeForce GTX 460
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] - OpenCL version: 1.1 CUDA
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] - driver version: 335.23
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] - device type: GPU
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] - supported: no
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] Intel Quick Sync Video support: no
2014-06-21T22:44:56 MCEBuddy.AppWrapper.Handbrake --> [22:44:56] hb_scan: path=null, title_index=1
You can see that it sees a GPU with v1.1 OpenCL and a CPU with no support of Intel Quick Sync. All proceeds as expected with SW-only encoding.
On the HTPC with the same input file, the log is quite different:
2014-06-21T22:07:19 MCEBuddy.AppWrapper.Handbrake --> HandBrake svn6167 (2014041701) - MinGW x86_64 - http://handbrake.fr
2014-06-21T22:07:19 MCEBuddy.AppWrapper.Handbrake --> 2 CPUs detected
2014-06-21T22:07:19 MCEBuddy.AppWrapper.Handbrake --> Opening E:\MCEBuddy_tmp\working0\Movie- Star Trek- First Contact_ELEVEN_2014_06_21_21_58_03.ts...
2014-06-21T22:07:19 MCEBuddy.AppWrapper.Handbrake --> [22:07:19] CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz
2014-06-21T22:07:19 MCEBuddy.AppWrapper.Handbrake --> [22:07:19] - logical processor count: 2
ERROR> 2014-06-21T22:07:22 MCEBuddy.Transcode.ConvertWithHandbrake --> Handbrake conversion failed
2014-06-21T22:07:22 MCEBuddy.Transcode.ConvertWithHandbrake --> Conversion: Percentage Complete 0
ERROR> 2014-06-21T22:07:22 MCEBuddy.Transcode.ConvertWithHandbrake --> Conversion of video failed
ERROR> 2014-06-21T22:07:22 MCEBuddy.Transcode.Convert --> Handbrake did not convert successfully, using fallback if configured
ERROR> 2014-06-21T22:07:22 MCEBuddy.Transcode.Convert --> Unable to convert file Movie- Star Trek- First Contact_ELEVEN_2014_06_21_21_58_03.ts using profile M4V Apple Normal MJH
You can see that as soon as it identifies my CPU it exits. The windows Event Viewer sheds some light:
Faulting application name: HandBrakeCLI.exe, version: 0.0.0.0, time stamp: 0x534f31ee
Faulting module name: amdocl64.dll, version: 10.0.1084.4, time stamp: 0x50d22720
Exception code: 0xc0000005
Fault offset: 0x0000000000062e07
Faulting process id: 0xecc
Faulting application start time: 0x01cf8d501dbf5819
Faulting application path: C:\Program Files\MCEBuddy2x\handbrake\HandBrakeCLI.exe
Faulting module path: C:\Windows\system32\amdocl64.dll
amdocl64.dll is provided by AMD as part of the drivers for my AMD graphics card in the HTPC. This is the key difference with the staging PC which has an nVidia card. I didn't expect any Hardware encoding for either machine, but it seems that if Handbrake checks for OpenCL support on the HTPC, the AMD graphics drivers cause it to crash.
I tried un-ticking the 'Hardware Encoding' setting in MCEBuddy, but no change. On the HTPC, Handbrake dies at the same point. On the Staging PC the log is still exactly the same and it still checks for OpenCL support.
I know this is an AMD bug, and MCEBuddy is not in control of whether Handbrake checks for OpenCL support or not, but I couldn't find any options in the Handbrake docs about this. Is there any way to truly disable hardware encoding AND the check for OpenCL support?
New Post: Disable check for hardware encoding
New Post: Newbie question - audio only files - ComSkip
detect_method=64
validate_silence=0
max_volume=0
In another post, someone suggested that MCEBuddy couldn't detect commercials in audio only files as it contains none of the markers normally found in broadcast video.
Has anyone had a successful experience using MCEBuddy to detect and remove commercials from audio only files?
Thanks
New Post: Meta Correction Entries
New Post: Meta Correction Entries
New Post: Meta Correction Entries
New Post: Meta Correction Entries
Updated Wiki: Home
Click here to like MCEBuddy on FaceBook
EARLY ACCESS SPECIAL OFFER
"Just wanted to let you all know that I wish I had donated earlier. Joining your Early Access Program is a more than reasonable cost for what you're offering. The latest version of MCE Buddy and Comskip are super fast and so much more accurate. Having an evening's television show(s) converted, all the commercials removed and ready to be put onto my iPad for the train commute to work in the morning is never a problem now. With the "free" version of the software, while still a solid product, sometimes the conversion was still going on the next morning and I would have to wait until the next day to watch. With your latest, 50% faster, version the conversion never goes past 2 am for a night with several TV programs I record with Windows Media Center. Thank you to everyone who worked on the project and contributed."
The work you put into MCEBuddy makes its use limitless
MCEBuddy featured on Discovery Revision3 channel
MCEBuddy 2.x
Convert Videos, Rename and Organize, Remove Commercials and Ads for your Windows Media Center, Recorded TV and any Video.
Description
Convert Videos, Remove Commercials and Ads for your Windows Media Center (WTV, DVRMS), TV Recordings (TS, MP4, MKV, AVI, WMV) and any other Video.
MCEBuddy takes your video recordings and REMOVES COMMERCIALS and Advertisements while converting your recordings into formats that are usable on other systems and portable devices. It does all of this automatically in the background with a minimum of fuss and
little technical knowledge required.
Converts from WTV, DVR-MS, TS, MPEG and many other formats. Converts to WTV, MP4 , AVI, MKV, portable devices and others. Removes Commercials. Converts in the background at scheduled times. It also integrates with your iTunes and WMP libraries to keep them
up to date.
Very easy simple user interface for basic users and an advanced options interface for power users to tweak the quality, volume, trim videos, extract subtitles, schedules, custom file renaming, eMail notifications, downloading show information from the internet,
selecting audio language and many more features.
If you have a newer computer, it provides super fast conversion using the latest generation OpenCL and QuickSync hardware encoders to reduce your conversion time from hours to minutes.
Check out the Getting Started User Guide here. More documentation here.
Features
- Remove Commercials & Advertisements
- Convert Videos and TV Recordings (HDX/HD/SD)
- Convert WTV, DVR-MS, TS, MPG, MKV, MP4, AVI, WMV, TiVO (with MAK) and more
- Shrink TV Recordings & Videos
- Schedule Conversions
- Multiple Simultaneous Conversions
- Monitor Folders (runs in the background as a lightweight service even without user logon)
- Batch processing, queue files manually (drag and drop) or monitor folders for new files
- Multi-channel Audio Support (AC3, DTS, AAC)
- Multilingual Audio Language Selection
- Multiple Audio Tracks
- Simple Controls to Skip Cropping, Limit Video Width, Volume Adjustment, Quality Adjustment and more
- Extract and Embed Closed Captions as Subtitles, burn Subtitles into the Video
- Trim Videos
- Custom File and Folder Renaming
- eMail Notifications
- Creating Chapters as Commercial Markers instead of Cutting Commercials
- Archiving, Syncing Folders and Conversions
- International/Regional Languages Support (44+ languages) and Unicode files
- Support for Accessibility (Large Fonts / DPI Scaling)
- Import converted/processed files automatically into the iTunes library and Windows Media Player (WMP) Library with categorization (TV Shows, Movie etc based on metadata)
- Supports iTunes Metadata
- Supports IMDB, MovieDB, TVDB, TV.com and advanced Metadata processing
- Convert Windows Media Center, nPVR, Media Portal, Sage TV, Argus TV, ICE TV etc with metadata support
- Supports multiple displays (TV, Monitors etc) and ultra low resolution
- Converters include support for FFMPEG, Handbrake and MEncoder
- Supports QuickSync based hardware encoder and OpenCL for Intel, NVidia and ATI graphics cards
- Supports Comskip and ShowAnalyzer
- Write Custom Commands/Programs
- Convert to WTV, MP4, MKV, AVI, M4V, TS, WMV, MPG and more
- Convert to Mobile/Portable devices (iPhone, iPad, Roku, TiVO, Kindle, FireTV, Samsung, Blackberry, Zune, iRiver, Nokia, Meizu, PSP, PS3, XBox, Zen etc)
- UPnP / NAT and Remote connections (control multiple engines from a mobile/desktop client remotely)
- Power Management Support (Allow Sleep / Prevent Sleep / Wake Up)
- Support for Windows XP (SP3), Windows Vista, Windows Server 2003/2008, Windows 7 and Windows 8
- Windows Media Center Plugin (separate installation)
Love it? Click to donate to mcebuddy2x@yahoo.com
Our Rules
#1 Focus on the user and all else will follow (thanks Google)#2 Refer to #1
Personal End User Software License
MCEBuddy 2.x is an open source software project licensed under the GNU General Public License v2. MCEBuddy 2.x End-User license is free of charge for NON-COMMERCIAL personal use.
Download MCEBuddy 2.x here
Download the Media Center Plugin here