Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Video quality parameter in template/create API call


Hi !
Just 3 simple questions (you can answer in yes/no).

1) How much trans-coded video size is increased if we selecting parameters "video_quality (optional) : 9" and "audio_quality (optional) : 9" in "https://developer.jwplayer.com/jw-platform/reference/v1/methods/accounts/templates/create.html" ?

2) Is there any impact on performance of such videos on handheld devices?

3) Can we re-upload on jwplayer drive via browser if we delete passthrough template? i.e. is deleting source or passthrough the same thing?

lastly,

4) Does re-upload of the source video (via browser on drive) preserve the source links obtained in the previous trans-codes? or the new upload means new trans-codes with different "media-ids" and "keys" (this I guess will be real help full if we have better source file later-- I mean there will be no hassle to change the code on our websites)?

Thanks

5 Community Answers

Alex

JW Player Support Agent  
1 rated :

Hi there,

1) How much trans-coded video size is increased if we selecting parameters “video_quality (optional) : 9” and “audio_quality (optional) : 9” in “https://developer.jwplayer.com/jw-platform/reference/v1/methods/accounts/templates/create.html” ?

There is no set answer to this because it would vary greatly with how long the content is, what resolution its at, the length, the bitrate, etc. I would recommend perhaps creating a separate transcoding template that has the quality values set at 9 and create conversions of some content so you can see the difference.

2) Is there any impact on performance of such videos on handheld devices?

I would assume there would be because a higher quality file would be larger in file size which can cause a mobile device not to load it as quickly and buffer more often.

3) Can we re-upload on jwplayer drive via browser if we delete passthrough template? i.e. is deleting source or passthrough the same thing?

Deleting the original upload and the passthrough conversion are not the same thing. A passthrough conversion is a copy of your original upload, just placed somewhere else. So if you have both the original upload still there and a passthrough conversion – if you delete the original, the passthrough will still be there and vice versa.

We never recommend deleting your original uploads. Doing so would result in our platform not being able to create new conversions of your content when we make improvements to our transcoding engine. With that being said, if you delete the original upload, you will be able to re-upload it via the “Sources” tab in the content’s detail page in your dashboard. FYI – re-uploading the original will result in the re-transcoding of your content.

4) Does re-upload of the source video (via browser on drive) preserve the source links obtained in the previous trans-codes? or the new upload means new trans-codes with different “media-ids” and “keys” (this I guess will be real help full if we have better source file later— I mean there will be no hassle to change the code on our websites)?

When you re-upload the original, the URLs for your source files should remain the same. The only caveat would be if your original upload was 1920 × 1080 and you upload a 1280 × 720 version in its place. The Media IDs would stay the same.

Please let me know if you need any more help or have any other questions.

Thank you!

s...

User  
0 rated :

Many Thanks, few more related questions:

1) Size of original file varies from 120 MB to 180 MB and I need high quality 1920x1080 resolution;, frankly speaking I am not satisfied with default quality i.e. “video_quality (optional) : 5” & "audio_quality (optional) : 5" ; but if i select quality "9" then android devices are struggling to play them. So, What is your recommendation about it? Say "7" or "6" Or should i hit and try? Or "5" is the only best option to cover most devices for 1920x1080p?

2) Is this true for internet speed > 10 Mbps?

3) I understand and will not delete original uploads. So , will the deletion of pass-through (which i will not use anytime) template free up some space on my drive?

4) That's GREAT! you mean only resolution should not change ; What if any other properties like bit-rate , file size, h.264 profile and level, sound channel etc. are changed??

Thanks once again for devoting your time.

Alex

JW Player Support Agent  
1 rated :

1) Size of original file varies from 120 MB to 180 MB and I need high quality 1920×1080 resolution;, frankly speaking I am not satisfied with default quality i.e. “video_quality (optional) : 5” & “audio_quality (optional) : 5” ; but if i select quality “9” then android devices are struggling to play them. So, What is your recommendation about it? Say “7” or “6” Or should i hit and try? Or “5” is the only best option to cover most devices for 1920×1080p?

Our recommendation is ‘5’ which is why we have it as the default setting. You can try having it set to ‘7’ or so but we feel that ‘5’ is the best option to limit the file size while still maintaining quality.

2) Is this true for internet speed > 10 Mbps?

Having a stated Internet speed of over 10 Mbps does not necessarily mean that the device will always be able to achieve that speed or maintain it. Several factors, such as signal strength and network congestion, have a lot to do with how quickly a file loads. The team at JW Player that is responsible for the transcoding engine have come up with the certain defaults of how the templates are set up in order to balance file size and quality. The video and audio quality setting on transcoding templates are not something that we see customers alter often at all.

3) I understand and will not delete original uploads. So , will the deletion of pass-through (which i will not use anytime) template free up some space on my drive?

If by “drive” you mean your storage usage on our platform, anytime you remove any transcodes it would free up a little bit of space. However, passthroughs are not enabled by default for this exact reason – to not take up unnecessary storage.

4) That’s GREAT! you mean only resolution should not change ; What if any other properties like bit-rate , file size, h.264 profile and level, sound channel etc. are changed??

You would only have to worry about existing embeds of content being affected if you upload a file with a smaller resolution as the original one. If other attributes, such as file size, bitrate, etc. are changed, it should not affect anything.

Please let me know if you need any more help or have any other questions.

Thank you!

s...

User  
0 rated :

Superb Sir!

Your answers have cleared almost all of my doubts (question 4 & question 2 ) and increased my confidence in Jw-platform.

1) After uploading a video file (on storage usage i.e. drive) with 6 channel audio, I found that the trans-coded files (downloaded via the source link) maintained the 6 channel audio quality (got details on 1280x720 trans-code in default "5" using mediainfo); whereas on youtube everything related to audio gets converted to stereo.

Sticking to your advice I will set video to "5" , but I badly need good quality 6 channel audio to play with my video on most of devices, so I guess it will be appropriate to set it to "7" ?

Lastly,

3) Considering my case (6 channel audio), will it not be good to delete 320p (quality template which i guess is to cover up old Handheld devices)? Although it uses very less space, but something will certainly free up OR 6 channel is something that is not what the trans-coded files are showing up??

Thanks for your clear and precise answers.



Alex

JW Player Support Agent  
0 rated :

Hi Singh,

I was not aware of the answer to these questions so I had to double-check but it looks like we do the same thing as YouTube where if you upload content with multi-channel audio, we’re going to convert it to stereo. This behavior should not change depending on that level you have the quality of the template set to.

This question has received the maximum number of answers.