-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clip not found error, while Playing a video by choosing rtmp streaming in preview #61
Comments
@blackyboy try following this guid: |
Hi blackboy, Did you get a chance to try yet? |
Hi @zoharbabin , @jessp01 I have first created a Kaltura session by visiting the url https://mydomain.com/api_v3/testme/index.php and able to create a Kaltura session (shows a long string on the rightside ) Following are the show code example for the session creation.
Now I have created a new
Tried Several time's, I'm getting keep on , SERVICE_FORBIDDENThe access to service [liveStream->add] is forbiddenKalturaAPIExceptionKalturaAPIExceptionArgSERVICEliveStream->add0.037664890289307 |
did you enable livestream for the publisher? This can be done in the admin console with the configure option. Look for "Live Streaming" |
@DBezemer yes i have done, my need is what ever the uploaded videos it want to be play in RTMP delivery, guide me to fix my issue sir |
The Live Stream option is meant for live streaming, ie: live events. If you would want to create one, you need to use the admin secret, not the user secret. If you just want RTMP delivery for media already in Kaltura, follow the guide at: http://blog.kaltura.org/rtmp-vod-and-live-streaming-using-red5-and-kaltura-ce-4 For more recent versions there is no such guide, so if this gives enough help please post the steps you took to make it work for you here. |
blackyboy, were you able to find time to follow it? |
@jessp01 Followed this Every Steps but not got a Solution still |
@blackyboy - can you describe the current situation, please? |
@jessp01 After trying multiple times with Red5 RTMP streaming and finally gaveup on red5. I have now moved to Amazon S3 remote storage with cloudfront CDN for Kaltura storage and delivery. I am able to make Kaltura to store videos in S3 and use clould front RTMP distribution to stream that videos using flow player( http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/TutorialStreamingFlowplayer.html ) I am also able to get the video play with KDP using cloudfront web distribution but not with cloudfront RTMP distribution. I am not sure about the "RTMP Delivery Base URL:" and "RTMP stream URL prefix:" value in Storage specific setup configuration. Please see the attached image for the config screen. I am currently setting "RTMP Delivery Base URL:" as rtmp://s22xxxxxxxxxxx.cloudfront.net/cfx/st and "RTMP stream URL prefix:" as .mp4 @jessp01 Could you pls give me the correct values to put in the "RTMP Delivery Base URL:" and "RTMP stream URL prefix:" for the AWS storage profile? There is also publisher specific configuration screen that has the "RTMP Delivery URL:" in the Publisher Specific Delivery Settings. I am also not sure about it and do we need to set any value in that field? |
Hello @blackyboy, rtmp_prefix should be the directories until base, say if your URI is: let me know if it worked out, thanks, |
@jessp01 Wow, Thanks a lot , its work for me, Now i can stream via both rtmp and rtmpe and http progressive Download too. |
Awesome, blackboy. May the source be with you, Jess Portnoy -------- Original message -------- @jessp01https://github.com/jessp01 Wow, Thanks a lot , its work for me, Now i can stream via both rtmp and rtmpe and http progressive Download too. Reply to this email directly or view it on GitHubhttps://github.com//issues/61#issuecomment-38422583. |
@jessp01 yes Sure, Now I'm Preparing my Documentation and i'll Post here ... |
Thank you very much:) May the source be with you, Jess Portnoy Join us for Kaltura Connect 2014, June 17-18, NYC. Register today! On Mon, 24 Mar 2014, Black Boy wrote:
|
Setting up a Drop FolderAfter Creating a Publisher in Kaltura
Note your Publisher ID from user's list ( My Publisher ID 102) and Create using Type : Local Drop Folder Name: our Wish ( Here i have used blackyboy) Description: As our Wish (This is blackyboy's Drop)
Check file size every (seconds): 10
Save it ... that't it in KMC side.. Then in Terminal
(skel file error will be display, we don't need a bash profile so don't mind the error) Create a password for the user which we have created for Drop
4.Navigate to directory
Note : Here i have setuped for sftp because ftp is not secured one, If we need ftp just 2 more step to be added in above steps, those are
And at last we need to restart the vsftpd Service
And upload a video file, it will be uploaded to /opt/kaltura/web/content/blackyboy After Completing upload it wait's for 10 seconds and it will move to KMC Content TAB and Start to convert it Using Transcoding profile Which we have created. We can see the Progress of uploading from (Drop folder) Under Content TAB That's it .. Which we have uploaded from filezilla will be converted and stored in S3, if we follow the below step's Setup Amazon S3 Remote storageTO Setup a Remote storage i used the following Link, Some content's are added by me too Reference URL : kalturaCE Amazon s3 storage cloudfront cdn setup Setting up Amazon S3 and getting security credentials
In the Above 6th and 7th Step there is no Permission available, So Just Right click on kaltura Directory and choose "Make Public" Then we need to add a bucket Policy for your bucket, Granting Object get Permission to any Anonymous User in Amazon S3 Bucket for reading the file.
If this Policy was not added, We will face clip not found error when ever uploading a new video to kaltura. Setting up Amazon CloudFront CDN
Setting up the Remote Storage Profile in the Admin ConsoleFirst, you must enable the necessary configuration options for your partner:
Next we must configure the Remote Storage Profile. In order to do this, we must click on the partner’s left drop-down box (under “Profiles”) and select “Remote Storage”. You should see the “Remote Storage Profiles” page for your publisher (If you haven’t yet set up any remote storage profiles, the list should be empty). (Assuming that you have already set up an S3 bucket, and that you have an Access Key ID and a Secret Access Key)
Add a crossdomain.xml file
Final Step – Enable the remote storage profile
Test your new configuration Setting up Amazon CloudFront CDN for RTMP
Next we need to configure the Remote Storage Profile. In order to do this, we must click on the partner’s left drop-down box (under “Profiles”) and select “Remote Storage”. You should see the “Remote Storage Profiles” page for your publisher (If you haven’t yet set up any remote storage profiles, the list should be empty). There was our s3 storage will be listed as we have done in above Step,
This will make works both RTMP & RTMPE Video Streaming. Bunch of thanks to @jessp01 from Kaltura team for guiding me. |
Thank you very much. We will commit to offical docs, credited to you of course :) May the source be with you, Jess Portnoy -------- Original message -------- Setting up a Drop Folder After Creating a Publisher in Kaltura
Note your Publisher ID from user's list ( My Publisher ID 102) and Create using Type : Local Drop Folder Name: our Wish ( Here i have used blackyboy) Description: As our Wish (This is blackyboy's Drop)
Check file size every (seconds): 10
Save it ... that't it in KMC side.. Then in Terminal
Eg : mkdir /opt/kaltura/web/content/blackyboy
useradd -d /opt/kaltura/web/content/blackyboy blackyboy ( home Dir of this blackyboy user is /opt/kaltura/web/content/blackyboy )(skel file error will be display, we don't need a bash profile so don't mind the error) Create a password for the user which we have created for Drop passwd blackyboyNew passwd: ********
usermod -a -G apache,kaltura blackyboy4.Navigate to directory cd /opt/kaltura/web/content
chown blackyboy:kaltura blackyboy/Note : Here i have setuped for sftp because ftp is not secured one, If we need ftp just 2 more step to be added in above steps, those are usermod -a -G ftp,kaltura blackyboyAnd at last we need to restart the vsftpd Service /etc/init.d/vsftpd restart
And upload a video file, it will be uploaded to /opt/kaltura/web/content/blackyboy After Completing upload it wait's for 10 seconds and it will move to KMC Content TAB and Start to convert it Using Transcoding profile Which we have created. We can see the Progress of uploading from (Drop folder) Under Content TAB That's it .. Which we have uploaded from filezilla will be converted and stored in S3, if we follow the below step's Setup Amazon S3 Remote storage TO Setup a Remote storage i used the following Link, Some content's are added by me too Reference URL : kalturaCE Amazon s3 storage cloudfront cdn setuphttp://www.panda-os.com/2012/11/kaltura-ce-amazon-s3-storage-cloudfront-cdn-setup/#.Uy_7KHUW3h_ Setting up Amazon S3 and getting security credentials
In the Above 6th and 7th Step there is no Permission available, So Just Right click on kaltura Directory and choose "Make Public" Then we need to add a bucket Policy for your bucket, Granting Object get Permission to any Anonymous User in Amazon S3 Bucket for reading the file. { [selection_014]https://f.cloud.github.com/assets/4866182/2501488/bf20b268-b36c-11e3-9b11-01a94b80059c.png If this Policy was not added, We will face clip not found error when ever uploading a new video to kaltura. Setting up Amazon CloudFront CDN
Setting up the Remote Storage Profile in the Admin Console First, you must enable the necessary configuration options for your partner:
Next we must configure the Remote Storage Profile. In order to do this, we must click on the partner’s left drop-down box (under “Profiles”) and select “Remote Storage”. You should see the “Remote Storage Profiles” page for your publisher (If you haven’t yet set up any remote storage profiles, the list should be empty). (Assuming that you have already set up an S3 bucket, and that you have an Access Key ID and a Secret Access Key)
eg : HTTP Delivery Base URL*: http://d2xxxxxxxxxxxx.cloudfront.net/kaltura [selection_010]https://f.cloud.github.com/assets/4866182/2501499/d5d50eb4-b36c-11e3-99c9-a5bba8bae719.png
Add a crossdomain.xml file Final Step – Enable the remote storage profile
Test your new configuration Setting up Amazon CloudFront CDN for RTMP
[selection_015]https://f.cloud.github.com/assets/4866182/2501509/ebc3c9f4-b36c-11e3-9dad-11bbafe466cc.png Next we need to configure the Remote Storage Profile. In order to do this, we must click on the partner’s left drop-down box (under “Profiles”) and select “Remote Storage”. You should see the “Remote Storage Profiles” page for your publisher (If you haven’t yet set up any remote storage profiles, the list should be empty). There was our s3 storage will be listed as we have done in above Step,
RTMP Delivery Base URL: rtmp://s22xxxxxxxxxxx.cloudfront.net/cfx/st RTMP stream URL prefix: /kaltura [selection_011]https://f.cloud.github.com/assets/4866182/2501518/0964bfb8-b36d-11e3-9c97-361d7591dc23.png
This will make works both RTMP & RTMPE Video Streaming. Bunch of thanks to @jessp01https://github.com/jessp01 from Kaltura team for guiding me. — |
@blackyboy would you mind creating a clean markdown guide under the doc directory and submit it as a pull-request for merge? Also - did you manage to also configure HLS streaming via CloudFront, or just RTMP? Thanks! |
@zoharbabin yes, I will Prepare it and let you know while I'm Requesting for a Pull-Request , yet now i have not tested the HLS Streaming , let me try it and let you know it too. Thanking you! |
@zoharbabin Please have a look at below link, can i Proceed like this Documentation, Did I'm Doing right, And Which name i have to use in this name instead of blackyboy, let it be are i need to replace it using kaltura or etc . https://github.com/blackyboy/Centos-Linux-Stuffs/blob/master/README.md |
@blackyboy - The link produces 404... maybe you need to add me to the private repo access? |
@zoharbabin please have a look here , just now i have changed the file names |
Docs reviewed and merged. Thank you, again, Blackboy:) |
Hello Zoharbabin, blackyboy, Jess When I upload videos with greater size more than 21 MB and duration approx more than 7 minutes, Kaltura is not able to replay the video. The status of media entry is shown as "Ready" also the conversion was completed successfully. When check the logs with its media entry ID, found below logs in log files. Hope these will help to identify the issue. Can you please help me to identify what we are missing here on our setup? -- "kaltura_apache_access.log" 115.119.195.226 - - [25/Sep/2014:06:50:20 -0500] "GET /p/105/sp/10500/thumbnail/entry_id/0_t9pxdy16/version/0/acv/12/bgcolor/F7F7F7/type/2 HTTP/1.1" 404 - 0/33212 "http://brain-slam.com/index.php/kmc/kmc4" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36" "uv_0f3eae193bfd759bf44c6541d1f5781f" 115.119.195.226 "error-11" "brain-slam.com" -- "kaltura_prod.log": 2014-09-25 06:49:50 [0.000567] [115.119.195.226] [1976089351] [PS2] [KalturaStatement->execute] DEBUG: /* brain-slam.com[1976089351][propel2] */ SELECT file_sync.ID, file_sync.PARTNER_ID, file_sync.OBJECT_TYPE, file_sync.OBJECT_ID, file_sync.VERSION, file_sync.OBJECT_SUB_TYPE, file_sync.DC, file_sync.ORIGINAL, file_sync.CREATED_AT, file_sync.UPDATED_AT, file_sync.READY_AT, file_sync.SYNC_TIME, file_sync.STATUS, file_sync.FILE_TYPE, file_sync.LINKED_ID, file_sync.LINK_COUNT, file_sync.FILE_ROOT, file_sync.FILE_PATH, file_sync.FILE_SIZE, file_sync.DELETED_ID FROM |
Hello, I am missing some info so we can assist you further.
Thanks, May the source be with you, Jess Portnoy Watch the video recordings from Kaltura Connect 2014, and pre-register for 2015 - http://connect.kaltura.com/ On Thu, 25 Sep 2014, suhastnex wrote:
|
Hello Jess, Thanks for the reply Version : kaltura-base-9.18.0-11.noarch --- kaltlog while making the request 2014-09-25 08:02:11 [0.000470] [115.119.195.226] [2123058777] [PS2] [KalturaStatement->execute] DEBUG: Sql took - 0.00031900405883789 seconds #0 /opt/kaltura/app/alpha/lib/model/DeliveryProfilePeer.php(211): KalturaLog::err('Delivery ID can...')#19 {main} #0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(113): KalturaLog::err('exiting on erro...')2014-09-25 08:02:12 [0.000481] [115.119.195.226] [352348696] [PS2] [KalturaStatement->execute] DEBUG: Sql took - 0.00032687187194824 seconds #0 /opt/kaltura/app/alpha/lib/model/DeliveryProfilePeer.php(211): KalturaLog::err('Delivery ID can...')#19 {main} #0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(113): KalturaLog::err('exiting on erro...')2014-09-25 08:02:13 [0.000540] [115.119.195.226] [1076830805] [PS2] [KalturaStatement->execute] DEBUG: Sql took - 0.00032281875610352 seconds #0 /opt/kaltura/app/alpha/lib/model/DeliveryProfilePeer.php(211): KalturaLog::err('Delivery ID can...')#19 {main} #0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(113): KalturaLog::err('exiting on erro...')==> /opt/kaltura/log/kaltura_prod.log <== #0 /opt/kaltura/app/alpha/lib/model/DeliveryProfilePeer.php(211): KalturaLog::err('Delivery ID can...')#19 {main} #0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(113): KalturaLog::err('exiting on erro...')==> /opt/kaltura/log/kaltura_apache_errors.log <== ==> /opt/kaltura/log/batch/partnerloadcleanup-0-2014-09-25.err.log <== |
Hi, Seems your problem is this:
Which means the table delivery_profile was not created for some reason. To fix it, run: mysql -u$DB1_USER -p$DB1_PASS $DB1_NAME < /opt/kaltura/app/deployment/updates/sql/2014_01_22_create_delivery_table.sqlthe make sure: mysql -u$DB1_USER -p$DB1_PASS $DB1_NAMEAnd that this SQL command outputs the below A few questions to try and understand why this was not crated:
Thanks, May the source be with you, Jess Portnoy Watch the video recordings from Kaltura Connect 2014, and pre-register for 2015 - http://connect.kaltura.com/ On Thu, 25 Sep 2014, suhastnex wrote:
|
Hi Jess, Answers to your questions:
Before running the suggested upgrade script, I check my DB. It already have delivery_profile table with below content, mysql> select id,name from delivery_profile; Can you please let me know if I still need to run the 2014_01_22_create_delivery_table.sql? |
Please run php /opt/kaltura/app/deployment/updates/update.phpAnd try again.. May the source be with you, Jess Portnoy Watch the video recordings from Kaltura Connect 2014, and pre-register for 2015 - http://connect.kaltura.com/ On Thu, 25 Sep 2014, suhastnex wrote:
|
Hello Jess, Can I get the release note for the latest update as I am feeling quite uncomfortable to run the update script on our production server? |
Hello Jess, Any update on this. |
Hello Jess can I get update on this. |
Hi, The update script should run at every upgrade as part of the post install It is usually done automatically, if you run:
You will see it. It may have ran incorrectly and this is why I am asking you to re-run it. In general, being a community edition, it is HIGHLY recommended that you Thanks, May the source be with you, Jess Portnoy Watch the video recordings from Kaltura Connect 2014, and pre-register for 2015 - http://connect.kaltura.com/ On Fri, 26 Sep 2014, suhastnex wrote:
|
Hello Jess, I am again facing same issue mentioned here #102 Thanks |
FYI I have kaltura-base-9.19.3-3.noarch version installed right now. |
You need to upgrade to 9.19.3. See instructions in the doc dir. Thanks May the source be with you, Jess Portnoy -------- Original message -------- FYI I have kaltura-base-9.19.3-3.noarch version installed right now. Reply to this email directly or view it on GitHubhttps://github.com//issues/61#issuecomment-57296744. |
Hello Jess, Is there any setting regarding kaltura auto update coz after above discussion I have not run any update as such still it has been updated to latest version with reference to http://kaltura.github.io/platform-install-packages/ I guess I have the latest unstable beta version. Is there any way to resolve the Unknown uiConf [0] in KMC login. Please help Thanks |
Red5 Working, i can record a Video from web cam and its getting in content too, But can't Stream the video through RTMP Delivery, In Content tab I can't preview a file using rtmp streaming, getting clip not found Error.
In CE6 I have configured red5 and worked fine by using following method
Replace 'rtmp://yoursite.com/oflaDemo' with 'rtmp://my_domainname_here.com/oflaDemo
Then Creating a soft link
That's works for a live streaming in kaltura 6
How to set up rtmp streaming in kaltura 9.9.0, Could you please guide me to edit certain file if i need to do, Now I'm getting clip not found error while playing a video by choosing rtmp streaming in content preview.
Thanking you
The text was updated successfully, but these errors were encountered: