Skip to content

Playback stops using live streaming from FFMPEG #351

@aletorrado

Description

@aletorrado

Hi, I'm testing a few FFMPEG commands to stream to Shaka v2.0.0-beta. Some of them works OK with Shaka 1.5, but not with this version.

ffmpeg -i <live-stream> -f dash manifest.mpd
ffmpeg -i <live-stream> -f dash manifest.mpd
ffmpeg -i <live-stream> -x264opts 'keyint=25:scenecut=-1' -f dash manifest.mpd
ffmpeg -i <live-stream> -x264opts 'keyint=25:scenecut=-1' -f dash -use_template false manifest.mpd
Using any of these commands, playback suddenly stops after less than a minute usually. Shaka keeps fetching the manifest with the new chunks, but does not play anymore. Using Shaka 1.5 it seems OK.

ffmpeg -i <live-stream> -x264opts 'keyint=25:scenecut=-1' -f dash -use_timeline false manifest.mpd
Everything seems OK with this using any version of Shaka.

I would like to keep x264 scene detection, using flexible segment times with SegmentTemplate and SegmentTimeline, for maximum performance.

Notice that when the live streaming has ended, FFMPEG converts the manifest to type="static". Then any version of Shaka seems to play OK any of those commands. Problems happen only while in dynamic mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions