Forum

problem outputting playlist_dvr.m3u8 to mp4

Ricardo 2016-08-05 01:45:39 UTC in Nimble Streamer

The playlist_dvr.m3u8 outputs separate sessions as one contiguous video stream.

I followed directions to use ffmpeg to convert to an mp4 file. But I always lose a lot of content when doing that.

For example, I have one playlist_dvr.m3u8 which is 36:20 in duration. When I convert to mp4 it results in a video file 19:31 in duration.

I use this command:
ffmpeg -i http://localhost:8080/live/test/playlist_dvr.m3u8 -codec copy -bsf:a aac_adtstoasc /shared/tmp/test.mp4

When I run that command I see a ton of warning messages like this

[mp4 @ 0x3057780] Non-monotonous DTS in output stream 0:1; previous: 16898566, current: 16891056; changing to 16898567. This may result in incorrect timestamps in the output file.

Does anyone else see errors like this?

Alex Pokotilo 2016-08-05 02:07:04 UTC 

what is the source for live/test rtmp/rtsp/mpegts ?

Ricardo 2016-08-05 02:09:45 UTC 

thanks for your quick reply

It's a live RTMP stream sent to nimble, and I have setup a DVR stream

Alex Pokotilo 2016-08-05 02:58:10 UTC 

please dig a little deeper. what is sources stream from SDI/Sattelite or at least from that point you now about.
You should understand that messages like " previous: 16898566, current: 16891056; changing to 1689856" caused by source stream time problems so we know all story we can help with more probability

Ricardo 2016-08-05 04:32:14 UTC 

I don't follow what you mean.

I'm streaming a live event using Open Broadcaster Software sending an RTMP stream to nimble streamer.

After the streaming sessions are complete (no longer live streaming) I playback the playlist_dvr.m3u8 using ffmpeg in order to convert to mp4.

The reason there are time problems is because there are multiple streams from starting and stopping the broadcaster. But playlist_dvr plays a contiguous stream totaling 36:20 duration. But ffmpeg when converting to mp4 only gets 19 minutes

Ricardo 2016-08-05 05:02:25 UTC 

