Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio not succesfully intergraded whit video #77

Closed
Timtta opened this issue Jun 26, 2024 · 11 comments
Closed

Audio not succesfully intergraded whit video #77

Timtta opened this issue Jun 26, 2024 · 11 comments

Comments

@Timtta
Copy link

Timtta commented Jun 26, 2024

this is cause there are 16 video segments
16 subtitle segments
and
17 audio segments

@emarsden
Copy link
Owner

I don't think I've ever seen that. It's probably allowed, if the audio segments are shorten than the video segments and the total audio duration is the same as the total video duration, but I expect the muxers would work in that situation.

You can try with another muxer helper (see the --muxer-preference commandline argument).

If you can share the MPD URL or MPD contents I can take a look.

@Timtta
Copy link
Author

Timtta commented Jul 8, 2024

error: a value is required for '--muxer-preference CONTAINER:ORDERING' but none was supplied
sorry that im dumb what what needs to be in CONTAINER and ORDENING

@emarsden
Copy link
Owner

emarsden commented Jul 8, 2024

Make sure you have mkvmerge (from the MKVToolnix suite) installed and try

--muxer-preference mkv:mkvmerge -o mydownload.mkv

(this will download to a file called mydownload.mkv in Matroska format).

I can't currently test that manifest.

@Timtta
Copy link
Author

Timtta commented Jul 8, 2024

ok im now waiting for download to fetch DASH manifest

@Timtta
Copy link
Author

Timtta commented Jul 8, 2024

17:39:59 INFO Muxer preference for mkv is ["mkvmerge"]
17:39:59 INFO Trying muxer mkvmerge
17:39:59 WARN Muxing with mkvmerge subprocess failed: I/O error spawning mkvmerge subprocess (Error { kind: NotFound, message: "program not found" })
17:39:59 WARN All muxers failed
17:39:59 WARN unmuxed audio stream: C:\Users\timta\AppData\Local\Temp\dashmpd-audioG7xLhZp.mkv
17:39:59 WARN unmuxed video stream: C:\Users\timta\AppData\Local\Temp\dashmpd-videojlSlAa7.mkv
17:39:59 ERROR Download failed: muxing error "all muxers failed"

then when i opened those files manualy i notised the little delay in audio video

@emarsden
Copy link
Owner

emarsden commented Jul 8, 2024

You don't seem to have installed mkvmerge, or at least it's not in your PATH. But that's probably not the real problem if you see a delay when loading the two streams manually, I'll try to access this MPD.

@Timtta
Copy link
Author

Timtta commented Jul 18, 2024

thanks the delay is the problem like you first see a big BOOM! schreen and then 1 sec later you hear BOOM! like that

@emarsden
Copy link
Owner

This is a "live" / "dynamic" manifest, and dash-mpd-rs doesn't currently have very good support for downloading content from these. In fact it hardly downloads any segments when I tried the channel you showed. I might try to improve that support one day, but probably not soon. You might have more luck with VLC.

@Timtta
Copy link
Author

Timtta commented Jul 22, 2024

whell for me it allready whould help if a feature exists that whould (mayby expirimental) allow you to manualy set a delay of segments from audio, video or subtitles
PS: im using vlc and there are free vpn's to Netherlands that work
on mobile you can get a lad an pc not that many but still some

@Timtta
Copy link
Author

Timtta commented Sep 14, 2024

i got it convertering directly with ffmpeg was sollution

@Timtta Timtta closed this as completed Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants