ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.3k stars 636 forks source link

When uploading vods it just keeps saving and never uploads #4560

Open ferggrbg opened 2 years ago

ferggrbg commented 2 years ago

I've left it on for around 6 hours, and its a 1 gb file, and it won't upload, everything has enough storage and both server's drives are fast, and internet fast. I've done this process multiple times

SelimEmre commented 2 years ago

Hi @ferggrbg,

I have tested with a 1.4GB file on my local environment. I couldn't reproduce it. Is it possible to add some(Ant Media Server and Browser) logs for that? It would be really helpful for us.

Best Regards, Selim

ferggrbg commented 2 years ago

Sorry, here are the logs!

undefined23:13:57,050 [Thread-27] ERROR io.antmedia.muxer.MuxAdaptor - io.antmedia.enterprise.adaptive.EncoderAdaptor 2022-11-12 23:13:57,050 [Thread-27] INFO i.a.AntMediaApplicationAdapter - Status of stream jHzqTozhTmkO1668279901048 is set to Broadcasting with result: true 2022-11-12 23:13:57,050 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - serverSettings exist @. 2022-11-12 23:13:57,050 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - vertx exist @. 2022-11-12 23:13:57,050 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - serverSettings exist @.*** 2022-11-12 23:13:57,050 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - adding HLS Muxer for jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,051 [Thread-27] INFO io.antmedia.muxer.HLSMuxer - hls time: 2, hls list size: 5 for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,052 [Thread-27] INFO i.a.streamsource.StreamFetcher - jHzqTozhTmkO1668279901048 stream count in stream http://143.110.144.130:5080/LiveApp/streams/710805096867076736848445.mp4 is 2 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - Video format codec Id: 173 width:1920 height:1080 for stream: jHzqTozhTmkO1668279901048 source index:0 target index:0 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext 2022-11-12 23:13:57,052 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Stream is not added for muxing to jHzqTozhTmkO1668279901048 for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,052 [Thread-27] WARN io.antmedia.muxer.MuxAdaptor - addStream returns false flv for stream: jHzqTozhTmkO1668279901048 for video stream 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.HLSMuxer - cannot init bit stream filter context for /usr/local/antmedia/webapps/LiveApp/streams/jHzqTozhTmkO1668279901048.m3u8 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.HLSMuxer - Adding timebase to the input time base map index:0 value: 1/30000 for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - Audio format sample rate:48000 bitrate:317373 for stream: jHzqTozhTmkO1668279901048 source index:1 target index:1 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/48000 for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,052 [Thread-27] INFO io.antmedia.muxer.HLSMuxer - Adding timebase to the input time base map index:1 value: 1/48000 for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,053 [Thread-27] INFO io.antmedia.muxer.HLSMuxer - Header is written for stream:jHzqTozhTmkO1668279901048 and url:/usr/local/antmedia/webapps/LiveApp/streams/jHzqTozhTmkO1668279901048.m3u8 2022-11-12 23:13:57,053 [Thread-27] INFO i.a.AntMediaApplicationAdapter - start publish leaved for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:13:57,053 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Not writing packet1 for jHzqTozhTmkO1668279901048 - Is running:false or stream index(0) is registered: false 2022-11-12 23:13:57,650 [vert.x-worker-thread-10] INFO io.antmedia.muxer.RtmpMuxer - Header is written for stream:jHzqTozhTmkO1668279901048 and url:rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:13:57,650 [vert.x-worker-thread-10] INFO io.antmedia.muxer.RtmpMuxer - write header takes 0 for rtmp:rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:13:57,650 [vert.x-worker-thread-10] INFO io.antmedia.muxer.MuxAdaptor - Endpoint status updated to broadcasting for streamId: jHzqTozhTmkO1668279901048 for url: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:13:57,651 [vert.x-worker-thread-10] INFO i.a.AntMediaApplicationAdapter - Status of stream jHzqTozhTmkO1668279901048 is set to Broadcasting with result: true 2022-11-12 23:13:59,857 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Not writing packet1 for jHzqTozhTmkO1668279901048 - Is running:true or stream index(0) is registered: false 2022-11-12 23:14:03,193 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Not writing packet1 for jHzqTozhTmkO1668279901048 - Is running:true or stream index(0) is registered: false 2022-11-12 23:14:06,530 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Not writing packet1 for jHzqTozhTmkO1668279901048 - Is running:true or stream index(0) is registered: false 2022-11-12 23:14:09,867 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Not writing packet1 for jHzqTozhTmkO1668279901048 - Is running:true or stream index(0) is registered: false 2022-11-12 23:14:12,703 [Thread-27] INFO io.antmedia.muxer.MuxAdaptor - Endpoint status updated to error for streamId: jHzqTozhTmkO1668279901048 for url: rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:14:12,713 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Cannot write audio packet for stream:jHzqTozhTmkO1668279901048 and url:rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt. Error is Broken pipe 2022-11-12 23:14:14,039 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Cannot write audio packet for stream:jHzqTozhTmkO1668279901048 and url:rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt. Error is Broken pipe 2022-11-12 23:14:14,704 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt and status: error 2022-11-12 23:14:14,704 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 1 times for endpoint rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:14:15,372 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Cannot write audio packet for stream:jHzqTozhTmkO1668279901048 and url:rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt. Error is Broken pipe 2022-11-12 23:14:16,705 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt and status: error 2022-11-12 23:14:16,705 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:14:16,707 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Cannot write audio packet for stream:jHzqTozhTmkO1668279901048 and url:rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt. Error is Broken pipe 2022-11-12 23:14:18,042 [Thread-27] WARN io.antmedia.muxer.RtmpMuxer - Cannot write audio packet for stream:jHzqTozhTmkO1668279901048 and url:rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt. Error is Broken pipe 2022-11-12 23:14:18,704 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt and status: error 2022-11-12 23:14:18,704 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Health check process failed, trying to republish to the endpoint: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:14:18,705 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.RtmpMuxer - writing trailer for stream: jHzqTozhTmkO1668279901048 2022-11-12 23:14:18,705 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished for streamId: jHzqTozhTmkO1668279901048 for url: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:14:18,705 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - start rtmp streaming for stream id:jHzqTozhTmkO1668279901048 to rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt with requested resolution height1080 stream resolution:1080 2022-11-12 23:14:18,706 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - prepareMuxer for stream:jHzqTozhTmkO1668279901048 muxer:RtmpMuxer 2022-11-12 23:14:18,706 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext 2022-11-12 23:14:18,706 [vert.x-eventloop-thread-24] WARN io.antmedia.muxer.RtmpMuxer - Stream is not added for muxing to jHzqTozhTmkO1668279901048 for stream:jHzqTozhTmkO1668279901048 2022-11-12 23:14:18,706 [vert.x-eventloop-thread-24] WARN io.antmedia.muxer.MuxAdaptor - muxer add streams returns false flv 2022-11-12 23:14:18,706 [vert.x-eventloop-thread-24] INFO io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed for streamId: jHzqTozhTmkO1668279901048 for url: rtmp:// a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt 2022-11-12 23:14:18,706 [vert.x-eventloop-thread-24] ERROR io.antmedia.muxer.MuxAdaptor - RTMP prepare returned false so that rtmp pushing to rtmp://a.rtmp.youtube.com/live2/fpju-qh1p-v8vw-kjad-f8kt for jHzqTozhTmkO1668279901048 didn't started 2022-11-12 23:15:01,786 [vert.x-eventloop-thread-0] INFO i.antmedia.statistic.StatsCollector - System cpu load:0 process cpu load:0 available memory: 7062636 KB used memory(RSS): 653472 KB 2022-11-12 23:15:01,787 [vert.x-eventloop-thread-0] INFO i.antmedia.statistic.StatsCollector - Vertx worker queue size:0 WebRTCVertx worker queue size:0 2022-11-12 23:19:02,391 [http-nio2-0.0.0.0-5080-exec-4] INFO io.antmedia.rest.RestServiceBase - Version Name 2.5.1 Version Type Community Edition

On Sat, Nov 12, 2022 at 14:49 Selim Emre Toy @.***> wrote:

Hi @ferggrbg https://github.com/ferggrbg,

I have tested with a 1.4GB file on my local environment. I couldn't reproduce it. Is it possible to add some(Ant Media Server and Browser) logs for that? It would be really helpful for us.

Best Regards, Selim

— Reply to this email directly, view it on GitHub https://github.com/ant-media/Ant-Media-Server/issues/4560#issuecomment-1312588943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN4JD7CIVK6UJLL2RKS4SETWIANGNANCNFSM6AAAAAAR6CXZBE . You are receiving this because you were mentioned.Message ID: @.***>

SelimEmre commented 2 years ago

Hi @ferggrbg,

It seems it's hard to understand these logs. Could you please book a meeting at this link: https://calendly.com/antmedia Then we can check it together in this meeting.

Best Regards, Selim