Forum

streaming mp4 to rtmp via server-side task

Shane 2019-09-11 04:22:54 UTC in WMSPanel functionality

I am trying to loop an mp4 to rtmp via server-side task with no luck. I can do it from via console under root, but it doesn't work when I try to do it via server task in Nimble UI.

I have set enable_tasks to true. Interface at 127.0.0.1 is on.

I don't see anything at all in the nimble logs that has anything on the task.

I'm guessing it has to do with some permissions on the "nimble" user? ffmpeg should be executable by nimble (as well as the mp4 input readbale), but I must be missing something... any ideas?

Sergei Ovchinnikov 2019-09-11 05:19:58 UTC 

Hello, Shane!

Just to make sure, have you restarted nimble after editing /etc/nimble/nimble.conf using command service nimble restart?

When your server-side command execution failed, there will be Status set to Failed and blue balloon with 'i' appears. Please click on this balloon to get error output.
Most commonly, it is full path to ffmpeg omitted type error.
Please make sure, you've entered full path to ffmpeg as /usr/local/bin/ffmpeg...

Shane 2019-09-11 14:03:21 UTC 

Hey there,

So I did restart the nimble service after editing conf file. But I just did a full reboot of the server, and that seems to have done the trick - it seems to be running fine now.

Thanks for the help!

Shane 2019-09-11 14:29:49 UTC 

P.S. On a semi-related note, my ultimate goal is to record a live stream, then take that VOD file and loop it for playback on the same stream name as the live stream when it's over.

Theoretically I'd like it to also have a mechanism where I could start the livestream back up (so the loop playback would be interrupted and the rtmp livestream would take over with no change in stream name).

Is something like this possible? Essentially I want to have a 24-hour stream playing a looped file, but with the ability to interrupt it with a live rtmp.

Thanks!

Sergei Ovchinnikov 2019-09-18 04:30:18 UTC 

