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 StreamerFAQHLSDVRnimble streamerRTMPhlsSRTABRcachewmsauthNimbleAPItranscoderrtmpsrtapidvrffmpegVODudpRTSPsldpfailoverDASHstreamingrtspwmspanelSLDPliveyoutubevodUDPmp4paywallabrsubtitlesDispersavideoLarixmulticastaudioandroidlivestreamingWMSAuthMPEG-DASHpay-per-viewgeoMPEG-TSdashstreameredgebandwidthWMSPanelsslthumbnailWindowsencryptionhttpswhite labelplaylistconfigsmilFFMPEGperformanceCORSchunksraspberry pire-streamingmpeg-dashpublish controlcorscloudfrontDRMRepublishingadvertizerrepublishingvlcS3user agentNDIristrules.confadvertisingipv6MPEGTSFastSpringRAMwms panelRecordingfileFMLEVATcrossdomainSMILmpegtsaespushakamaiwowzamobileserversPullcodecerrorbalanceSSLTranscodem3u8TranscoderchromecastWowzaIDbugconfigurationreportingdownloadsnapshotawsmpeg-tsLarix BroadcasterAndroidnimblestreamerdomainloopraspianAWSoriginscte35CDNipupdateroutesamazonlarix broadcasterplaylist_dvrVidillionHttpschunkIPsecurityUInimble webcam html5Registration Issuedirect link32-bit Windowstwitchcache_controlitworkmecudalive abr support mpeg-dashwmspanelapibeirutreloadWWDCdubaideep statsCentOS v6.4hls to multicast udpnooblogIIS Smooth StreamingcloudmediaAbrHTTPSHot-linking protectionHDSvaddioalertsjwplayer websitewhmcsbaselinetimelineVaddioAV BridgePI3 Ubuntuview timeAuthentication in HLSNimble Streamer APIPi4priceinterfacesresourcelimitOld logsencrytpionCloud Storagescte-35loadbalancingscreencastmetadatamod_rewriteprofilelarix abrAxisgbpsID3 tagswmsauthsignhighattaching domainshds streamcontainer*ciscolocalsdpshoutcast.net hotlinkdatmessageWMSCONFIG_HOMErestreamcostrtmp abrgentoo install server nimblePublic Iptranscoding using NvidiaPaywall AuthofflinedocumentationNimble streamer upgradehls restreamingTrancoderconcurrent-connectionsVLCresumeniblerServer-sideVideo Playertransocding republishingdecoderstoppedNimble Streamer versionmainAliaslost trafficpay per viewicecast urldvr_archivesmpeg dashnginx rtmp nimblehot linkinglebanonlocationmanifestwildcardobsTCORaspian BusterchangeMP4 not playedspaceexportopensslamfLarix GroveseekingExpression EncoderonSteam stopped workinglimuxamazon web servicePlayReadynginxHLS voddvr stream twicerepublishHLS PlayerAXVVGhot-linkDASH Playeranalyticspaywalapplicationblocknvencjpeg7brandingtrialdebianmicrosoft streamMP4screen freezecan't registererrorsrocksoftlog traffic statsLarge DVR filesprivate networklive video on demandbandwithno WMSPanelserverlive videonimblesessionidFFmpegmultiple originsinterleavingSLDP PLayerABR DASHprogressive downloadmac osx installwotermarksourceheadervimeohelp errorLive Streaminglog nimble analysertmp playbackload balancezabbixAdsvideojscache expiryvideo stopcdnvsombitrate#restreamlive streamViewer StatsstreamsadaptiveAV1 codecJWPLAYERNGINX-RTMPHEVCattachmentDelaympeg2tsServer-Side-Task-Controldisk migrationvod no soundconcurrent connectiondvr on wmspaneldvr streamconnectivityUbuntu 20 ARM - AWSunique visitor4Kcrossdomain more then 1 domainscreen capturestereo to monocpuaes encryptionsubscriptionWidevineFairplayWMSPanel settingslive pull settingsABR HLS BitratesbuttAWS 3rtmp for YouTubedrmnot foundCPU LoadpullControl APIAS3Live streaminginstall players setup ready to goDVRSettingstwitch larix broadcaster androidAppleDelete recordsadd_chunk failedPost processingfake extensionnimble streamer vod hls transmuxinglogginglearnernimble streamer web server php script pageautomationCross Domainoutrateudp streaminginsert logovideo loopicecaststarttime duration seekpointrebootmonitorapi accessDeep statsloadbalancerinvalidMPEG DASHUbuntu artful 17.10Transcoder MPEG DASHweb playerblock downloadAVCaptureMovieFileOutputdvr streamslivestreamcontent-dispositionNimble CapacityABR DVR problemLive SwitcherNimble Servernot to stealLive BroadcastfacebookStreaming routeHotlinking ProtectionSecuritysecure streamingpaymentRTMP republishstatsadvp9contentRTMP RepublishdemandIOSpremium featureserver incorrect timeThumbnailsssaiDVR Setting limitLiveLIVELoad-Balancingnimble streamer mpeg-ts multiple inputswmsAuthSignrmtpInterlaceno internetsoundHLS Meta Tag editing.How to do live stream with multiple audio trackProgressivenimble aliasestranscoder nimblethumbnail dvr-thumbnailavoid refreshraspberryreportsPaywallS3 AWSVideo cant be playedcredentialsstorage space availabledisktranscodevbv-maxrateSecureJetson NanoHTML5 playerlivestreamintransocderFailoverVR-360publish streamStream Delaytraffichd25AArch64webhookdvr to liveautomateuser_agentbuildrist set fecABR bitratesPacketizingdomain lockoutputUsers limitcloudflareVOD HLS streaming on public IPlarixanalisyssctedelaympeg4storagealias route.movInvalid frame headerno soundincoming streamSubtitlesDVRRecordingAuthlivestream bitratedockerGopLL-HLS DVRav1 codecNimbleStreamerfastspringNimble streamermp2 audiodata slicesaliasplayer sldpdistributionVP9http serverwirecasta recordqataritworkscdnvideo.jslatencyno audiobuffering videoSO_RCVBUFbufferCentos 8dissapointmentpay-per-minuteQuickTimevideo streamingcompatibility protocolsmultiplexactionscript 3server ssl errorCSSTeradek Decoderubuntu 18restarthelpFallback3.6.1-1server ip21SSL requestMax connectionUDP Multicastincomingmulti-viewersha265RIST BondingplayoutrulesError when installinghow-tomanage_dvrDVRStreamsaws amazonmultiple audio udphotlink protectionRaspberryPi4ultra low latencyMPEG2 Videologo in streamDVR SettingPORTanalyseStreamIDprogressivebroadcast video4GwebrtcNimble_Crushvideo audioSRT protocolartifactsrtsp push androidtuningWowza AgentRemote StorageSSAIprerollstreamrtmp sldp nimblenimble on cloudfallbackRaspberrytasks-controlLinuxRTMP to SRTBroadcastvideo and audio not matchLarix broadcastergpu{stream}SnapshotsOBSMPEG-DashLL-HLSGoogle DriveHLS StreamingPIDurlnimble.confrtmp republishing transcodeIIS Media Servicstrackspeedup my videoiOSmultipointrulethumbnailssubfolderTLSV 1.2 Certificatedynamic linksdvbNetworkRAM Loadstatus:errortranscodingdownTonyFFMPEG;RTMP;I/O errorissuepricinggoogle cloud storageRistmultiplertpnimble dvrdurationBandwidthYadifportsfairplayNginxbroadcasterOSXmd5abr fallbackNimble connectionsletsencryptmultiple 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.