Commons:Video2commons/fa

video2commons ابزاری برای بارگذاری پروندههای صوتی یا تصویری از آدرس اینترنتی یا دستگاههای شما به ویکیمدیا کامنز است. این ابزار به طور خودکار پروندههای بارگذاری شده را به فرمت سازگار با ویکیانبار تبدیل میکند. این شامل عملکردهایی مانند حذف صدا، زیرنویس، ویدیو میشود؛ همه اینها به طور پیشفرض فعال هستند. این ابزار از OAuth برای ورود استفاده میکند.
Requirements
In order to use the tool, your account must be autoconfirmed and have at least 50 edits.[1]
چگونه کار میکند
- به صفحهٔ https://video2commons.toolforge.org مراجعه کنید و وارد شوید
- روی «افزودن وظیفه…» کلیک کنید
- ویدیویی را که میخواهید تبدیل کنید انتخاب کنید
- اگر صدا، تصویر یا زیرنویس نمیخواهید، گزینههای مربوط به درونریزی را از حالت انتخاب خارج کنید.
- الگوی توضیحات پرونده را تکمیل و ردهها را اضافه کنید
- روی «تأیید» کلیک کنید. تبدیل در فضای ابری شروع میشود:
- مرحلهٔ اول یک نوار بارگیری را نشان میدهد
- مرحلهٔ دوم یک نوار پیشرفت را نشان میدهد که درصد باقیمانده را نشان میدهد.
- ویدیوی تبدیلشده بهطور خودکار در ویکیانبار بارگذاری میشود.
توجه داشته باشید که اگر صفحهٔ توضیحاتی با آن نام در ویکیانبار وجود داشته باشد، نمیتوانید پروندهای را بارگذاری کنید.
میتوانید مرورگر خود را در حین انجام کار ببندید، زیرا تبدیل روی سرور انجام میشود، نه روی رایانه شما.
همچنین میتوانید وظایف بیشتری اضافه کنید. آنها به صف اضافه شده و پس از انجام، منتشر میشوند.
ظرفیت محدود
لطفاً قبل از درخواست تعداد زیادی پرونده، نکات زیر را در نظر داشته باشید تا سرویس در دسترس دیگران قرار داشته باشد:
- این یک سرویس جامعهٔ کوچک است، نه یک زیرساخت قدرتمند که توسط WMF مدیریت شود؛
- در حال حاضر میتواند همزمان ۲۰ وظیفه کدگردانی را انجام دهد؛
- کدگردانی ویدیوهای بزرگ میتواند چندین ساعت طول بکشد. ۴۸ ساعت مهلت زمانی وجود دارد. اگر نمیدانید چقدر طول میکشد، لطفاً قبل از ارسال دهها یا صدها پرونده، فقط چند پرونده ارسال کنید تا تخمینی از زمان تحویل داشته باشید.
- شما میتوانید حجم کار فعلی روی گرافانا را از اینجا رصد کنید. نمودار «بار تجمیعی» میزان استفاده فعلی از پردازنده را از ۰ تا حدود ۱۰۰-۱۲۰ نشان میدهد. لطفاً تعداد زیادی پرونده ارسال نکنید. اگر مشاهده کردید که حجم کار برای چند ساعت بالاتر از ۱۰۰ پرونده است، به این معنی است که سرویس با ظرفیت کامل کار میکند.
خطاهای استاندارد
- An exception occurred: TaskError: File already exists. Please choose another name.
- Meaning: It means that there is a video file with exactly the same name as the file you are trying to upload. It is probably the same video. Check for possible redundancy and if it is not the same video, choose a new name.
- An exception occurred: TaskError: /mnt/nfs/labstore-secondary-project/gentoo-prefix/usr/bin/ffmpeg -y -i /srv/v2c/output/b4a696bee515adb1/dl.mp4 -max_muxing_queue_size 4096 -threads 16 -row-mt 1 -crf 20 -qmin 1 -qmax 51 -b:v 0 -vcodec libvpx-vp9 -tile-columns 4 -auto-alt-ref 1 -lag-in-frames 25 -speed 4 -f webm -ss 0 -an -pass 1 -passlogfile /srv/v2c/output/b4a696bee515adb1/dl.mp4.vp9.webm.log /dev/null Exitcode: 1
- Meaning: First pass of transcoding to WebM failed
- An exception occurred: TaskError: pywikibot.Error: APIError: stashfailed: Internal error: Server failed to publish temporary file. (Help: see https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.)
- Meaning: Video was transcoded, uploaded and assembled, but publishing was not successful
- An exception occurred: DownloadError: ERROR: KTvdqve_naM: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
- Meaning: Downloading of video with youtube-dl from the internet failed
- Failed to determine the path of the downloaded video. Is the video too large?
- Meaning: ?
- An exception occurred: WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).
- Meaning: Transcoding of video was aborted because of limited resources of the computer running the software
- An exception occurred: TaskError: b"b'pywikibot.Error: APIError: stashfailed: Could not acquire lock. Somebody else is doing something to this file...
- Meaning: Commons website problem. Not v2c problem. Solution: Click "Restart".
- An exception occurred: TaskError: pywikibot.Error: TimeoutError: Maximum retries attempted without success.
- Meaning: Uploading, assembling or publishing took too long. aborted
- An exception occurred: FileNotFoundError: b"[Errno 2] No such file or directory: '/data/project/video2commons/video2commons/frontend/static/uploads/73c147e0-19ea-11ed-9b40-82d0630f66a4'"
- Meaning: ?
- An exception occurred: TypeError: b"'NoneType' object is not iterable"
- Meaning: ?
- An exception occurred: DownloadError: b"'ERROR: [youtube] XXXXXXXXXXX: Sign in to confirm you\xe2\x80\x99re not a bot. This helps protect our community. Learn more."
- Meaning: ?
- Audio is asked to be kept but the file has no audio tracks.
- Solution: do not select "Keep audio".
- An exception occurred: DownloadError: b'ERROR: [youtube] NNwM_OMLa10: Video unavailable. This content isn\xe2\x80\x99t available.'
سایتهایی که کار میکنند
The tool uses yt-dlp to parse websites for video files and obtain associated information. New sites can be added by adding 'extractor' files to that tool. Some sites will work without needing a dedicated extractor file.
Beware that some sites such as YouTube forbid automated downloader tools, so this tool may be frequently rate-limited or blocked.
پیوندها
- video2commons
- کد منبع بر روی گیتهاب
- رده:بارگذاریشده با video2commons
- آخرین بارگذاریها (نگارخانه) (جستجوی رسانه با MediaSearch)
- Grafana: real-time monitoring of servers
- مستندات فنی video2commons در ویکیفنی
- ترجمهٔ پروژهٔ video2commons در translatewiki.net
- VideoCutTool: ابزار ویرایش ویدیو
- Commons:YouTube files/Downloading: guide on how to download videos and audio files from YouTube and other sites without video2commons for whenever the tool doesn't work
References
- ↑ Tool error message: "You must be an autoconfirmed Commons user with at least 50 edits to use this tool."