Error log:
2021-03-10 07:44:11,114: /home/vishnuji/blog/youtube/views.py:48: DeprecationWarning: Call to deprecated function all (This object can be treated as a list, all() is useless).
2021-03-10 07:44:11,115: stream_all= yt.streams.all()
2021-03-10 07:44:52,483: /home/vishnuji/blog/youtube/views.py:48: DeprecationWarning: Call to deprecated function all (This object can be treated as a list, all() is useless).
2021-03-10 07:44:52,483: stream_all= yt.streams.all()
2021-03-10 07:45:00,251: None
2021-03-10 07:45:00,252: b"ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers\n built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609\n configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv\n libavutil 54. 31.100 / 54. 31.100\n libavcodec 56. 60.100 / 56. 60.100\n libavformat 56. 40.101 / 56. 40.101\n libavdevice 56. 4.100 / 56. 4.100\n libavfilter 5. 40.101 / 5. 40.101\n libavresample 2. 1. 0 / 2. 1. 0\n libswscale 3. 1.101 / 3. 1.101\n libswresample 1. 2.101 / 1. 2.101\n libpostproc 53. 3.100 / 53. 3.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/vishnuji/Downloads/audio.mp4':\n Metadata:\n major_brand : dash\n minor_version : 0\n compatible_brands: iso6mp41\n creation_time : 2020-01-28 19:11:09\n Duration: 00:04:39.71, start: 0.000000, bitrate: 129 kb/s\n Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 4 kb/s (default)\n Metadata:\n creation_time : 2020-01-28 19:11:09\n handler_name : ISO Media file produced by Google Inc.\nInput #1, mov,mp4,m4a,3gp,3g2,mj2, from '/home/vishnuji/Downloads/video.mp4':\n Metadata:\n major_brand : mp42\n minor_version : 0\n compatible_brands: isommp42\n creation_time : 2020-01-28 19:00:25\n Duration: 00:04:39.71, start: 0.000000, bitrate: 655 kb/s\n Stream #1:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 556 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\n Metadata:\n creation_time : 2020-01-28 19:00:25\n handler_name : ISO Media file produced by Google Inc. Created on: 01/28/2020.\n Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)\n Metadata:\n creation_time : 2020-01-28 19:00:25\n handler_name : ISO Media file produced by Google Inc. Created on: 01/28/2020.\n[aac @ 0x281d840] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.\n"