Open alltheseas opened 1 month ago
File type requested is MKV.
Example event via sleepy
@fishcakeday ser 👀
Have yall considered MKV support? Is it a premium feature maybe for NB?
Current behavior view in damus
On interaction
@jb55 advises MKV is a wrapper, and not necessarily a widely adopted solution among multiple nostr or non-nostr apps.
Need research on figuring out what is the best standard?
According to gpt4 it might be possible to audio multi audio tracks to mp4, although player support is another question altogether
Creating an MP4 video file with multiple dubbed audio tracks can be done using various video editing and encoding software. Here’s a general step-by-step guide using a popular tool called FFmpeg, which is a powerful command-line utility for handling multimedia files:
Install FFmpeg:
Prepare Your Files:
video.mp4
) and the audio files for each dubbed track (e.g., audio_en.mp3
, audio_es.mp3
, etc.).Use FFmpeg Command:
ffmpeg -i video.mp4 -i audio_en.mp3 -i audio_es.mp3 -map 0:v -map 1:a -map 2:a -c:v copy -c:a aac -b:a 192k output.mp4
-i video.mp4
specifies the input video file.-i audio_en.mp3
and -i audio_es.mp3
specify the input audio files.-map 0:v
maps the video stream from the first input (the video).-map 1:a
and -map 2:a
map the audio streams from the second and third inputs (the audio tracks).-c:v copy
copies the video codec without re-encoding.-c:a aac
specifies the audio codec for the output.-b:a 192k
sets the audio bitrate.output.mp4
is the name of the resulting file.Check the Output:
output.mp4
file that contains the video and multiple audio tracks.If you prefer a graphical user interface, you can use video editing software like:
Using either FFmpeg or video editing software, you can create an MP4 file with multiple dubbed audio tracks. Make sure to test the output file in a compatible media player to ensure that all audio tracks are accessible.
@alltheseas MKV is just a container, and not the best one for the streaming purposes due to the lack of wide adoption and support. MP4 does support multiple tracks for sound and even subtitles. We do not have plans to support MKV, it also serves as deterrent from violation of our TOS, where we do not allow upload and sharing of media that you do not have copyrights to.
User Story I
As a Damus user who is a content creator with a multi-lingual audience, I would like to be able to upload media with audio in multiple languages, so that I achieve localization of media in one upload.
acceptance criteria
Tbc
User Story II
As a Damus user who is a content creator with a multi-lingual audience, I would like damus users to be able to play media with audio in their preferred language, so that they can better understand the content I
acceptance criteria
Tbc
Describe alternatives you've considered Upload multiple videos, and maintain separate npubs and/or follow lists for each respective language of my aucience.
Additional context Via Ser sleepy. I asked for an example dual language dubbed video. @semisol advised iOS player should natively support Unsure if nostr.build supports this functionality