livepeer / file-video

https://file.video
79 stars 14 forks source link

NetworkError when attempting to fetch resource. #19

Open chrishobcroft opened 3 years ago

chrishobcroft commented 3 years ago

Steps to reproduce:

  1. Load up live.video in Firefox on Android

  2. Select to "Upload a video file"

  3. Record a new video and submit OR select an existing video file

  4. See error: NetworkError when attempting to fetch resource.

Screenshot_20201024-161624

Also happening on Firefox on Ubuntu

image

rajgoesout commented 3 years ago

Did you use an hevc encoded file? Livepeer currently supports h264.

rajgoesout commented 3 years ago

I just faced this issue on firefox on android.

adamsoffer commented 3 years ago

I'm getting the following error uploading an mp4 in safari: Preflight response is not successful

and the following in Brave: Failed to fetch

tushenkaman commented 3 years ago

Same here. I tried to load mp4 from Android and got fetching error.

rajgoesout commented 3 years ago

Hello, we were facing a cache invalidation issue in the server, due to which the service was failing. It now seems to be resolved. Could you try it out again, and let us know if you're still facing any problems?

tushenkaman commented 3 years ago

The "fetching error" has gone now. But got another one: I can successfully upload this file:

General Complete name : 2_5433866737407757750.mp4 Format : MPEG-4 Format profile : Base Media File size : 2.22 MiB Duration : 30 s 932 ms Overall bit rate mode : Variable Overall bit rate : 601 kb/s Encoded date : UTC 2020-12-31 15:24:19 Tagged date : UTC 2020-12-31 15:24:19

Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main Format level : 3 Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Muxing mode : Container profile=Main@0.3 Codec ID : avc1 Duration : 30 s 932 ms Bit rate : 531 kb/s Width : 640 pixels Height : 640 pixels Display aspect ratio : 1.000 Frame rate mode : Variable Frame rate : 30.000 FPS Minimum frame rate : 30.000 FPS Maximum frame rate : 30.060 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.043 Stream size : 1.96 MiB (88%) Title : VideoHandle Writing library : x264 core 157 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=8 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=1638 / vbv_bufsize=3276 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=2:1.00 Language : English Encoded date : UTC 2020-12-31 15:24:18 Tagged date : UTC 2020-12-31 15:24:19 Color range : Limited Color primaries : BT.601 PAL Transfer characteristics : BT.601 Matrix coefficients : BT.601 Codec configuration box : avcC

Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Codec ID : mp4a-40-2 Duration : 30 s 882 ms Bit rate mode : Variable Bit rate : 64.2 kb/s Nominal bit rate : 44.1 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 242 KiB (11%) Title : SoundHandle Language : English Encoded date : UTC 2020-12-31 15:24:18 Tagged date : UTC 2020-12-31 15:24:19

But for another file I got "error streaming video" after "finishing up". This file recorded on my Galaxy Note 20 Ultra:

General Complete name : 20210107_112538.mp4 Format : MPEG-4 Format profile : Base Media File size : 13.6 MiB Duration : 13 s 447 ms Overall bit rate : 8 498 kb/s Encoded date : UTC 2021-01-07 04:25:53 Tagged date : UTC 2021-01-07 04:25:53 xyz : +07.7938+098.3275/ com_android_version : 11

Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main Format level : 4 Format tier : Main Codec ID : hvc1 Duration : 13 s 447 ms Source duration : 13 s 445 ms Bit rate : 8 238 kb/s Width : 1 440 pixels Height : 1 440 pixels Display aspect ratio : 1.000 Frame rate mode : Variable Frame rate : 29.970 FPS Minimum frame rate : 22.427 FPS Maximum frame rate : 42.898 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.133 Stream size : 13.2 MiB (97%) Source stream size : 13.2 MiB (97%) Title : VideoHandle Language : English Encoded date : UTC 2021-01-07 04:25:53 Tagged date : UTC 2021-01-07 04:25:53 Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 transfercharacteristics : BT.601 Matrix coefficients : BT.709 mdhd_Duration : 13447 Codec configuration box : hvcC

Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Codec ID : mp4a-40-2 Duration : 13 s 419 ms Bit rate mode : Constant Bit rate : 256 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 419 KiB (3%) Title : SoundHandle Language : English Encoded date : UTC 2021-01-07 04:25:53 Tagged date : UTC 2021-01-07 04:25:53

rajgoesout commented 3 years ago

Hey @tushenkaman livepeer doesn't support hevc encoded video right now.

tushenkaman commented 3 years ago

@rajdeepbharati ok :) hope you add it soon.