[BUG] NameError: name 'find_ffprobe' is not defined
Issue #126
resolved
While downloading from SBS
encounter this bug after it finish downloading and it converting the TS file to MP4..
Also the TS file remain undeleted with the same name MP4 file in the folder
BUG
Choose> 2713
INFO Downloading: Vice Guide To Film S1 Ep4 - Quentin Tarantino.ts
[cli][info] Found matching plugin hls for URL hlsvariant://https://sbs-vod-prod-01.akamaized.net/Content/HLS_TSO/VOD/geo/11608/13266/768b0140-b224-4195-97ab-77c51f054c64/2ac3f005-fbeb-f5a5-3731-d7bde78c5237/master.m3u8?hdnea=st%3D1685889964%7Eexp%3D1685907964%7Eacl%3D%2FContent%2FHLS_TSO%2FVOD%2Fgeo%2F11608%2F13266%2F768b0140-b224-4195-97ab-77c51f054c64%2F2ac3f005-fbeb-f5a5-3731-d7bde78c5237%2F%2A%7Ehmac%3D441e6e0996800180d1f0a943e1e5d0f94bf9b5afe0a3b1e6f06e3b16aeb6e1ed
[cli][info] Available streams: 224p (worst), 360p_alt, 360p, 720p (best)
[cli][info] Opening stream: 720p (hls)
[download][.. - Quentin Tarantino.ts] Written 272.3 MB (1m6s @ 4.0 MB/s)
[cli][info] Stream ended
[cli][info] Closing currently open stream...
INFO Converting Vice Guide To Film S1 Ep4 - Quentin Tarantino.ts to mp4
ffmpeg version N-87027-gd826951 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.103.100 / 57.103.100
libavformat 57. 76.100 / 57. 76.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6.100.100 / 6.100.100
libswscale 4. 7.102 / 4. 7.102
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mpegts, from 'Vice Guide To Film S1 Ep4 - Quentin Tarantino.ts':
Duration: 00:21:24.88, start: 21.999000, bitrate: 1787 kb/s
Program 1
Stream #0:0[0x20]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x21](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 123 kb/s
Output #0, mp4, to 'Vice Guide To Film S1 Ep4 - Quentin Tarantino.mp4':
Metadata:
encoder : Lavf57.76.100
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 123 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=32122 fps=11892 q=-1.0 Lsize= 256557kB time=00:21:24.85 bitrate=1635.8kbits/s speed= 476x
video:235429kB audio:20076kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.411708%
Traceback (most recent call last):
File "grabber.py", line 62, in <module>
main()
File "grabber.py", line 55, in main
if not n.download():
File "n:\webdl\sbs.py", line 35, in download
return download_hls(filename, video_url)
File "n:\webdl\common.py", line 284, in download_hls
return convert_to_mp4(filename)
File "n:\webdl\common.py", line 243, in convert_to_mp4
return remux(filename, filename_mp4)
File "n:\webdl\common.py", line 225, in remux
if not check_video_durations(infile, outfile):
File "n:\webdl\common.py", line 198, in check_video_durations
flv_duration = get_duration(flv_filename)
File "n:\webdl\common.py", line 156, in get_duration
ffprobe = find_ffprobe()
NameError: name 'find_ffprobe' is not defined
(.virtualenv) n:\webdl>
Comments (3)
-
repo owner -
repo owner - changed status to resolved
-
reporter it is now fixed
thanks,
- Log in to comment
Derp… Sorry about that, fixed :-)