chessdragon136 677 Posted February 2, 2015 Share Posted February 2, 2015 (edited) Hi all, Edit: I have created a document which contains screenshots of the playable media pages from manuals - these are what the app will work to https://onedrive.live.com/redir?resid=34188BEEC92DC33C!70258&authkey=!AAVab1PELg7uExk&ithint=folder%2cdocx This morning I spend an hour and now have a separate file which controls which codecs, resolutions, bitrates... are playable without transcoding, and I have now split this down per Model of tv (well, at the moment it is D series and default, which means all others, but ideally a switch needs to be added for each series) The file can be found on GitHub here: https://github.com/ChessDragon136/MediaBrowser.SamsungUnofficial/blob/master/MediaBrowser%203/app/javascript/Gui/GuiPlayer/GuiPlayer_TranscodeParams.js Basically, I need people who have E,F and H series TV's to go through the manual, find the supported formats page and add to the code. The page is usually near the back of the manual and appears as a table. Copy the code from the page to notepad and alter it in that, then just save the file and upload to me somehow. H Series Manual: - Thanks @@gbone8106 - Page 220 has the table. http://downloadcenter.samsung.com/content/UM/201409/20140923192212990/%5BENG-US%5DNUATSCH-1.116.pdf If you can't understand the code, then let me know and I'll write a short explanation but if you're uncertain I'd prefer you help by continuing to test and report issues like you all have been Note: Do not add support for 4k or any resolution over 1920x1080 (I'll fix 3d Resolutions later on) Thanks, Edited February 2, 2015 by chessdragon136 2 Link to comment Share on other sites More sharing options...
CBers 6804 Posted February 2, 2015 Share Posted February 2, 2015 Just found the f8000 guide, so will sort out the formats soon. Link to comment Share on other sites More sharing options...
DaN 47 Posted February 2, 2015 Share Posted February 2, 2015 I found the manual for my F7500 set; I think altering the code is all about replacing the "D" with "F" for F series case; and replacing the formats with the ones listed in the manual; if yes; then I'm on. Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 Don't replace, basically for each of the functions create a new case for "F" (so copy paste D, name it F, and then fill in the information) So getCodec would become: GuiPlayer_TranscodeParams.getCodec = function(codec) { switch (Main.getModelYear()) { case "D": switch (codec) { case "mpeg2video": case "mpeg4": case "h264": case "wmv2": case "wmv3": case "vc1": return true; break; default: return false; break; } break; case "F": switch (codec) { //Add Compatible Codecs Here, lower case case "mpeg2video": case "mpeg4": case "h264": case "wmv2": case "wmv3": case "vc1": return true; break; default: return false; break; } break; default: switch (codec) { case "mpeg2video": case "mpeg4": case "h264": case "wmv2": case "wmv3": case "vc1": return true; break; default: return false; break; } break; } } Link to comment Share on other sites More sharing options...
DaN 47 Posted February 2, 2015 Share Posted February 2, 2015 In case the below are the supported formats by F7500; what are the equivalent codec short names: Divx 3.11 /4/5/6 MPEG4 SP/ASP H.264 BP/MP/HP Motion JPEG Microsoft MPEG-4 v3 Window Media Video v7,v8,v9 MPEG2 MPEG1 VP6 MVC VP8 H.264 Link to comment Share on other sites More sharing options...
CBers 6804 Posted February 2, 2015 Share Posted February 2, 2015 F8000: Supported File Formats This TV is capable of playing back the following types of files. For more information, refer to the "Subtitle and Media Contents file formats, and Codec" section. ● Photos: bmp, jpg, mpo, png ● Music: aac, flac, m4a, mpa, mp3, ogg, wma ● Video: 3gp, avi, asf, flv, m2ts, mkv, mov, mp4, mpg, mts, svi, ts, tp, trp, vob, vro, webm, wmv ● Subtitles: ass, psb, smi, srt, ssa, sub, ttxt, txt With .avi, .mkv, and .mp4 files, the TV supports embedded subtitles. 1 Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 Ok I believe I added almost everything for the H series; 2 questions though. Not sure how to handle the fact the MVC bit rate is 60mbps, also I know you said not to but would it be a huge problem to just go ahead and include the 4k resolution; with HEVC(h265) we should start so seem some of this videos coming out in the near future; just a thought. Chessdragon136, can you check to see if you see the proposed change I made? Also if you need a tester for a build including this I can definitely help troubleshoot playback. Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 Can you host the file somewhere and I can check it's right and implement it As for the HEVC stuff, I don't believe the player I use in the app supports it so I'd prefer to test that outside the main distribution. I'll let you know when the next build goes out with these changes Thank you! Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 ok you should be able to see it here. https://www.dropbox.com/s/67t6y9ud96c963m/Hseries.txt?dl=0 ; also I created a fork on your repository for that file that you can review with the same changes. 1 Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 (edited) Thank you - Just had a quick scan and it is mostly right, and i understand your previous question a bit more now Bassiacally as you can see each function has a switch on the TV model, then a further switch on codec. Basically if the H series supports more codecs you simply need to add additional cases in (See MVC here) (Note: I am assuming that mediabrowser3 server calls it mvc - have no media of that type to check but the principle stands) GuiPlayer_TranscodeParams.getCodec = function(codec) { switch (Main.getModelYear()) { case "H": switch (codec) { case "mpeg2video": case "mpeg4": case "h264": case "h265": case "wmv2": case "wmv3": case "vc1": case "mvc": //Added New Codec for H series! This case would have to be added to each function and values returned based on what the codec supports (except the audio ones) return true; break; default: return false; break; } break; Edited February 2, 2015 by chessdragon136 Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 Ok I see, and i was going to add that, but as I believe mvc (which is 3D) is just a variation of H264, so I was wondering if it indeed needed to be implied "mvc", or if the "h264" with the higher bitrate will just take care of it. Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 Add it in - Its better to have it there and not used than not there when its needed Like i say, I don't know how MB3 Server categorises it. Link to comment Share on other sites More sharing options...
DaN 47 Posted February 2, 2015 Share Posted February 2, 2015 F8000: Supported File Formats This TV is capable of playing back the following types of files. For more information, refer to the "Subtitle and Media Contents file formats, and Codec" section. ● Photos: bmp, jpg, mpo, png ● Music: aac, flac, m4a, mpa, mp3, ogg, wma ● Video: 3gp, avi, asf, flv, m2ts, mkv, mov, mp4, mpg, mts, svi, ts, tp, trp, vob, vro, webm, wmv ● Subtitles: ass, psb, smi, srt, ssa, sub, ttxt, txt With .avi, .mkv, and .mp4 files, the TV supports embedded subtitles. This is the same for 7500 series Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 @@DaN - It's probably the same per year (Or thats what im programming to!) Thanks Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 OK I added it in, thanks Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 Can you provide a link to the fork please I cant seem to see it Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 http://github.com/gbone8106/MediaBrowser.SamsungUnofficial/compare/patch-1 Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 @@gbone8106 - Sorry, the link gives me a 404 error Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 sorry im new to github https://github.com/gbone8106/MediaBrowser.SamsungUnofficial/blob/b7247aa9cb913f7fbe1280b7de63e803a4d2c5e8/MediaBrowser%203/app/javascript/Gui/GuiPlayer/GuiPlayer_TranscodeParams.js Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 So am I, no problem - That link too is a 404 - Is it a public fork? May explain why I cant see it if its private Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 could you tell me where I could do that, looking at the fork it looks like its public under settings; I also exported it here https://www.dropbox.com/s/07fchu05cvw5r47/MediaBrowser.SamsungUnofficial-patch-1.zip?dl=0 Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 I honestly don't know - I just remember that when i set up my new repository i was asked whether to make it public or private. Thanks for the file - Very much appreciated. Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 Ok I've got it implemented in my code from your dropbox so feel free to delete it from there - I've added a comment in the file to recognise your work - Thank you Link to comment Share on other sites More sharing options...
gbone8106 25 Posted February 2, 2015 Share Posted February 2, 2015 thanks man great work, looking forward to the build. Link to comment Share on other sites More sharing options...
chessdragon136 677 Posted February 2, 2015 Author Share Posted February 2, 2015 (edited) I have created a document which contains screenshots of the playable media pages from manuals - these are what the app will work to https://onedrive.live.com/redir?resid=34188BEEC92DC33C!70258&authkey=!AAVab1PELg7uExk&ithint=folder%2cdocx I have made it editable - Id anyone has an E series TV can you take a screenshot and add it on the relevant page please. Gives an indication of the improvements made! Thanks Edited February 2, 2015 by chessdragon136 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now