Skip to content

very slow speed for ffmpeg'segment and hls ? #38

Open
@akingbr

Description

@akingbr

hello, I compile shiftmediaproject ok, then test hls segment, command likes:
ffmpeg.exe -i F:\web\express\testv\public\hls\ani.mp4 -codec:v libx264 -codec:a aac -map 0 -f ssegment -segment_format mpegts -segment_list F:\web\express\testv\public\hls\playlist.m3u8 -segment_wrap 5 -segment_time 5 F:\web\express\testv\public\hls\out%%03d.ts

or
ffmpeg.exe -i F:\web\express\testv\public\hls\ani.mp4 -c:v libx264 -c:a aac -strict -2 -f hls -hls_wrap 5 -hls_time 5 F:\web\express\testv\public\hls\playlist.m3u8

but when I preview m3u8 in browser , I found that video is blocked frequently; I notice that ts(segemnt)file was produced very slowly。 if I use ffmpeg complied by mingw, ts file was produced very fast, any suggestion?

thanks a lot。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions