MKV support

Discussion in 'AnyStream' started by Chaewon, Sep 23, 2020.

  1. Chaewon

    Chaewon Member

    Would it be possible to add MKV as a supported container?
  2. Ch3vr0n

    Ch3vr0n Translator NL & Mod

    I believe that was suggested during beta and for the moment shot down because both providers themselves streaml in mp4

    Sent from my Pixel 3 XL using Tapatalk
  3. Chaewon

    Chaewon Member

    The provider streaming in MP4 has nothing to do with a container. It's not hard to have the tool mux the video, audio and subtitles into a MKV container.

    Personally, I prefer MKV and would love to have my films/shows in this container.
    Darqman likes this.
  4. Prospere

    Prospere RedFox Development Team

    Such functionality is not planned for AnyStream.
  5. Chaewon

    Chaewon Member

    Care to explain why?
  6. Ch3vr0n

    Ch3vr0n Translator NL & Mod

    I already told you why, and if you really must ha e mkv (it's just a file container just like mp4) use something like MKVtoolnixGUI, Retakes a split second to repackage the streams without encoding it just demuxes and remuxes into mkv

    Sent from my Pixel 3 XL using Tapatalk
    Last edited: Sep 23, 2020
  7. PetePeru

    PetePeru New Member

    Perhaps allow for a postprocessing step? Then people can remux or re-encode as they wish
  8. Chaewon

    Chaewon Member

    This is exactly why I said it should be an option. It won't take many lines of code to add this function. Again, I feel like this should be standard for such [paid] a tool.

    Anyhow, I already have a python script to do the job so I won't bother you any further with it.
    zero269 likes this.
  9. Ch3vr0n

    Ch3vr0n Translator NL & Mod

    And you base your assumption of 'it won't take many lines of code' on what evidence of AnyStream source code? Do you know what the source code looks like? Do you know how they grab the streams? No, so your claim of 'not many lines of code' is inaccurate. Feel free to develop your own solution.

    What any of us feel should be included is one thing, what actually gets included is a different ballgame and exclusively up to the developers.

    Sent from my Pixel 3 XL using Tapatalk
  10. Prospere

    Prospere RedFox Development Team

    @Chaewon This is not related to how difficult or easy the thing is. It is fairly simple indeed. However, this limitation is intentional and is not going to change.
  11. skurko

    skurko Well-Known Member

    I respect the decision, but still am curious why. It was the first thing I was going to ask for. I much prefer mkv and find it annoying to have to combine the mp4 and srt files every time. But not annoying enough to make a big deal of it :)
  12. Prospere

    Prospere RedFox Development Team

    What do you mean by "have to combine the mp4 and srt files every time"?
  13. skurko

    skurko Well-Known Member

    Not sure you are asking about "have to" or "combine"?

    "have to" is because of convenience so I don't need to keep track of multiple files. I find it annoying when you can use a single file like mkv that contains both video and subtitles. I use subtitles for all movies and it's much much nicer to to work with single files.

    "combine", I mean to "put together or "merge" into a single file using a tool like MKVToolNix. Now I have to use this every time so I will have a single file.

    CloneBD allows creating mkv files with subtitles and I like that a lot. But again, this feature is not a requirement, but a very nice to have.
    albino and Potatoman like this.
  14. testiles

    testiles Well-Known Member

    skurko, any reason you can't just set AS to automatically embed the subtitles into the .mp4?

    There is an option for that.

    Then you would have only the single .mp4.

  15. Kamala

    Kamala Well-Known Member

    i was actually thinking about the same...
    maybe they did not pay well enough attention to anystream's settings that it is able to attach the subtitle files into that single .mp4 file ... :p
    as for the "overkill" bitrates on 1080p streams (especially on some older documentaries,which seem to be upscaled in a bad way,with some ugly black borders and stuff..needs some cropping too.. <<<--- that has nothing to do with anystream...), i just re-encode the clips with NVENC, does not take too much time.
    but if someone is on a slow connection,i do understand it is a pain to download 4-5 gb file for 1h documentary, but you have an option...
    take the 720p stream ..
  16. testiles

    testiles Well-Known Member

    Great minds thinking alike and all... LOL!


    That's very true!

    @skurko in case you aren't aware of the subtitle setting, here's a description from Prospere...


    Just open AnyStream. Go to "File->Settings" select the "Download" tab. There is the "Subtitles" section at the bottom. You may select one of the three options:

    • Embedded
    • SRT file
    • TTML file


  17. skurko

    skurko Well-Known Member

    That will burn in the subtitle into the video and not what I want. As I understand it, mp4 doesn't allow subtitle tracks.
  18. skurko

    skurko Well-Known Member

    I am confused. I am fully aware of these settings. None of them allows getting an mkv file with the subtitles. That was the feature request. Starbucks also has an option to get a coffee with milk. But that doesn't help me either ;)
  19. Ch3vr0n

    Ch3vr0n Translator NL & Mod

    Yes it does. It's called timed text.

    Sent from my Pixel 3 XL using Tapatalk
  20. testiles

    testiles Well-Known Member

    There's "burned in" subtitles and then there's embedded.

    Embedded subtitles don't require a separate subtitle file because they're within the .mp4.

    And they can be turned off or on.

    Embedded is the option available in AnyStream, not burned in.

    Try it!

    Aeneas72 likes this.