Forum

Nimble Advertizer

Jose Lluberes 2019-04-18 04:04:36 UTC in WMSPanel functionality

Hey,
I`m trying to get working nimble advertizer, I had set my config file like this:
advertising_url=http://domainxyz.com/ads/ads.json
advertising_sync_interval=10
max_advertising_download_sessions=20

The returning error from the log is E: failed to get advertising rules, uri=https://adsinmind.com/ads/ads.json,

My JSON file:
{
"contents":
[
{"id":"1","uri":"http:\/\/13.68.194.140:7089\/vod\/bunny.mp4"}
],
"rules":
[
{
"id":"1",
"protocols":["icecast"],
"users":[],
"type":"stream",
"app":"audio_demo",
"stream":"stream",
"time_sync":"stream",
"time_offset":"0",
"time_interval":"0",
"contents":[{"id":"1","onerror":"stop","wait":"10"}]
}
]
}

Thanks

Denis Slobodskoy 2019-04-18 08:33:38 UTC 

Seems Advertizer is incompatible with HTTP/2.0, please try to place JSON file on web server without HTTP/2.0 enabled.

Jose Lluberes 2019-04-18 22:27:13 UTC 

Thank you so much, it resolves the issue, now I'm getting this message

[advd] E: failed to download content, uri=https://13.68.194.140:7089/vod/bunny.mp4

I have tested the URL and the encode, both are ok, could you advise me?

Denis Slobodskoy 2019-04-18 23:50:39 UTC 

There is some issue with SSL configuration - you may open your URL in a browser to see it. Please fix SSL configuration or use HTTP instead.

Denis Slobodskoy 2019-04-19 00:07:58 UTC 

In addition - I see you have Nimble installed on that server. Nimble use redirect to URL with nimblesessionid which Advertizer don't support. We will add support for redirection in future releases; for a while, you should add HTTP origin application for vod (Nimble Streamer -> HTTP origin applications -> Add... -> Application name: vod) to disable sessions for it.

Jose Lluberes 2019-04-20 13:35:04 UTC 

Hey Denis, it works perfectly, the problem was the HTTP Origin.
One more question, I`m using Icecast as incoming and HLS as outgoing is there any possibility that my video ads come with video because I´m obtaining the audio part only.

Denis Slobodskoy 2019-04-22 03:23:31 UTC 

Icecast is audio-only format, and you can't change stream format from audio-only to audio+video on a fly. You can add some static picture or video in a loop to audio stream using Live transcoder as described in this article: https://blog.wmspanel.com/2017/01/bind-unsynced-video-audio-transcoder.html - in this case you would be able to mix it with video ads.

Jose Lluberes 2019-04-22 03:38:23 UTC 

Yep, I have done it just as you described, it`s working well. Thank you so much for your help.

Any good player on the market that you recommend?

Denis Slobodskoy 2019-04-22 04:02:23 UTC 

We recommend to use JW Player ( https://www.jwplayer.com/ ) and Bitmovin ( https://bitmovin.com/video-player/ ), it most powerful players, while they are not for free. If you want free open-source solution, you can use Video.js ( https://github.com/videojs/video.js ) or hls.js ( https://github.com/video-dev/hls.js )

Jose Lluberes 2019-04-22 04:49:22 UTC 

Back again, I`m starting to think that am bothering too much.

When I test the stream inside the panel it works smoothly but when I try to use it in another player, it gets stuck trying to get the ad.
The hls.js player shows this error "Buffer Stalled Error"
This is the stream https://aimstreamer.com:30443/live/stream/playlist.m3u8.

Its something strange because it works on the wmspanel SAMPLE URL PLAYER but just there.

Denis Slobodskoy 2019-04-22 07:38:54 UTC 

Looks like timestamps are reset in this stream periodically.
Does it works well with simply transmuxed source stream (Icecast to HLS) without inserting ads and adding video? Are there any errors in /var/log/nimble.log related to source stream or transcoding?
I would recommend to submit support ticket via https://wmspanel.com/help to discuss details of your issue there.

Jose Lluberes 2019-04-23 00:41:28 UTC 

It works well with the simple transmuxed source stream, it gets stocked when trying to insert the ads.

The logs seem to be ok, doesn't show errors.

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRRTMPhlsnimble streamerABRcachewmsauthNimbledvrAPISRTtranscoderffmpegapiVODfailoverrtmpstreamingDASHwmspanelvodudprtsppaywallsubtitlessrtsldpDispersaRTSPyoutubeabrlivelivestreamingmp4WMSAuthMPEG-DASHpay-per-viewgeodashWMSPaneledgevideostreamerWindowsencryptionhttpsUDPuser agentwhite labelconfigsmilFFMPEGsslmulticastMPEG-TSaudioCORSre-streamingmpeg-dashchunksraspberry piandroidbandwidthadvertizercorsvlcS3DRMrules.confplaylistadvertisingipv6MPEGTSFastSpringRAMthumbnailFMLEVATcrossdomainupdateRecordingSMILmpegtsaespushakamaiwowzaserverserrorm3u8TranscodebalanceSSLchromecastplaylist_dvrWowzaconfigurationIDreportingbugperformancedomainnimblestreamerLarixIPrepublishingmpeg-tspublish controlcodecmobileloopHttpsVidillionawsAWSdownloadorigincloudfrontCDNraspianwms panelroutesSLDPchunknimble webcam html5UIbitrateRegistration Issuedirect link32-bit Windowstwitchcache_controlitworkmelive abr support mpeg-dashwmspanelapiresumertmp abrbeirutWWDCdubaideep statsCentOS v6.4hls to multicast udplogcloudIIS Smooth StreamingmediaHot-linking protectionHTTPSAbrHDSvaddioalertsjwplayer websitebaselinewhmcsnginx rtmp nimbleAV BridgeAuthentication in HLSVaddioPI3 Ubuntupriceview timelimitOld logsscte-35screencastinterfacesattaching domainsDVRRecordingloadbalancingmod_rewritemetadataprofileID3 tagsgbpsAxiswmsauthsignhighmessageWMSCONFIG_HOMEhds streamrestreamcostlocalcisco.net hotlinkhls restreaminggentoo install server nimbleVLCPublic Iptranscoding using NvidiaPaywall AuthniblerofflinedocumentationNimble streamer upgradeTrancoderconcurrent-connectionsdecodertransocding republishingVideo PlayerfileAliaslost trafficServer-sidetasks-controllebanonlocationmanifeststoppedNimble Streamer versionmainipMP4 not playedspaceicecast urlruledvr streamconnectivityunique visitorseekinghot linkingchangepay per viewamfplayoutPlayReadyamazon web servicelimuxdvr stream twicedvr_archivesmpeg dashobsTCOhot-linkAXVVGopensslSteam stopped workingonblocknvencHLS vodExpression Encoder7analyticspaywalapplicationbrandingtrialMP4microsoft streamerrorsHLS Playerrocksoftlog traffic statsDASH Playerdebianprogressive downloadABR DASHFFmpegmultiple originsnimblesessionidlive video on demandbandwithscreen freezecan't registerserverheaderprivate networkLarge DVR fileslog nimble analysertmp playbackvideojsno WMSPanellive videointerleavingsourcemac osx installadaptiveAV1 codecSnapshotsNGINX-RTMPJWPLAYERwotermarkvimeohelp errorPullvideo stopload balance4Kcrossdomain more then 1 domainvsomcdnattachmentlive streamvod no soundconcurrent connectionAWS 3buttmpeg2tsDelayServer-Side-Task-Controldisk migrationWidevineFairplayfallbackamazonControl APIscreen capturestereo to monoLive streamingTranscoderRemote StorageWowza Agentsecuritydrmnot foundCPU Loadresourceaes encryptionpullsubscriptionAS3ABR HLS Bitrateslive pull settingsWMSPanel settingsrtmp for YouTubetwitch larix broadcaster androidDVRSettingsinstall players setup ready to goDelete recordsAppleicecastudp streamingoutratevideo loopnimble streamer vod hls transmuxingloggingstarttime duration seekpointrebootdvr streamslearnermonitorautomationnimble streamer web server php script pageNimble Streamer APIlivestreamnimble.confrtmp republishing transcodeIIS Media Servicsinsert logoapi accessDeep statsNimble CapacityABR DVR problemweb playerLive SwitcherAVCaptureMovieFileOutputblock downloadcontent-dispositionnot to stealLive BroadcastPost processingadd_chunk failedfake extensionMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHNimble Serverstatus:errorFFMPEG;RTMP;I/O errortranscodingHotlinking ProtectionStreaming routeRTMP republishlarix broadcasterMPEG-DashPIDbroadcasterOSXpaymentstatsreloadpremium featureThumbnailsserver incorrect timeLiveLIVEdemandHow to do live stream with multiple audio trackProgressivenimble aliasesprogressivermtpno internetHLS Streamingthumbnail dvr-thumbnailLoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignsoundHLS Meta Tag editing.streamsdelaympeg4Secureraspberryavoid refreshreportstranscoder nimbleAndroiduser_agentdvr on wmspanelVideo cant be playedS3 AWSBroadcastcredentialslivestream bitratevbv-maxratetranscodeRepublishingVR-360Failoverpublish streamStream Delaytraffichd25Larix BroadcasterAArch64PacketizingABR bitratesbuildcontentRTMP Republishdomain lockoutputUsers limitcloudflareVOD HLS streaming on public IPincoming streamno soundInvalid frame headerHTML5 playerGopNimbleStreamerav1 codecDVR Setting limitssaibufferrtsp push androidartifactscache expiryvideo streamingQuickTime.movalias routestoragedistributionfastspringmp2 audiodata slicesaliasplayer sldpspeedup my videoiOSqataritworkscdnvideo.jstransocderlivestreaminRAM Loaddiskstorage space available3.6.1-1webhookdvr to livedissapointmentpay-per-minuteSO_RCVBUFbuffering videoadvp9adjustsoftware versionnimble dvrdurationBandwidthgpuPaywallvideo and audio not matchmanage_dvrhow-toError when installingrulesDVRStreamsaws amazonIOSrestartFallbackhelpUDP MulticastMax connectionMPEG2 Videologo in streama recordwirecasthttp serverSSL requestserver ip21compatibility protocolssha265VP9CSSactionscript 3server ssl errordynamic linksTLSV 1.2 Certificateanalisyssctenimble on cloudprerolllatencyscte35ubuntu 18Teradek DecoderViewer StatsNDICross DomainSRT protocolabr fallbackNimble connectionsmd5pricingissuecpugoogle cloud storagePORTDVR SettinganalyseStreamID

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.