🌘 運用 Python 偵測 AV1 編碼影片
➤ 從找出 AV1 影片到自動化測試,讓你的媒體庫保持流暢
✤ https://alexwlchan.net/2025/detecting-av1-videos/
作者分享如何使用 Python 偵測 AV1 編碼的影片,以便將無法在舊裝置上播放的影片轉換為較舊的編碼格式。文章介紹了兩種方法:利用 `ffprobe` 命令列工具,以及更快速且直接的 `pymediainfo` Python 套件。最終,作者將這些方法整合到一個 pytest 測試中,用以掃描整個影片庫並找出所有 AV1 編碼的 MP4 檔案,確保所有影片都能順暢播放。
+ 這篇文章的實用性很高!我正好有類似的問題,不知道如何批量找出那些不相容的影片。ffprobe 的方法很詳細,不過 pymediainfo 聽起來確實更有效率。
+ 寫測試來解決問題是很棒的做法。作者很細心地解釋了 ffprobe 和 MediaInfo 的指令,以及為什麼 pymediainfo 的方法更快。最後的 pyt
#Python #影片編碼 #AV1 #ffprobe #MediaInfo
V - S1 EP10 T2 - Machine Learning in Python - Creating a Class - Explained in Python #codingforbeginners #machinelearning #softwaredeveloper #datascienceforbeginners #mlforbeginners #vscode #python #pythoncoding #machinelearningmodels #algorithims #datascience #dataengineering #machinelearningbasics #jupyterlabs #machinelearningtutorial #statistics #learnpython #PythonForDataScience #jupyternotebook #aiexplained
Accumulate Snapshot Drift
Old sums outlive edits
accumulate captures partial sums, so later changes to the source list cannot rewrite the archived snapshot.
#python #pythontricks #codingtips #programmingtutorial #pythonitertoolsaccumulate #pythonfunctoolspartial #pythonsnapshotdrifttutorial #pythonsumsoutlivetopic #pythonoutliveeditstopic #pythonsumsoutliveeditstopic #pythoncapturessumsidea #pythonsumslateridea
https://www.youtube.com/watch?v=bLsJxdkZEOg
Detecting AV1-encoded videos with Python
https://alexwlchan.net/2025/detecting-av1-videos/
Just wrapped #AdventOfCode Day 5:
https://codeberg.org/zspencer/advent-of-code/src/branch/main/2025/day-five
I cribbed from an #OaklandishBoardGamers acquaintance (we have a shared leaderboard there... I'm solidly in 3rd place out of the 4ish folks doing it)
It's been fun reading the solutions folks are writing in #Kotlin and #Python and comparing them to my #Ruby implementations.
just dusted off an old #python script to turn it into a #timelapse utility. i still have to control the lighting of via the GPIO pins of the #raspberrypi that will run it.
https://gitlab.com/frankiezafe/basic_security_cam/-/blob/master/timelapse/timelapse.py
#automation #ftp #dev
@dustymabe nope. I wrote my own calculator, in #Python.
Gonna put a period after day 2 of the #7dfps jam. Added some enemies flying around that you can shoot (though they just dissapear atm, but the hittesting is all there), a hud-gun and a laser that goes pew pew. Getting to a point where we are #fragging asap is my strategy.
#gamejam #gamedev #panda3d #python
Anyone else just use the Python interactive shell (interpreter) when they need a calculator?
I'm back up to date with 12 days of getting annoyed with string parsing; sorry I mean #AdventOfCode - absolutely not a model solution, just me learning a few bits of #Python and bashing at the input until I get it in the right format.
https://nocto.weblog.lol/2025/12/advent-of-code-day-6-2025
Bericht bijgewerkt: Automatische updates https://webwings.nl/?p=2293 #Computer #Python #Website
#reminder Null Byte shares a clever Python tutorial on building a Dead Man's Switch! 🔒💻 It encrypts files if you don't check in in time—ideal for protests or secure data protection. Watch now: https://youtu.be/b6LoNZXkwSA #Python #CyberSecurity #DeadMansSwitch #Hacking #yt