Jump to content

Recommended Posts

Posted (edited)

I have been doing some coding,  and im gonna share  some settings and what i did to make movies

SUPER high quality and flaswless,  I have been working on a new SERVER app 5 in 1 which is 256 java encryption  I wont mention the apps name but i will share what fixed everything for EMBY and any other app using ffmpeg.exe

 

Fist thing I did was un-installed all oracle java JRE and then install the latest  32 and 64bit  jre-8u111-windows-i586.exe and

and jre-8u111-windows-x64.exe  bolth the offliner x86 and x64 can be downloaded >>> HERE ORACLE <<< I used the Offline installs.

 

Then I got the latest ZERO ffmpeg 64 bit , 32 works just as well  and placed it in c:\programfiles\ffmpeg i put all the  .exe in the root as well as the the presets files   FOLDER LOOKS LIKE THIS 3.png

 

I also Changed the Transcoding path in emby to C:\Program Files\ffmpeg

 

Now thats DONE on to the settings for ffmpeg.exe these are the settings that are FLAWLESS

 

Supported file extensions : .m4v, .mp4, .mkv, .avi ( You can add to this )

 

Command line: ffmpeg.exe -ss %time% -i %src% -vcodec mjpeg -vframes 1 -an -f mkv %dst% -y

 

Working Directory:  C:\Program Files\ffmpeg

 

Frames: 13

 

Info command line : ffmpeg.exe -i %src%

 

Get image EXIF info: exiftool -S %src%

 

set image EXIF info : exiftool -overwrite_original_in_place -%key%=%val% %src%

 

Now after Setting my Java Cifer encryption to : aes128-ctr,aes192-ctr,aes256-ctr3des-cbc  = Windows

 

Mac List: hmac-md5,hmac-sha1,hmac-md5-96,hmac-sha1-96,hmac-sha256,hmac-sha2-256,hmac-sha256@ssh.com

 

Thats it REBOOT you system and NO MORE memory hogging or quote HOLES/leaks  JUST SMOOTH SMOOTH SMOOTH

 

as soon as I rebooted I nolticed the playback quality is very HIGH HD with little transcoding

 

Both on MY new servers as well as EMBY   :)

 

KEEP in mind in no way am i suggesting people look for a alternative to EMBY as it rocks,  I just needed to spend more time enjoying the servers as apposed to TROUBLE SHOOTING

 

IMAGE of quality Zambezia

 

z1.png

 

z2.png

 

 

YOUR Welcom and ENJOY

Edited by cnjnorton
Posted (edited)

Just a Note on the memory, I forgot to mention  I installed process Lasso and set ffmpeg.exe to 1 core = 25%  FOR EMBY  memory usage  and it works flawless

 

This is for emby  on the NEW servers of mine  it has maybe 14% usage on all 4 cores   :)   

 

Hope this helps MANY :)

 

Maybe some of these suggestions may help EMBY  as again on my NEW server using ffmpeg.exe on all 4 cores at max uses

14 - 20 % AMAZING

Edited by cnjnorton
Posted (edited)

Thank You Luke  I REALLY TRY   :)

Edited by cnjnorton
Posted

Can this be done for one of the next updates ?

Posted

Can this be done for one of the next updates ?

 

Hi @@x88dually, what exactly are you looking for?

Posted

what op said and did up there ^ with the ffmpeg ?

Posted

I think he referes to the MEMORY  hogs on transcoding thats does not happen on my new server with ffmpeg.exe

Posted

thats what i wanna do

Posted

so, this kinda makes ffmpeg more efficient using emby ?

Posted

In my case it seems that after un-installing oracle java jre and re-installing it played a role in helping the playback in emby,  I posted the command lines used in the new Multi Server i'm using  as a possible transcoding solutions and keep in mind the new server plays m4v mp4 not avi ,  so the quality increased on all APPS using ffmpeg.  Not quite sure if moving the ffmpeg to the c:\\program files\ffmpeg folder helped  so I posted what I did to make a VERY NOTICEABLE DIFFERENCE...   i HAVE CREATED a test account on the new server but again respecting EMBY I chose not to share it.  

Posted (edited)

so replacing java should help ffmpeg work better  ?

Would it benefit me/emby, installing a geforce gtx 970 or 980 vid card that en/de codes x265 hevc ?

Multi Server ? dual cpu ? or more then 1 box ?

 

 

 

I'm stupid with software, i'm more a hardware guy. Setting up and designing networks, kinda guy.

Edited by x88dually
Happy2Play
Posted

Well java has nothing to do with Emby or ffmpeg.  I don't have java installed on my server.

  • Like 1
Waldonnis
Posted

so replacing java should help ffmpeg work better  ?

Would it benefit me/emby, installing a geforce gtx 970 or 980 vid card that en/de codes x265 hevc ?

Multi Server ? dual cpu ? or more then 1 box ?

 

 

 

I'm stupid with software, i'm more a hardware guy. Setting up and designing networks, kinda guy.

 

The hardware discussion is probably better done in the hardware encoding thread, but here's the gist:

 

The 970 and 980 both use hybrid decoding of HEVC, and neither has support for HEVC Main10 encoding (you would want this if you have or plan to include 4k/HDR content).  From experience, I can say that the hybrid solution is really pretty bad for watching anything.  Using a few test clips at 4k Blu-Ray bitrates, it wasn't able to keep up a steady, watchable framerate using my 970.

 

If you are looking at NVidia options, you would probably want a GTX-960 for hardware decoding HEVC Main10 (e.g. HTPC use), but I don't think the hardware encoder is capable of 10-bit HDR (and the decoder is limited to 10-bit). If you are thinking about hardware transcoding HEVC Main10, you would want a Pascal card (10 series) instead, and the decoder side supports 12-bit HDR as an added bonus.  The 1050ti and 1060 3GB can probably be found at reasonably cheap prices and are pretty good options.  Caveat is that there may be some issues with ffmpeg/NVENC still with yuv420p10le (see the hardware encoding thread, as we've been talking about it recently).

 

Another hardware option would include the Kaby Lake CPUs, since they added hardware decoding for HEVC Main10 as well as VP9 8/10-bit.  The Kaby Lake encoder supports for HEVC Main10 as well as VP9 8-bit (but not 10-bit for tech reasons), according to Intel's info.  Encoder-wise, I personally like Intel's QuickSync a bit better than NVENC, as it's not as limited (2 simultaneous streams max on non-Quadro NVidia cards) and has more options to play with for quality, but either will work for most applications and people.

 

From what I can tell from the OP, he seems to be transcoding to MJPEG since it's simpler/faster to decode than many other codecs (quality is subjective here, but that's a whole other discussion).  The Java part - the only thing I can posit is that it's either wrapping ffmpeg to rewrite the command line or maybe just a Java app to transcode in bulk (and rewrite the EXIF data).  I'm curious to learn more detail about what he's done, though, and how it's implemented.

Posted

Thx for the explanation.

pir8radio
Posted

:huh:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...