Forum

Nimble MP4 export api

Felipe 2021-01-27 15:28:35 UTC in Nimble Streamer

We are using Nimble to display live stream and also the recorded DVR stream.
We are recording the streams for 7 days.
Now we are trying to export some important events that happened during this 7 days to an specific path, so that allow us to have those important segments for more then 7 days reducing the used storage.

My questions are:

- Is there a way in the Api to specific a different path for those exported segments, or we'll have to use server tasks to make this happen?

- Talking about players, is there a way to use a single mp4 frame as the timeline snapshot? Just like youtube does when you mouse-over the timeline and it displays a small snapshot of that moment?

Max 2021-01-27 20:07:42 UTC 

Hello Felipe,

If you mean /manage/dvr/export_mp4/ Nimble API for exporting MP4 files - Nimble just sends file to requested client and it does not control the path the file will be saved to, it should be controlled by the tool (e.g. wget/curl/etc) downloading the file.

Nimble supports providing thumbnails to display in a timeline (https://blog.wmspanel.com/2018/12/jpeg-thumbnails-nimble-streamer-dvr.html and https://blog.wmspanel.com/2018/11/dvr-thumbnails-nimble-streamer.html ) but it does not specify how players will use it, please refer to specific player's documentation for that.

Felipe 2021-02-02 13:47:05 UTC 

Hello Max,

About the export_mp4, I need to choose a different folder to store the mp4 segments. Do you think that it's possible to use Server Side Tasks to export using ffmpeg? If so, is it possible to pass parameters to server side tasks when calling it?

Sergei 2021-02-03 01:37:09 UTC 

Hello, Felipe.

To pass custom parameters to the Server Side Tasks please use scripting and the following WMSPanel API method.
https://wmspanel.com/api_info#sb_nimble_tasks__create

As far as I know, the latest versions of curl can create a directory to save to or to choose a directory on the same Nimble server as the task runs.
https://blog.wmspanel.com/2019/02/dvr-export-mp4.html

I guess it is better to use export_mp4 to avoid FFmpeg errors, but if you have a steady working FFmpeg line to export DVR, please use it.

Thank you.

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRnimble streamerhlsRTMPABRcacheNimbleAPItranscoderSRTrtmpsrtwmsauthapidvrffmpegudpRTSPVODsldpfailoverDASHstreamingrtspwmspanelSLDPliveyoutubevodUDPmp4paywallabrsubtitlesDispersaLarixmulticastvideolivestreamingWMSAuthMPEG-DASHpay-per-viewgeoaudiodashstreameredgeWMSPanelbandwidthsslandroidthumbnailWindowsencryptionhttpswhite labelplaylistconfigsmilFFMPEGperformanceMPEG-TSCORSchunksraspberry pire-streamingmpeg-dashpublish controlcorscloudfrontDRMRepublishingadvertizerrepublishingvlcS3user agentNDIristrules.confadvertisingipv6MPEGTSFastSpringRAMwms panelRecordingFMLEfileVATcrossdomainSMILmpegtsaespushakamaiwowzaserversPullmobilecodecerrorbalanceSSLTranscodem3u8chromecastplaylist_dvrWowzaIDconfigurationreportingbugdownloadsnapshotmpeg-tsAndroidnimblestreamerdomainawsLarix BroadcasterloopraspianchunkAWSoriginCDNipupdatescte35amazonroutesVidillionHttpsIPsecurityUInimble webcam html5Registration Issuedirect link32-bit Windowstwitchcache_controlitworkmelive abr support mpeg-dashwmspanelapiresumertmp abrbeirutWWDCdubaideep statsCentOS v6.4hls to multicast udpnooblogIIS Smooth StreamingcloudmediaAbrHTTPSHot-linking protectionHDSvaddioalertsjwplayer websitewhmcsbaselinetimelinenginx rtmp nimbledurationAV BridgeAuthentication in HLSPi4VaddiopricePI3 UbunturesourcelimitOld logsCloud Storageview timescte-35screencastNimble Streamer APIinterfacesattaching domainsencrytpionloadbalancingcontainer*metadatamod_rewritesdpshoutcastprofilelarix abrAxisgbpsID3 tagswmsauthsignhighhds streamdatmessageWMSCONFIG_HOMErestreamcostlocalcisco.net hotlinkhls restreaminggentoo install server nimbleVLCPublic Iptranscoding using NvidiaPaywall AuthniblerofflinedocumentationNimble streamer upgradeTrancoderconcurrent-connectionsVideo Playertransocding republishingdecoderAliasServer-sidelost trafficstoppedNimble Streamer versionmainicecast urlrulelebanonlocationmanifesthot linkingMP4 not playedspacechangepay per viewamfLarix Groveseekingdvr_archivesmpeg dashwildcardobsTCORaspian Busterexportopenssllimuxamazon web servicePlayReadynginxonSteam stopped workingdvr stream twiceHLS vodrepublishhot-linkAXVVGExpression Encoderanalyticspaywalapplicationblocknvenc7HLS PlayerbrandingDASH Playerjpegtrialmicrosoft streamMP4errorsdebianrocksoftlog traffic statslive video on demandbandwithscreen freezecan't registerservernimblesessionidFFmpegmultiple originsABR DASHprogressive downloadprivate networkLarge DVR filesno WMSPanelheaderlive videosourceinterleavingSLDP PLayerlog nimble analysertmp playbackmac osx installAdsvideojswotermarkvimeohelp errorvideo stopbitrate#restreamload balanceadaptiveAV1 codecstreamsJWPLAYERNGINX-RTMPcache expirycdnvsomHEVCattachmentlive streamViewer Statsvod no soundconcurrent connection4Kcrossdomain more then 1 domaindvr streamconnectivityUbuntu 20 ARM - AWSunique visitorDelaympeg2tscpuServer-Side-Task-Controldisk migrationdvr on wmspanelWidevinescreen capturestereo to monoFairplaybuttAWS 3drmaes encryptionsubscriptionnot foundCPU LoadControl APIpullAS3TranscoderLive streamingWMSPanel settingslive pull settingsABR HLS Bitratesrtmp for YouTubeinstall players setup ready to goDVRSettingstwitch larix broadcaster androidadd_chunk failedPost processingfake extensionAppleDelete recordsnimble streamer web server php script pageautomationudp streamingoutrateicecastvideo loopnimble streamer vod hls transmuxinglogginglearnerstarttime duration seekpointrebootmonitorinsert logonimble.confrtmp republishing transcodeIIS Media Servicstrackapi accessDeep statsloadbalancerAVCaptureMovieFileOutputblock downloadweb playerdvr streamslivestreamcontent-dispositionNimble CapacityABR DVR probleminvalidMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHLive SwitcherNimble Servernot to stealLive BroadcastfacebookHotlinking ProtectionStreaming routeSecurityRTMP republishpaymentstatsreloadssaiDVR Setting limitadvp9premium featureserver incorrect timeThumbnailscontentRTMP RepublishLiveLIVErmtpno internetdemandIOSHow to do live stream with multiple audio trackProgressivenimble aliasesavoid refreshraspberryLoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignthumbnail dvr-thumbnailPaywallreportssoundHLS Meta Tag editing.credentialsS3 AWSVideo cant be playedtranscodevbv-maxratetranscoder nimbleHTML5 playerSecureJetson NanoFailoverVR-360livestreamintransocderautomateuser_agentbuildrist set fecABR bitratesPacketizingstorage space availablediskdelaympeg4alias route.movstoragepublish streamStream Delaytraffichd25AArch64DVRRecordingAuthlivestream bitratedockerdomain lockVOD HLS streaming on public IPoutputUsers limitcloudflarelarixanalisysscteInvalid frame headerno soundincoming streamGopdistributionLL-HLS DVRav1 codecNimbleStreamerqataritworkscdnvideo.jswirecasta recordhttp serverfastspringNimble streamermp2 audiodata slicesaliasplayer sldpabr fallbackNimble connectionsissuepricinggoogle cloud storageVP9buffering videoSO_RCVBUFCentos 8dissapointmentpay-per-minutebufferlatencyQuickTimevideo streamingwebhookdvr to liverestarthelpFallbackcompatibility protocolsmultiplexserver ip21SSL request3.6.1-1Max connectionUDP Multicastsha265broadcasterOSXmd5rulesError when installinghow-tomanage_dvrDVRStreamsaws amazonDVR SettingPORTanalyseStreamIDmulti-viewerincomingMPEG2 Videologo in streamrtpnimble dvrBandwidthportsRIST Bondingplayoutmultiple audio udphotlink protectionRaspberryPi4ultra low latencyprogressivebroadcast videoCross DomainSRT protocolvideo audioartifactsrtsp push androidtuningRemote StorageWowza AgentSSAI4GwebrtcNimble_CrushTeradek Decoderubuntu 18fallbackRTMP to SRTprerollstreamnimble on cloudrtmp sldp nimbleBroadcastSnapshotsLinuxRaspberrytasks-controlgpu{stream}MPEG-Dashlarix broadcasterLL-HLSthumbnailsvideo and audio not matchLarix broadcasterOBSPIDurlGoogle DriveHLS StreamingNetworkRAM Loadstatus:errortranscodingdownTonyFFMPEG;RTMP;I/O errorspeedup my videoiOSdvbsubfolderTLSV 1.2 Certificatedynamic linksCSSactionscript 3server ssl errorRistmultiplefairplayNginxmultiple audioadjustsoftware versionre-publishingSRT RTMP

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.