Is there another way to convert the dvr stream in playlist_dvr.m3u8 to mp4?

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRRTMPnimble streamerhlsABRcachewmsauthNimbleAPItranscoderffmpegdvrapiVODfailoverrtmpstreamingDASHwmspanelvodudprtsppaywallsubtitlessldpDispersaRTSPyoutubelivelivestreamingmp4MPEG-DASHWMSAuthpay-per-viewgeosrtdashstreamervideoSRTedgeabrWindowsencryptionhttpsUDPwhite labelconfiguser agentsmilFFMPEGmulticastsslaudioMPEG-TSre-streamingCORSmpeg-dashchunksraspberry piandroidbandwidthadvertizercorsvlcWMSPanelS3DRMrules.confadvertisingipv6MPEGTSFastSpringRAMwms panelthumbnailFMLEVATcrossdomainupdateRecordingmpegtsplaylistSMILakamaiaespushwowzaserversm3u8TranscodeerrorSSLbalanceplaylist_dvrWowzachromecastconfigurationIDreportingbugperformancedomainnimblestreamerIPloopHttpsVidillionmobilerepublishingchunkpublish controlcodecmpeg-tsawsAWSdownloadorigincloudfrontCDNraspiannimble webcam html5UIroutesbitrateRegistration Issuedirect link32-bit Windowstwitchanalysecache_controlitworkmelive abr support mpeg-dashwmspanelapirtmp abrbeirutWWDCdubaideep statshls to multicast udplogcloudIIS Smooth StreamingmediaHot-linking protectionHTTPSAbrHDSvaddioalertsjwplayer websiteAuthentication in HLSbaselinewhmcsCentOS v6.4pricelimitnginx rtmp nimbleOld logsAV BridgescreencastVaddioPI3 Ubuntuview timeattaching domainsinterfacesWMSCONFIG_HOMEmessagerestreamcostDVRRecordingloadbalancingmod_rewritemetadataprofileID3 tagsgbpsAxishls restreamingwmsauthsignhighhds streamVLClocalciscoresumenibler.net hotlinkdecodertransocding republishingVideo Playergentoo install server nimbleAliaslost trafficPublic Iptranscoding using NvidiaPaywall AuthofflinedocumentationlocationlebanonmanifestTrancoderconcurrent-connectionsfileipMP4 not playedspaceicecast urlruleseekinghot linkingServer-sidechangetasks-controlamfstoppedplayoutPlayReadyamazon web servicelimuxmaindvr stream twicehot-linkAXVVGconnectivitydvr streamunique visitoronblocknvencpay per viewHLS vodpaywalapplicationanalytics7brandingdvr_archivesmpeg dashtrialobsTCOopensslMP4microsoft streamerrorsrocksoftlog traffic statsExpression Encoderdebianprogressive downloadABR DASHlive video on demandFFmpegmultiple originsnimblesessionidHLS PlayerbandwithDASH Playerserverheaderlog nimble analysertmp playbackvideojssourcescreen freezecan't registerSnapshotsadaptiveAV1 codecNGINX-RTMPJWPLAYERprivate networkLarge DVR filesPullvideo stopno WMSPanellive videocrossdomain more then 1 domain4Kmac osx installattachmentwotermarkhelp errorvimeovod no soundconcurrent connectionload balanceAWS 3buttvsomcdnFairplaylive streamfallbackamazonControl APIRemote StorageWowza AgentLive streamingTranscoderWidevinenot foundsecuritypullAS3mpeg2tsServer-Side-Task-Controldisk migrationscreen capturestereo to monotwitch larix broadcaster androidDVRSettingsinstall players setup ready to goDelete recordsAppleicecastdrmresourceaes encryptionsubscriptionvideo loopABR HLS Bitrateslive pull settingsrtmp for YouTubestarttime duration seekpointrebootmonitordvr streamsnimble.confrtmp republishing transcodeIIS Media Servicsautomationnimble streamer web server php script pageNimble Streamer APIlivestreamoutrateapi accessDeep statsinterleavingweb playerNimble CapacityABR DVR problemnimble streamer vod hls transmuxingloggingLive Switcherlearnercontent-dispositionCross Domainactionscript 3Live Broadcastnot to stealinsert logoNimble ServerAVCaptureMovieFileOutputblock downloadRTMP republishPIDPost processingadd_chunk failedfake extensionMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHbroadcasterOSXstatus:errorFFMPEG;RTMP;I/O errortranscodingHotlinking ProtectionStreaming routelarix broadcasterMPEG-Dashnimble on cloudprerollpremium featureThumbnailsserver incorrect timeLiveLIVEpaymentstatsHow to do live stream with multiple audio trackProgressivenimble aliasesreloadrmtpno internetdemandSecureprogressiveraspberryavoid refreshreportsHLS StreamingAndroiduser_agentdvr on wmspanelVideo cant be playedS3 AWSthumbnail dvr-thumbnailLoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignBroadcastLarixlatencylivestream bitratecredentialsadjustPORTDVR Settingvbv-maxratetranscodeRepublishingdelaympeg4transcoder nimbleVR-360FailoverbuildPacketizingABR bitratesubuntu 18Teradek DecoderSLDPabr fallbackNimble connectionscloudflareUsers limitoutputVOD HLS streaming on public IPdomain lockcontentRTMP Republish.movalias routestoragedistributionanalisyssctespeedup my videoiOSrtsp push androidartifactscache expiryvideo streamingQuickTimepublish streamtraffichd25AArch64incoming streamno soundInvalid frame headergoogle cloud storagepricingissuecpuDVR Setting limitssaibufferGopHTML5 playerCSSvideo.jsitworkscdnqatartransocderlivestreaminav1 codecNimbleStreamerstorage space availabledisk3.6.1-1Viewer StatsNDIdissapointmentpay-per-minuteSO_RCVBUFbuffering videoadvp9soundHLS Meta Tag editing.streamsnimble dvrdurationBandwidthgpuPaywallvideo and audio not matchhow-toError when installingrulesDVRStreamsaws amazonhelpFallbackrestartIOSdata slicesaliasplayer sldpmp2 audiofastspringwebhookdvr to liveMPEG2 Videologo in streamUDP MulticastMax connectiona recordwirecasthttp serverSSL requestserver ip21

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.