Please take a look at Transcoder's Hot Swap feature on the following link:
https://blog.wmspanel.com/2017/04/streams-failover-hot-swap-live-transcoder.html
You can stop the main stream, and It will switch to your backup video seamlessly. It can be VOD or live stream for main or backup streams.

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRRTMPnimble streamerhlsABRwmsauthcacheNimbleffmpegdvrAPIapitranscoderfailoverrtmpVODstreamingDASHwmspanelvodrtspudppaywallsubtitlesDispersaRTSPyoutubelivelivestreamingmp4MPEG-DASHWMSAuthpay-per-viewgeosldpdashstreamervideoabrWindowsencryptionUDPhttpswhite labeluser agentconfigsmilmulticastFFMPEGsslaudioMPEG-TSedgeCORSchunksraspberry pire-streamingandroidbandwidthmpeg-dashadvertizercorsDRMvlcS3rules.confadvertisingipv6FastSpringRAMwms panelthumbnailFMLEVATcrossdomainupdatempegtsRecordingplaylistSMILakamaiaespushwowzaserversSRTSSLerrorm3u8Transcodebalanceplaylist_dvrchromecastWowzaIDreportingconfigurationsrtbugdownloadnimblestreamerdomainraspianVidillionHttpsloopIPWMSPanelmobilerepublishingawspublish controlcodecmpeg-tsAWSperformancechunknimble webcam html5UIRegistration Issuedirect link32-bit Windowstwitchanalysecache_controlitworkmelive abr support mpeg-dashrtmp abrbeirutWWDCdubaideep statshls to multicast udplogIIS Smooth StreamingcloudmediaCDNHTTPSAbrHot-linking protectionHDSvaddioMPEGTSalertsNDIViewer Statsjwplayer websiteAuthentication in HLSwhmcsbaselineCentOS v6.4pricenginx rtmp nimblelimitOld logsAV BridgescreencastVaddioPI3 Ubuntuview timeattaching domainswmspanelapiWMSCONFIG_HOMEmessageinterfacesrestreamcostoriginDVRRecordingloadbalancingmetadatamod_rewriteprofileAxisgbpsID3 tagshls restreamingwmsauthsignhighhds streamVLCresumeniblerciscolocalVideo Playertransocding republishingdecoder.net hotlinkAliaslost trafficgentoo install server nimbletranscoding using NvidiaPublic IpPaywall Authdocumentationofflineipconcurrent-connectionsTrancoderfileicecast urlrulehot linkinglebanonlocationmanifestchangeamfMP4 not playedspaceServer-sidetasks-controlplayoutstoppedseekingmainondvr streamconnectivityunique visitoraliasdata slicesPlayReadylimuxamazon web serviceHLS voddvr stream twicepay per viewanalyticsapplicationpaywalAXVVGhot-linkblockmpeg dashdvr_archivesTCO7opensslbrandingtrialMP4microsoft streamdebianerrorsrocksoftlog traffic statsExpression Encoderlive video on demandbandwithHLS PlayerABR DASHprogressive downloadDASH Playermultiple originsFFmpegnimblesessionidserverheadersourcelog nimble analysertmp playbackSnapshotsvideojsbitrateprivate networkPullvideo stopadaptiveAV1 codecJWPLAYERNGINX-RTMPno WMSPanellive videosoundHLS Meta Tag editing.streamsattachmentmac osx installcrossdomain more then 1 domain4Kwotermarkconcurrent connectionvod no soundhelp errorvimeoload balanceFairplayAWS 3buttRemote StorageWowza Agentcdnvsomnot foundlive streampullWidevineAS3fallbackamazonControl APITranscoderLive streamingsecuritympeg2tsServer-Side-Task-Controldisk migrationinstall players setup ready to goDVRSettingstwitch larix broadcaster androidAppleDelete recordsstereo to monoscreen capturedrmresourceaes encryptionvideo loopicecastsubscriptionstarttime duration seekpointrebootlive pull settingsABR HLS Bitratesmonitorrtmp for YouTubeDeep statsapi accessIIS Media Servicsrtmp republishing transcodenimble.confinterleavingweb playeroutratedvr streamsnimble streamer web server php script pageautomationNimble Streamer APIlivestreamscreen freezecan't registercontent-dispositionnimble streamer vod hls transmuxingloggingactionscript 3ABR DVR problemNimble CapacitylearnerCross DomainLive Switcherinsert logoNimble ServerDVRStreamsnot to stealLive BroadcastRTMP republishblock downloadAVCaptureMovieFileOutputPIDfake extensionadd_chunk failedPost processingMPEG DASHTranscoder MPEG DASHUbuntu artful 17.10broadcastertranscodingFFMPEG;RTMP;I/O errorstatus:errorStreaming routeHotlinking ProtectionMPEG-Dashlarix broadcasterpremium featureThumbnailsserver incorrect timeLIVELivenimble on cloudroutesprerollpaymentHow to do live stream with multiple audio tracknimble aliasesProgressivestatsreloadvp9adrmtpno internetdemandSecureAndroiduser_agentdvr on wmspanelS3 AWSVideo cant be playedprogressiveBroadcastLarixreportsraspberryavoid refreshthumbnail dvr-thumbnailwmsAuthSignnimble streamer mpeg-ts multiple inputsLoad-BalancinglatencyDVR SettingPORTadjustcredentialstranscodeRepublishingdelaympeg4transcoder nimbleVR-360Failoverav1 codechttp servera record21server ipbuildABR bitratesPacketizingNimble connectionsabr fallbackubuntu 18Teradek DecoderSLDPspeedup my videoiOSwebhookdvr to livefastspringmp2 audiooutputUsers limitVOD HLS streaming on public IPcloudflaredomain lockRTMP Republishcontentdistributionstoragealias route.movanalisysscterulesError when installingvideo and audio not matchcloudfrontPaywallCSSartifactsrtsp push androidcache expiryQuickTimevideo streamingincoming streamInvalid frame headerno soundtraffichd25publish streamAArch643.6.1-1diskstorage space availablessaiDVR Setting limitbufferGopHTML5 playerlogo in streamMPEG2 Videolivestream bitrateMax connectionUDP Multicastbuffering videoSO_RCVBUFdissapointmentpay-per-minuteHLS StreaminghelprestartIOSnimble dvrdurationBandwidthlivestreamintransocderqataritworkscdnvideo.jsgoogle cloud storageissuepricing

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.