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

Les vidéos ne s'encodent pas par défaut #2

Open
azmeuk opened this issue Jun 4, 2024 · 1 comment
Open

Les vidéos ne s'encodent pas par défaut #2

azmeuk opened this issue Jun 4, 2024 · 1 comment

Comments

@azmeuk
Copy link
Member

azmeuk commented Jun 4, 2024

Sans modification de la conf, les vidéos ne sont pas encodées à leur mise en ligne.

pod-back-with-volumes         | Exception in thread Thread-13:
pod-back-with-volumes         | Traceback (most recent call last):
pod-back-with-volumes         |   File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner
pod-back-with-volumes         |     self.run()
pod-back-with-volumes         |   File "/usr/local/lib/python3.9/threading.py", line 917, in run
pod-back-with-volumes         |     self._target(*self._args, **self._kwargs)
pod-back-with-volumes         |   File "/usr/src/app/pod/video_encode_transcript/encode.py", line 158, in encode_video
pod-back-with-volumes         |     encoding_video.start_encode()
pod-back-with-volumes         |   File "/usr/src/app/pod/video_encode_transcript/Encoding_video.py", line 775, in start_encode
pod-back-with-volumes         |     self.get_video_data()
pod-back-with-volumes         |   File "/usr/src/app/pod/video_encode_transcript/Encoding_video.py", line 242, in get_video_data
pod-back-with-volumes         |     streams = info.get("streams", [])
pod-back-with-volumes         | AttributeError: 'NoneType' object has no attribute 'get'

Il manque ffmpeg et ffpmpegthumbnailer qui peuvent être installés avec:

docker exec -it pod-back-with-volumes apt update
docker exec -it pod-back-with-volumes apt install --yes ffmpeg ffmpegthumbnailer

Ou alors, notre conf n'est pas bonne.

@azmeuk
Copy link
Member Author

azmeuk commented Jun 19, 2024

Peut-être lié à EsupPortail@9aa6085 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant