Jump to content

FolderSync ignores quality setting


Go to solution Solved by K22R8CT,

Recommended Posts

K22R8CT
Posted

I created a Sync job with settings: Universal Mobile / 4Mbps.

 

The resulting hour-long file was almost 6GB which seemed off. I checked "stats for nerds" and its video bitrate is 12.9Mbps.

 

5b030decb13f1_syncd.png

 

As a test, I changed the job to use Custom Quality and specified 4Mbps, deleted the file and re-ran the job – same result, same file size and bitrate.

 

Next I tried the 1.5Mbps quality preset – still the same result, same 6GB file size and 12.9 Mbps bitrate.

 

What's going on?

 

Here are the stats for the source file, in case it's relevant:

5b030f4b6a82d_original.png

 

Posted

Can you please attach the log files from an example? thanks.

K22R8CT
Posted

Coincidentally an updated version of the source file was just downloaded which triggered re-generation of the sync'd file.

*That behavior differs from previous versions where updating the source file did not trigger re-generation, but that's unrelated.

 

I've messaged you what I think is the relevant server log excerpt from this regeneration. Let me know if you need more from the server log and/or additional log files.

Posted

And the ffmpeg conversion log?

Posted

Your conversion log is at 5 mbps, which yes, is higher than the requested 4 mbps although we do not have sufficient logging to prove that you actually selected 4 mbps.

 

In any event I'll do some testing on the conversion processes to make sure they are honoring the requested bitrates.

 

As far as stats for nerds go, I think it's just showing the original media info of the original file.

 

Thanks.

K22R8CT
Posted

Huh, I don't understand it but the sync file generated from the run I sent you was 2GB, which is about right for a one hour 4Mbps file:

 

2000 MB * 8 / (60min * 60sec) = 4.4Mbps

 

Weird because all of my earlier tests generated a 6GB file.

 

I also confirmed as you suspected that regardless of which file is played "stats for nerds" shows the bit rate of the original file.

 

 

Posted

Right but if you look at the ffmpeg conversion log, we are requesting a maxrate of just under 5 mbps. That's when you add up both the video and audio bitrates.

K22R8CT
Posted

Right but if you look at the ffmpeg conversion log, we are requesting a maxrate of just under 5 mbps. That's when you add up both the video and audio bitrates.

 

Right, I'm sorry I wasn't clearer. I was saying the log I sent you and the file produced from that run are exactly what I'd expect from my settings.

 

The previous 3 runs – the 1st with the same 4Mbps/preset setting, the 2nd with 4Mps/Custom and the 3rd with 1.5Mbps/Preset – were not. 

 

Currently I can't reproduce the problem. I will let you know if it reoccurs.

  • 2 weeks later...
Posted

server log?

K22R8CT
Posted

server log?

 

 

Sent.

Posted

Ok in my testing this seems to be working OK. i will have to add more logging because like i said earlier, the log files unfortunately do not allow me to see that you actually selected 4 mbps and didn't accidentally select something else. Thanks.

K22R8CT
Posted

Does Emby for Mac come pre-packaged with ffmpeg/ffprobe or does it use whatever's on the system?

If system, which version are you using?

Posted

It comes pre-packaged.

Posted

But that's not really your issue. The server did a stream copy of the video which is over 6 mbps, so it's the server that chose to do that.

  • 1 month later...
  • Solution
Posted

It looks like this problem is fixed in 3.5.0.0. Just upgraded so I can't say for sure but so far so good. Thanks!

Posted

Thanks for the feedback.

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...