home.social

#ffmpeg — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ffmpeg, aggregated by home.social.

  1. Orta: `ffmpeg -i giris.mp4 -vf fps=1 cikis.mp4` — Saniyede 1 kareye dusur. Time-lapse efekti icin ideal.

    #video #python #medya #ffmpeg

  2. Режем, сжимаем и конвертируем видео прямо в браузере: WebCodecs, mp4box.js и грабли, на которые мы наступили

    Нам понадобилось сделать на сайте простые видеоинструменты: обрезать ролик, сжать его под лимит мессенджера, перегнать MOV в MP4 или WEBM, убрать звук. Обычный путь — загрузить файл на сервер и прогнать через ffmpeg. Но видео тяжёлое: ролик с телефона на 2 ГБ надо сначала долго заливать, а сервер должен его хранить и пережёвывать. Да и не каждому хочется отправлять личное видео на чужой сервер. Поэтому основной путь у нас — обработка прямо в браузере: файл никуда не уходит, всё делает компьютер пользователя. А сервер с ffmpeg остался запасным вариантом для того, что браузер не тянет. Ниже — как это устроено и что пошло не так. Код — из рабочего проекта, слегка сокращён.

    habr.com/ru/articles/1106398/

    #javascript #ffmpeg #обработка_видео #webcodecs #mp4boxjs #mp4muxer

  3. Basit: `ffmpeg -i giris.mp4 -b:v 1M cikis.mp4` — Video bit rate'ini 1Mbpse ayarla. Dusuk bit rate dosyayi kucultur ama kaliteyi dusurur.

    #medya #ffmpeg #editing #python

  4. Interestingly both Xiaomi and Blackview #Android phones will get quite near 25fps, old Xperia XZ3 forces video to near 30fps (so I decided not to use it)

    #ShutterEncoder (a gui frontend for #ffmpeg available for mulitple platforms) can also conform variable frame rate #video by transcoding it back to H264 (or other suitable codec) and selecting conform in advanced features (*not* standalone conform function, that just changes metadata so doesn't work)

    Also got a cheap #gimbal for the Xiaomi phones ( Blackview is too heavy for it), it works well without using the app as well as a pair of 2,4 GHz external microphones - these only work with the Blackview, but have *very* strong audio, to the point of clipping on loud sounds (which explains why so many youtubers have clipped audio)

  5. Ok, throwing .iso images against #ffmpeg appears to still be a bit buggy.

    Jellyfin fails to transcode the dvd when I throw the ISO in but works when I mount it into a folder.

    But it works for at least one iso. So I can at least confirm the part from the wiki here that some iso images work. jellyfin.org/docs/general/serv

    I'll need to make a debug build of ffmpeg to get more info, but the ffmpeg command Jellyfin tries to run at least fails. Can confirm that too.

Share on Mastodon

Enter the server where you have an account.