Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

studio.blender.org_en_open-movies is failing #1261

Open
benoit74 opened this issue Jan 27, 2025 · 2 comments
Open

studio.blender.org_en_open-movies is failing #1261

benoit74 opened this issue Jan 27, 2025 · 2 comments
Assignees
Labels
Bug Something isn't working Upstream For tickets which are waiting for an upstream modification (typically scrapper or target website)

Comments

@benoit74
Copy link
Contributor

Recipe URL

https://farm.openzim.org/recipes/studio.blender.org_en_open-movies

Last log lines

[Merger] Merging formats into "/output/tmp625z8piw/videos/YE7VzlLtp-4/video.mp4"
Deleting original file /output/tmp625z8piw/videos/YE7VzlLtp-4/video.f258.m4a (pass -k to keep)
Deleting original file /output/tmp625z8piw/videos/YE7VzlLtp-4/video.f398.mp4 (pass -k to keep)
[youtube2zim::2025-01-26 17:40:46,628] INFO:Reencode video to /output/tmp625z8piw/videos/YE7VzlLtp-4/video.webm
[youtube2zim::2025-01-26 17:40:46,716] ERROR:ffmpeg version 5.1.6-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[libdav1d @ 0x55d0eeb055c0] libdav1d 1.0.0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/output/tmp625z8piw/videos/YE7VzlLtp-4/video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomav01iso2mp41
    encoder         : Lavf59.27.100
  Duration: 00:09:56.54, start: 0.000000, bitrate: 915 kb/s
  Stream #0:0[0x1](und): Video: av1 (Main) (av01 / 0x31307661), yuv420p(tv, bt709), 1280x720, 525 kb/s, 24 fps, 24 tbr, 12288 tbn (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 386 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]
[libdav1d @ 0x55d0eeb095c0] libdav1d 1.0.0
Stream mapping:
  Stream #0:0 -> #0:0 (av1 (libdav1d) -> vp9 (libvpx-vp9))
  Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
[libvorbis @ 0x55d0eed89540] encoder setup failed
Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

[youtube2zim::2025-01-26 17:40:46,716] ERROR:Interrupting process due to error: Exception while re-encoding /output/tmp625z8piw/videos/YE7VzlLtp-4/video.mp4 for YE7VzlLtp-4
[youtube2zim::2025-01-26 17:40:46,716] ERROR:Exception while re-encoding /output/tmp625z8piw/videos/YE7VzlLtp-4/video.mp4 for YE7VzlLtp-4
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/youtube2zim/scraper.py", line 365, in run
    succeeded, failed = self.download_video_files(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/youtube2zim/scraper.py", line 604, in download_video_files
    return self.download_video_files_batch(options, self.videos_ids)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/youtube2zim/scraper.py", line 882, in download_video_files_batch
    if self.download_video(video_id, options) and self.download_thumbnail(
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/youtube2zim/scraper.py", line 734, in download_video
    post_process_video(
  File "/usr/local/lib/python3.12/site-packages/youtube2zim/processing.py", line 68, in post_process_video
    raise Exception(f"Exception while re-encoding {src_path} for {video_id}")
Exception: Exception while re-encoding /output/tmp625z8piw/videos/YE7VzlLtp-4/video.mp4 for YE7VzlLtp-4
[youtube2zim::2025-01-26 17:40:46,718] INFO:removing temp folder

How many times the recipe failed in a row?

Once

How many ZIM have been produced before failure?

Many

Which action did you undertake so far?

I have requested the recipe again to confirm failure

What's next?

This has to be monitored by content team

More details

No response

@benoit74 benoit74 added the Bug Something isn't working label Jan 27, 2025
@benoit74 benoit74 self-assigned this Jan 27, 2025
@benoit74 benoit74 added the Upstream For tickets which are waiting for an upstream modification (typically scrapper or target website) label Jan 27, 2025
@benoit74
Copy link
Contributor Author

Recipe failed again, there is an upstream scraper issue. I've disabled the recipe for now.

@benoit74
Copy link
Contributor Author

Upstream issue: openzim/youtube#386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Upstream For tickets which are waiting for an upstream modification (typically scrapper or target website)
Projects
None yet
Development

No branches or pull requests

1 participant