Kaltura11.14 - RemoteStorage - Problems with Thumbnails

I have installed a Kaltura 11.14. I use Remote Storage for publishers because it is the only way to operate the delivery profiles with Wowza server. Video encodings are removed from local storage and stored in the Remote Storage. I have the following problems:

1: When uploading the video is not stored Thumbnail:

[PS2] [KExternalErrors :: dieError] ERR: exception 'Exception' with 
message 'exiting on Error 6 - Requested flavor was not found' in 
/srv_apl/kaltura/app/infra/log/KalturaLog.php:83
[PS2] [KExternalErrors :: dieError] ERR: exception 'Exception' with 
message 'exiting on Error 11 - thumbnail capture processing' in 
/srv_apl/kaltura/app/infra/log/KalturaLog.php:83
[API] [kBatchManager :: createFlavorAsset] ERR: exception 'Exception' 
with message 'Flavor [40] is none-Comply' in 
/srv_apl/kaltura/app/infra/log/KalturaLog.php:83

2: When I try to capture a video image fails unable to store the image in the Remote Storage:

[API] [kFileSyncUtils :: getReadyFileSyncForKey] NOTICE: FileSync was not found
[API]
 [KalturaFrontController-> getExceptionObject] ERR: exception 
'KalturaAPIException' with message 'The thumbnail asset is not ready' in
 /srv_apl/kaltura/app/api_v3/services/ThumbAssetService.php:643

Hello,

it is possible to server thumbnails from local storage?
if yes, then you can go to the KMC configuration
and set the Delivery plicy to "Remote storage first"
instead of “Remote storage only”

that way you will be able to create thumbnails

Bryan

I have set “Remote Storage First” and options “Delete exported storage from Kaltura” and “Remote Storage Delivery Priority”

I have the sane configuration and the same errore #2 when I try to create a new thumbnail grabbing from video.
I guess it happens because the video is stored in remote storage and the grabbing procedure can’t proceed if the video is not in locale storage.

Please set in your policy “import remote source for convert” then try to reconvert a flavor and while the system is busy to reconvert try to create the thumnail grabbing the frame from video.

Hello both,

in this case, you have to configure your remote storage policies
to not export the source, the source will be in local but all flavors will be exported
then you will be able to to create the thumbnails

when done, you can export manually the source

please try that.

Bryan

Ok, thanks so much…

Hi @aquileasfx1, thanks for your reply.

Just an information, is it possible con figure the ploicy as you wrote from kaltura admin or we need to develop from our side?

Thanks!

I’ve been getting errors too, but seemingly a different one, I’m adding it to this thread since I have remote storage as well…my thumbnails just are not processing but I can see them (broken) on my entries:

#16 {main}
2016-06-13 14:37:10 [0.000501] [45.59.236.158] [775505622] [70] [PS2] [KExternalErrors::dieError] ERR: exception 'Exception' with message 'exiting on error 10 - missing thumbnail fileSync for entry' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(128): KalturaLog::err('exiting on erro...')

Any advice?

A couple of other errors I got. I’ve been trying to find out what flavors those are trying to access, and why they’re not too, but I get FORBIDDEN when trying to LIST flavorParams…I’ve been thinking it’s my publisher config but I’m not sure what to change with it. Should I set Thumbnail Delivery URL to my cdn or what? Any help for thum b config would be appreciated.

2016-06-13 18:46:16 [0.000776] [45.59.236.158] [1550237590] [53] [PS2] [KalturaStatement->execute] DEBUG: Sql took - 0.00032901763916016 seconds
2016-06-13 18:46:16 [0.000662] [45.59.236.158] [1550237590] [54] [PS2] [KExternalErrors::dieError] ERR: exception 'Exception' with message 'exiting on error 6 - requested flavor was not found' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(128): KalturaLog::err('exiting on erro...')
--
            [tmp_name] => /opt/kaltura/web/tmp/php5EI8wB
            [error] => 0
            [size] => 16323437
--
            [tmp_name] => /opt/kaltura/web/tmp/php5EI8wB
            [error] => 0
            [size] => 16323437
--
2016-06-13 18:46:37 [0.003353] [54.200.216.193] [2142549078] [676] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00043606758117676 seconds
2016-06-13 18:46:37 [0.000812] [54.200.216.193] [2142549078] [677] [API] [kBatchManager::createFlavorAsset] ERR: exception 'Exception' with message 'Flavor [7] is none-comply' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kBatchManager.php(88): KalturaLog::err('Flavor [7] is n...')
--
==> /opt/kaltura/log/kaltura_api_v3.log <==
2016-06-13 18:46:37 [0.000762] [54.200.216.193] [2142549078] [689] [API] [kBatchManager::createFlavorAsset] ERR: exception 'Exception' with message 'Flavor [6] is none-comply' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kBatchManager.php(88): KalturaLog::err('Flavor [6] is n...')
--
2016-06-13 18:46:37 [0.001754] [54.200.216.193] [2142549078] [766] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.0012979507446289 seconds
2016-06-13 18:46:37 [0.000790] [54.200.216.193] [2142549078] [767] [API] [kBatchManager::createFlavorAsset] ERR: exception 'Exception' with message 'Flavor [5] is none-comply' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kBatchManager.php(88): KalturaLog::err('Flavor [5] is n...')

@angober - Remote Storage is not required for streaming … using the NGNIX VOD module is the recommeneded way to stream VOD. Wowza would be an overkill for that task, and certainly not as optimized and smooth.

Remote Storage is only recommended when you have restrictions that mandate that your actual video files will be stored on a server that is different than the Kaltura server and is not accessible via the same NFS.
And there are restrictions for Remote Storage due to the files not being easily accessible, including on-the-fly thumbnail generation: https://knowledge.kaltura.com/node/1248#Storing%20the%20Source%20File

When the quality of the source is more smaller than flavor X, it doesn´t do it and you see the message “Flavor [X] is none-comply”

You can force flavor generation if you must generate a flavor that is of higher bitrate/size/etc. - https://knowledge.kaltura.com/node/1184

Note that the Kaltura Decision Layer’s default behavior is recommended to save on resources, storage and ensure better quality of your video playback.

Ok thanks…

Hello @amletoguerra

you can configure this in the admin console,
go to the remote storage configuration
and you will see a list of flavors with a checkbox
unmark the source

please let me know if i can help you in anything else

Bryan

Is it possible to have remote storage set up to only work for video files but to leave thumbnails off of remote storage?

@JasonC - yes - you can just mark a smaller local flavor as source which will allow Kaltura to use this flavor for all these purposes such as thumbnail creation instead of the original source if your original source file must be stored remotely.

Hello @JasonC

I believe that you are asking if only the videos can be stored in the remote storage
and the thumbnails can be stored in the local storage

the answer is yes, by default all thumbnails are served by local storage
and videos by remote storage.

Bryan

But none of my thumbs are showing up (except the tiny tiny one next to entries) …should I create a new flavorParam? With what settings for stuff like remoteStorageProfileIds and sourceRemoteStorageProfileId

Hello,

please consfigure your remote storage policies
to have delivery by remote storage first
instead of remote storage only

this way you will be able to see the thumbnails

1 Like

Hmmm this appears to have worked, but now I’m trying to figure out if there is a way to not store my MP4 files. It’s frustrating to basically need to store double the stuff just to use some of these features.

I’m wasting a lot of storage storing media via remote storage AND locally. IS there a way to only store thumbnails locally while exporting all video type items?