Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 00:09:06 UTC Bernie Bernie

    I tried OpenShot 2.6.1 and it crashed twice in less than 5 minutes ๐Ÿ˜ž

    #linuxdesktop

    In conversation Tuesday, 22-Feb-2022 00:09:06 UTC from mstdn.io permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 00:12:03 UTC Bernie Bernie
      in reply to

      All I want to do is extract a clip from an episode while retaining the subtitles and possibly throwing away the audio track containing the English dub.

      In conversation Tuesday, 22-Feb-2022 00:12:03 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 00:12:27 UTC Bernie Bernie
      in reply to

      I tried Kdenlive first, but it can't extract the subs directly from the source video.

      In conversation Tuesday, 22-Feb-2022 00:12:27 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 00:16:10 UTC Bernie Bernie
      in reply to

      Ok, what else can I use?

      Pitivi hasn't seen a new release in one year, and judging from the git history it's not a very vital project...

      In conversation Tuesday, 22-Feb-2022 00:16:10 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 00:22:19 UTC Bernie Bernie
      in reply to
      • smol, desu ne?

      @smoldesu Let me give it a try...

      In conversation Tuesday, 22-Feb-2022 00:22:19 UTC permalink
    • smol, desu ne? (smoldesu@mastodon.social)'s status on Tuesday, 22-Feb-2022 00:22:20 UTC smol, desu ne? smol, desu ne?
      in reply to

      @codewiz aegisub?

      In conversation Tuesday, 22-Feb-2022 00:22:20 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 01:18:37 UTC Bernie Bernie
      in reply to

      Handbrake is the best GUI tool I could find to transcode video clips:
      https://handbrake.fr/

      It lets me pick any audio tracks and subtitles from the input.

      In conversation Tuesday, 22-Feb-2022 01:18:37 UTC permalink

      Attachments


    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 01:20:27 UTC Bernie Bernie
      in reply to

      While Handbrake is not a full-blown video editor, it's easy to copy the start/end times from a video player.

      I used mpv, which can display the current offset in the overlay UI (you have to click on the time to toggle milliseconds):

      In conversation Tuesday, 22-Feb-2022 01:20:27 UTC permalink

      Attachments


      1. https://media.mstdn.io/mstdn-media/media_attachments/files/107/839/014/308/412/755/original/74bb58c90277d4ca.png
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 02:20:53 UTC Bernie Bernie
      in reply to

      For some reason, HandBrake made the subs look ugly...

      Maybe the source video had font attachments and HandBrake didn't copy them? ๐Ÿคท

      In conversation Tuesday, 22-Feb-2022 02:20:53 UTC permalink

      Attachments


      1. https://media.mstdn.io/mstdn-media/media_attachments/files/107/839/248/581/822/077/original/a38311987d8f012b.png
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 02:38:10 UTC Bernie Bernie
      in reply to

      So I'm back to #ffmpeg, the only tool that's versatile enough, but also unreasonably hard to use:

      ffmpeg -ss 624.04 -t 304.971 -i honorifics.mkv -map 0:a:1 -map 0:v:0 -map 0:s:2 -map_chapters -1 -vf scale=h=576:w=-1 -c:v libvpx-vp9 -b:v 200k -c:a libopus -b:a 64k -threads 6 honorifics3.mkv

      In conversation Tuesday, 22-Feb-2022 02:38:10 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 02:43:39 UTC Bernie Bernie
      in reply to

      The #ffmpeg output looks good, but there's a strange issue: players think the video is 13m20s, but the file ends after 5 minutes (as expected).

      Perhaps using the -t option (relative duration) triggers this bug, I'll try again using -to instead ๐Ÿค”

      In conversation Tuesday, 22-Feb-2022 02:43:39 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 02:44:53 UTC Bernie Bernie
      in reply to
      • Doug Swain

      @pseudoramble Perhaps I've hit this bug:
      https://github.com/libass/libass/issues/315

      In conversation Tuesday, 22-Feb-2022 02:44:53 UTC permalink

      Attachments

      1. Incorrect Font selection ยท Issue #315 ยท libass/libass
        We have a user reporting incorrect font-selection that appears to have the required front on their system. HandBrake/HandBrake#1615 fc-list | grep 'Ong Do Gia' /usr/share/fonts/transcoder/u...
    • Doug Swain (pseudoramble@indieweb.social)'s status on Tuesday, 22-Feb-2022 02:44:54 UTC Doug Swain Doug Swain
      in reply to

      @codewiz that's weird. The couple of times I've used Handbrake for that it's worked pretty well and I don't recall the subtitles looking odd.

      In conversation Tuesday, 22-Feb-2022 02:44:54 UTC permalink
    • tromino@mstdn.io's status on Tuesday, 22-Feb-2022 02:55:47 UTC tromino tromino
      in reply to

      @codewiz I think I've had something like this happen before... don't remember exactly how, but I'm pretty sure just remuxing the file again fixed it for me? (maybe I'm misremembering, not sure)

      In conversation Tuesday, 22-Feb-2022 02:55:47 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 03:37:12 UTC Bernie Bernie
      in reply to
      • tromino

      @tromino I figured that -ss, -to and -t must be placed *after* -i in order to affect the output stream ๐Ÿ˜’

      In conversation Tuesday, 22-Feb-2022 03:37:12 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 05:16:22 UTC Bernie Bernie
      in reply to

      In the end I had to switch to H.264 with hardcoded subtitles because #Mastodon strips the subs when sanitizing / re-encoding videos.

      So this is the final pipeline:

      ffmpeg -i honorifics.mkv -ss 00:10:24.040 -to 00:15:29.011 -map 0:v:0 -map 0:a:1 -map_chapters -1 -vf "scale=h=576:w=-1,subtitles=honorifics.mkv:stream_index=2:force_style='Fontsize=24,FontName=Noto Sans Bold'" -c:v libx264 -b:v 400k -c:a aac -b:a 64k -threads 6 honorifics7.mp4

      In conversation Tuesday, 22-Feb-2022 05:16:22 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 05:33:25 UTC Bernie Bernie
      in reply to
      • Eugen ๐Ÿ’€

      @Gargron, what is Mastodon doing to sanitize / re-encode videos?

      This was my original upload (H.264 17MB):
      https://codewiz.org/pub/honorifics7.mp4

      Mastodon is now serving an MP4 file with the same quality, but now it's 26MB:
      https://mstdn.io/@codewiz/107839922476887448

      In conversation Tuesday, 22-Feb-2022 05:33:25 UTC permalink

      Attachments


      1. Bernie (@codewiz@mstdn.io)
        from Bernie
        Attached: 1 video Scene from Teasing Master Takagi-san (ใ‹ใ‚‰ใ‹ใ„ไธŠๆ‰‹ใฎ้ซ˜ๆœจใ•ใ‚“): Nishikata tries to drop the -san honorific to "intimidate" Takagi-san, but... #anime
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 05:39:29 UTC Bernie Bernie
      in reply to
      • Eugen ๐Ÿ’€

      And this is a 9.7MB WebM (VP9) with soft subs:
      https://codewiz.org/pub/honorifics4.webm

      Browsers don't render subs, but there are JavaScript video players that can do it:
      https://github.com/sampotts/plyr

      @Gargron, I realize that it's not that simple... just saying it would be cool, right? ๐Ÿ™‚

      In conversation Tuesday, 22-Feb-2022 05:39:29 UTC permalink

      Attachments



    • Eugen ๐Ÿ’€ (gargron@mastodon.social)'s status on Tuesday, 22-Feb-2022 06:36:37 UTC Eugen 💀 Eugen ๐Ÿ’€
      in reply to

      @codewiz Relevant options are here:

      https://github.com/mastodon/mastodon/blob/main/app/models/media_attachment.rb#L75-L110

      In conversation Tuesday, 22-Feb-2022 06:36:37 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Tuesday, 22-Feb-2022 06:44:25 UTC Bernie Bernie
      in reply to
      • Eugen ๐Ÿ’€

      @Gargron I intentionally encoded my video to H.264 + AAC, hoping it would match the passthrough, but perhaps I had the wrong colorspace or the wrong container format.

      In conversation Tuesday, 22-Feb-2022 06:44:25 UTC permalink
    • Tagomago (tagomago@mastodon.social)'s status on Tuesday, 22-Feb-2022 08:28:00 UTC Tagomago Tagomago
      in reply to
      • Eugen ๐Ÿ’€

      @codewiz Mmmm... Does Mastodon support soft (encapsulated) subtitles for attached videos? That would be a surprise. @Gargron

      In conversation Tuesday, 22-Feb-2022 08:28:00 UTC permalink
    • Tagomago (tagomago@mastodon.social)'s status on Tuesday, 22-Feb-2022 08:38:07 UTC Tagomago Tagomago
      in reply to

      @codewiz https://github.com/mastodon/mastodon/issues/7169

      In conversation Tuesday, 22-Feb-2022 08:38:07 UTC permalink

      Attachments

      1. Uploading WebVTT subtitles along with a video ยท Issue #7169 ยท mastodon/mastodon
        It'd be great to be able to upload one or more subtitle tracks along with a video, and select those subtitles in the video player. I understand that the feature would see much less use than ima...

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.