Forum

FFMPEG : Transcoding

Sergio 2016-03-30 17:57:56 UTC in Nimble Streamer

Hi,

I'm trying transcoding a live streaming with this code :

/usr/local/bin/ffmpeg -i rtmp://163.172.25.219:1935/test/test -vcodec libx264 -preset veryfast -b:v 2000k -maxrate 2000k -bufsize 2000k -s 1280x720 -sws_flags lanczos -r 60 -acodec copy -f flv rtmp://163.172.25.219:1935/test/test2

But it does not work.

regards,

Yury Udovichenko 2016-03-31 02:11:31 UTC 

Hi,

Please specify what exactly doesn't work - what behavior do you see.
If it's related to Nimble Streamer, please post your question to https://wmspanel.com/help

Joël 2016-04-01 10:45:51 UTC 

Hi,
you need rtmp authentication like:

-f flv "rtmp://ip-nimble-server:1935/application?rtmpauth=user:password/stream"

karwan 2016-04-03 23:24:42 UTC 

Nimble rtmp authentication

rtmp://user:paaswd@server:1935/live/test

karwan 2016-04-14 20:47:59 UTC 

Ubuntu 14.04 should be amended as follows

/usr/local/bin/ffmpeg -i
to
ffmpeg -i

Andrey 2018-08-13 09:43:50 UTC 

rtmp
I created interface and application with the name "live" login and password also "live"
in ffmpeg rtmp://live:live@ip/live
I get [rtmp @ 0x561816633140] Can not read RTMP handshake response
If I try to use srt then
[srt @ 0x55c5c96b0540] Connection setup failure: connection time out.
srt: //80.85.245.11: 1234: Unknown error occurred
11: 58: 41.143066 / SRT: RcvQ: worker !! FATAL !!: SRT.c: CChannel reported ERROR DURING TRANSMISSION - IPE. INTERRUPTING worker anyway.

Max 2018-08-13 12:17:50 UTC 

Hello Andrey,

Are you trying to pull or push RTMP stream? What is the full command you're trying to use?

Andrey 2018-08-13 12:36:46 UTC 

coder push to nimble
if push mpegts udp there are problems with delays. Coder and Nimble are located in different cities

coder ubuntu
ffmpeg -y -re -i $FILE_INPUT -map 0:v -c:v:0 $VCODEC -vf:v:0 bwdif=0 -r:v:0 25 -maxrate:v:0 300k -bufsize: v:0 300k -b:v:0 300k -s:v:0 640x480 -profile:v:0 main -map 0:v -c:v:1 $VCODEC -vf:v:1 bwdif=0 -r:v:1 25 -maxrate:v:1 600k -bufsize: v:1 600k -b:v:1 600k -s:v:1 1024x768 -profile:v:1 main -map 0:a -c:a:0 $ACODEC -b:a:0 64k -f flv "rtmp://live:live@nimble_ip/live"

In nimble created interface and application with rtmp and name "live" login and password also "live"

Max 2018-08-13 12:39:13 UTC 

Try to push it without authentication enabled, will it work?

I'd also suggest to try pushing with URL authentication like it described in https://blog.wmspanel.com/2014/07/rtmp-publish-url-authentication.html article.

Andrey 2018-08-13 13:35:55 UTC 

in coder
[rtmp @ 0x55745b76bac0] Cannot read RTMP handshake response
rtmp://nimble_ip/live?rtmpauth=live:live/stream: Connection reset by peer

without authentication
Global setting Nimble clear login and password and clear login and password in application "live"

[rtmp @ 0x56021f8c00c0] Cannot read RTMP handshake response
rtmp://nimble_ip/live: Connection reset by peer

Max 2018-08-13 13:37:18 UTC 

Please check nimble.log on the server, are there any errors?

Andrey 2018-08-13 13:52:55 UTC 

No(

Max 2018-08-14 02:46:07 UTC 

Hello Andrey,

Please file a support ticket via https://wmspanel.com/help form and provide us publish point URL so we could check what is going wrong in your case.

Thank you.

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.