wrolpi/modules/videos/video
Roland e37b0f5305
Transcode: audio files, and Remove video to turn a video into an audio file
video_codec 'none' (REMOVE_VIDEO) drops the video stream (-vn, audio
required); an audio-only source is audio-only output whatever the video
target says, and a video target on it is refused.  Audio output gets an
audio container (m4a/ogg/mp3) checked against the codec it will hold, and
a video container asked for audio output is replaced by the codec's
natural one.  faststart only for mp4/m4a.  Verification learned the
audio-only shape and ffprobe's container names (mkv reports matroska).

The modal offers 'Remove video (audio only)', switches to audio
containers and follows the audio codec, reads Extract Audio, and opens
for audio files (no video codec select).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 10:54:54 -06:00
..
test Consolidating deletion endpoints. 2026-05-03 19:14:30 -06:00
__init__.py A new start 2021-11-01 16:43:09 -06:00
api.py Transcode: audio files, and Remove video to turn a video into an audio file 2026-09-15 10:54:54 -06:00
lib.py WROL Mode: refuse video edits and transcodes past the API 2026-09-14 19:05:05 -06:00