Advertisement
Guest User

Untitled

a guest
Apr 4th, 2020
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.29 KB | None | 0 0
  1. [04/Apr/2020 19:15:38] "GET /admin/jsi18n/ HTTP/1.1" 200 7275
  2. 1. RUNNING THE SIGNAL
  3. 2. RUNNING CODINGO INTO IF STATMENT
  4. 3. RUNNING SUBPROCESS CODE
  5. ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  6.   built with gcc 9.3.0 (Arch Linux 9.3.0-1)
  7.   configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  8.   libavutil      56. 31.100 / 56. 31.100
  9.   libavcodec     58. 54.100 / 58. 54.100
  10.   libavformat    58. 29.100 / 58. 29.100
  11.   libavdevice    58.  8.100 / 58.  8.100
  12.   libavfilter     7. 57.100 /  7. 57.100
  13.   libswscale      5.  5.100 /  5.  5.100
  14.   libswresample   3.  5.100 /  3.  5.100
  15.   libpostproc    55.  5.100 / 55.  5.100
  16. Input #0, matroska,webm, from '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20.mkv':
  17.   Metadata:
  18.     ENCODER         : Lavf58.29.100
  19.   Duration: 00:00:02.35, start: 0.000000, bitrate: 2564 kb/s
  20.     Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1920x1080, 60 fps, 60 tbr, 1k tbn, 120 tbc (default)
  21.     Metadata:
  22.       DURATION        : 00:00:02.350000000
  23.     Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
  24.     Metadata:
  25.       title           : Track1
  26.       DURATION        : 00:00:02.322000000
  27. Stream mapping:
  28.   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  29.   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
  30. Press [q] to stop, [?] for help
  31. [libx264 @ 0x5655575f3ec0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
  32. [libx264 @ 0x5655575f3ec0] profile High, level 4.2, 4:2:0, 8-bit
  33. [libx264 @ 0x5655575f3ec0] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 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 ip_ratio=1.40 aq=1:1.00
  34. [hls @ 0x5655575f3000] Opening '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-200.ts' for writing
  35. Output #0, hls, to '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20.m3u8':
  36.   Metadata:
  37.     encoder         : Lavf58.29.100
  38.     Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080, q=-1--1, 60 fps, 90k tbn, 60 tbc (default)
  39.     Metadata:
  40.       DURATION        : 00:00:02.350000000
  41.       encoder         : Lavc58.54.100 libx264
  42.     Side data:
  43.       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  44.     Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
  45.     Metadata:
  46.       title           : Track1
  47.       DURATION        : 00:00:02.322000000
  48.       encoder         : Lavc58.54.100 aac
  49. [hls @ 0x5655575f3000] Opening '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20.m3u8.tmp' for writing
  50. frame=  141 fps=0.0 q=-1.0 Lsize=N/A time=00:00:02.34 bitrate=N/A speed=2.51x    
  51. video:161kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  52. [libx264 @ 0x5655575f3ec0] frame I:1     Avg QP:18.16  size: 10983
  53. [libx264 @ 0x5655575f3ec0] frame P:41    Avg QP:21.13  size:  2892
  54. [libx264 @ 0x5655575f3ec0] frame B:99    Avg QP:29.24  size:   348
  55. [libx264 @ 0x5655575f3ec0] consecutive B-frames:  4.3%  5.7%  2.1% 87.9%
  56. [libx264 @ 0x5655575f3ec0] mb I  I16..4: 45.8% 52.7%  1.5%
  57. [libx264 @ 0x5655575f3ec0] mb P  I16..4:  3.2%  1.7%  0.2%  P16..4:  3.0%  0.2%  0.2%  0.0%  0.0%    skip:91.6%
  58. [libx264 @ 0x5655575f3ec0] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  2.6%  0.0%  0.0%  direct: 1.1%  skip:96.1%  L0:50.9% L1:48.9% BI: 0.1%
  59. [libx264 @ 0x5655575f3ec0] 8x8 transform intra:40.1% inter:25.1%
  60. [libx264 @ 0x5655575f3ec0] coded y,uvDC,uvAC intra: 4.5% 10.3% 2.0% inter: 0.3% 1.3% 0.1%
  61. [libx264 @ 0x5655575f3ec0] i16 v,h,dc,p: 61% 36%  2%  1%
  62. [libx264 @ 0x5655575f3ec0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28%  5% 67%  0%  0%  0%  0%  0%  0%
  63. [libx264 @ 0x5655575f3ec0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 39% 20%  0%  0%  0%  1%  0%  1%
  64. [libx264 @ 0x5655575f3ec0] i8c dc,h,v,p: 72% 21%  7%  0%
  65. [libx264 @ 0x5655575f3ec0] Weighted P-Frames: Y:0.0% UV:0.0%
  66. [libx264 @ 0x5655575f3ec0] ref P L0: 80.1%  5.5% 10.8%  3.6%
  67. [libx264 @ 0x5655575f3ec0] ref B L0: 65.0% 31.7%  3.3%
  68. [libx264 @ 0x5655575f3ec0] ref B L1: 95.1%  4.9%
  69. [libx264 @ 0x5655575f3ec0] kb/s:558.17
  70. [aac @ 0x565557613680] Qavg: 65536.000
  71. 4. RUNNING WITH OPEN TO SAVE THE FILE
  72. 1. RUNNING THE SIGNAL
  73. 2. RUNNING CODINGO INTO IF STATMENT
  74. 3. RUNNING SUBPROCESS CODE
  75. ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  76.   built with gcc 9.3.0 (Arch Linux 9.3.0-1)
  77.   configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  78.   libavutil      56. 31.100 / 56. 31.100
  79.   libavcodec     58. 54.100 / 58. 54.100
  80.   libavformat    58. 29.100 / 58. 29.100
  81.   libavdevice    58.  8.100 / 58.  8.100
  82.   libavfilter     7. 57.100 /  7. 57.100
  83.   libswscale      5.  5.100 /  5.  5.100
  84.   libswresample   3.  5.100 /  3.  5.100
  85.   libpostproc    55.  5.100 / 55.  5.100
  86. [hls @ 0x5655575c9100] Skip ('#EXT-X-VERSION:3')
  87. [hls @ 0x5655575c9100] Opening '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-200.ts' for reading
  88. Input #0, hls, from '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20_8bbOfdb.m3u8':
  89.   Duration: 00:00:02.35, start: 1.410111, bitrate: 0 kb/s
  90.   Program 0
  91.     Metadata:
  92.       variant_bitrate : 0
  93.     Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, 60 fps, 60 tbr, 90k tbn, 120 tbc
  94.     Metadata:
  95.       variant_bitrate : 0
  96.     Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
  97.     Metadata:
  98.       variant_bitrate : 0
  99. Stream mapping:
  100.   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  101.   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
  102. Press [q] to stop, [?] for help
  103. [libx264 @ 0x56555763e340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
  104. [libx264 @ 0x56555763e340] profile High, level 4.2, 4:2:0, 8-bit
  105. [libx264 @ 0x56555763e340] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 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 ip_ratio=1.40 aq=1:1.00
  106. [hls @ 0x565557631380] Opening '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20_8bbOfdb0.ts' for writing
  107. Output #0, hls, to '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20_8bbOfdb.m3u8':
  108.   Metadata:
  109.     encoder         : Lavf58.29.100
  110.     Stream #0:0: Video: h264 (libx264), yuv420p(progressive), 1920x1080, q=-1--1, 60 fps, 90k tbn, 60 tbc
  111.     Metadata:
  112.       variant_bitrate : 0
  113.       encoder         : Lavc58.54.100 libx264
  114.     Side data:
  115.       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  116.     Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s
  117.     Metadata:
  118.       variant_bitrate : 0
  119.       encoder         : Lavc58.54.100 aac
  120. [hls @ 0x565557631380] Opening '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20_8bbOfdb.m3u8.tmp' for writing
  121. frame=  142 fps=0.0 q=-1.0 Lsize=N/A time=00:00:02.36 bitrate=N/A dup=1 drop=0 speed=2.44x    
  122. video:154kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  123. [libx264 @ 0x56555763e340] frame I:1     Avg QP:18.30  size: 11407
  124. [libx264 @ 0x56555763e340] frame P:41    Avg QP:21.28  size:  2724
  125. [libx264 @ 0x56555763e340] frame B:100   Avg QP:30.51  size:   336
  126. [libx264 @ 0x56555763e340] consecutive B-frames:  4.9%  2.8%  2.1% 90.1%
  127. [libx264 @ 0x56555763e340] mb I  I16..4: 40.1% 58.3%  1.6%
  128. [libx264 @ 0x56555763e340] mb P  I16..4:  1.9%  2.5%  0.1%  P16..4:  3.1%  0.2%  0.1%  0.0%  0.0%    skip:92.0%
  129. [libx264 @ 0x56555763e340] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.3%  0.0%  0.0%  direct: 1.3%  skip:96.4%  L0:43.7% L1:56.0% BI: 0.3%
  130. [libx264 @ 0x56555763e340] 8x8 transform intra:56.0% inter:26.8%
  131. [libx264 @ 0x56555763e340] coded y,uvDC,uvAC intra: 4.6% 10.7% 2.0% inter: 0.3% 1.5% 0.1%
  132. [libx264 @ 0x56555763e340] i16 v,h,dc,p: 54% 42%  3%  1%
  133. [libx264 @ 0x56555763e340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37%  5% 58%  0%  0%  0%  0%  0%  0%
  134. [libx264 @ 0x56555763e340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 40% 21%  1%  0%  1%  1%  0%  1%
  135. [libx264 @ 0x56555763e340] i8c dc,h,v,p: 72% 20%  7%  0%
  136. [libx264 @ 0x56555763e340] Weighted P-Frames: Y:0.0% UV:0.0%
  137. [libx264 @ 0x56555763e340] ref P L0: 84.8%  6.8%  6.1%  2.2%
  138. [libx264 @ 0x56555763e340] ref B L0: 78.1% 19.7%  2.2%
  139. [libx264 @ 0x56555763e340] ref B L1: 94.2%  5.8%
  140. [libx264 @ 0x56555763e340] kb/s:529.59
  141. [aac @ 0x5655576bed00] Qavg: 65536.000
  142. 4. RUNNING WITH OPEN TO SAVE THE FILE
  143. Internal Server Error: /admin/lectures/lecture/add/
  144. Traceback (most recent call last):
  145.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
  146.     response = get_response(request)
  147.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
  148.     response = self.process_exception_by_middleware(e, request)
  149.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
  150.     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  151.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/contrib/admin/options.py", line 607, in wrapper
  152.     return self.admin_site.admin_view(view)(*args, **kwargs)
  153.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
  154.     response = view_func(request, *args, **kwargs)
  155.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
  156.     response = view_func(request, *args, **kwargs)
  157.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/contrib/admin/sites.py", line 231, in inner
  158.     return view(request, *args, **kwargs)
  159.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1638, in add_view
  160.     return self.changeform_view(request, None, form_url, extra_context)
  161.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
  162.     return bound_method(*args, **kwargs)
  163.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
  164.     response = view_func(request, *args, **kwargs)
  165.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1522, in changeform_view
  166.     return self._changeform_view(request, object_id, form_url, extra_context)
  167.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1565, in _changeform_view
  168.     self.save_model(request, new_object, form, not add)
  169.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1081, in save_model
  170.     obj.save()
  171.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/model_utils/tracker.py", line 239, in save
  172.     ret = original_save(instance, *args, **kwargs)
  173.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/db/models/base.py", line 745, in save
  174.     self.save_base(using=using, force_insert=force_insert,
  175.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/db/models/base.py", line 793, in save_base
  176.     post_save.send(
  177.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 173, in send
  178.     return [
  179.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 174, in <listcomp>
  180.     (receiver, receiver(signal=self, sender=sender, **named))
  181.   File "/home/marcos/geeknoon/geeknoon_server/lectures/signals.py", line 48, in handle_video_upload
  182.     instance.file.save(m3u8_filename, file_m3u8)
  183.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/db/models/fields/files.py", line 93, in save
  184.     self.instance.save()
  185.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/model_utils/tracker.py", line 239, in save
  186.     ret = original_save(instance, *args, **kwargs)
  187.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/db/models/base.py", line 745, in save
  188.     self.save_base(using=using, force_insert=force_insert,
  189.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/db/models/base.py", line 793, in save_base
  190.     post_save.send(
  191.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 173, in send
  192.     return [
  193.   File "/home/marcos/.local/share/virtualenvs/geeknoon_server-HmoJlbqP/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 174, in <listcomp>
  194.     (receiver, receiver(signal=self, sender=sender, **named))
  195.   File "/home/marcos/geeknoon/geeknoon_server/lectures/signals.py", line 46, in handle_video_upload
  196.     with open(m3u8_absolute_path, "r") as file_object:
  197. FileNotFoundError: [Errno 2] No such file or directory: '/home/marcos/geeknoon/geeknoon_server/local/media/media/lectures/second/2020-04-04_16-11-20_8bbOfdb.m3u8'
  198. [04/Apr/2020 19:15:47] "POST /admin/lectures/lecture/add/ HTTP/1.1" 500 186951
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement