-
Notifications
You must be signed in to change notification settings - Fork 64
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
Missing HLS outputs on macOS #32
Comments
I'm not sure whether the subtitle output format (m4s) is correct. I hope the text format is webvtt. |
I'm not sure if I understand your report. Please tell me if I got some of the details wrong.
Are you saying there are no m3u8 files in the output folder? I can't reproduce this on Linux, but I'll try again on macOS.
What exactly do you mean by this? If there is no HLS manifest, how do you know that there's a problem with the subtitles? |
@joeyparrish The output result is as the picture described. There are 2 problems:
|
I'm not sure why you don't have m3u8 files. I can't reproduce that on Linux, but I've yet to try to reproduce the issue on macOS. I'll be able to try that tomorrow. As for the text, we can't cut or process text in any way. I'll make sure to update the code to reject this combination and the docs to match. |
I can now confirm that there are no HLS outputs on macOS. I don't know why. It might be a bug in Shaka Packager, which is responsible for creating the HLS playlists and DASH manifest. I'll keep digging. |
Manifest files (m3u8 and mpd) appear only after full transcoding (segmentation). I thought it was a streamer feature :) |
The behavior of waiting to write the manifest for VOD is actually controlled by Shaka Packager. In my test on macOS, even after transcoding was complete, I found no HLS playlists. This was not the case on Linux. So there may be a Packager bug on Mac. @kqyang, I'll prepare a bug report on this soon. |
@joeyparrish The problem could be related to the specific content or command options as there is no problem packaging Shaka Packager test content: https://travis-ci.org/google/shaka-packager. I'll try to re-produce the problem after seeing your bug report. |
I've narrowed it down to subtitles. Without them, everything is working correctly on macOS. With them, I get no HLS playlists. I'll send you a minimal repro with a specific command-line soon. Here's the minimal configs in Shaka Streamer to repro the issue: # input.yaml
inputs:
- name: Sintel.2010.720p.mkv
media_type: audio
end_time: 00:01
- name: Sintel.2010.English.vtt
media_type: text
language: en # pipeline.yaml
streaming_mode: vod
resolutions:
- 360p
manifest_format:
- hls This works as expected on Linux, but not macOS. |
I've determined that this is not a Packager bug after all. It has to do with the timing of the shutdown sequence in Shaka Streamer. FFmpeg shuts down first, and then we're killing Packager before it's done. |
Use case:
I want to use
Sintel.2010.720p.mkv
,Sintel.2010.English.vtt
andSintel.2010.Chinese.vtt
as the input. And just want to output HLS VOD stream. After transcode and package, the output not includes HLS manifest and the subtitle format is error.Running on Mac OS:
The text was updated successfully, but these errors were encountered: