Skip to content

video player (EXO) can't play HLS source without audio #81815

Closed

Description

@Thangdoan0401

The player play normal source OK but it has an problem with the source which dont have audio. I run an HLS module and run an ffmpeg command with -an pram
ffmpeg -i a.mp4 -c copy -an -f flv rtmp://127.0.0.1/live/out
and play HLS url http://192.168.1.2:8080/hls/out.m3u8 all other player in PC or vlc player can play this url but this player report an error

logs
E/ExoPlayerImplInternal(15234): Playback error
E/ExoPlayerImplInternal(15234):   com.google.android.exoplayer2.ExoPlaybackException: Source error
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:554)
E/ExoPlayerImplInternal(15234):       at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal(15234):       at android.os.Looper.loop(Looper.java:205)
E/ExoPlayerImplInternal(15234):       at android.os.HandlerThread.run(HandlerThread.java:65)
E/ExoPlayerImplInternal(15234):   Caused by: com.google.android.exoplayer2.source.BehindLiveWindowException
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.source.hls.HlsChunkSource.getNextChunk(HlsChunkSource.java:308)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.source.hls.HlsSampleStreamWrapper.continueLoading(HlsSampleStreamWrapper.java:662)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.source.hls.HlsSampleStreamWrapper.continuePreparing(HlsSampleStreamWrapper.java:246)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.source.hls.HlsMediaPeriod.continueLoading(HlsMediaPeriod.java:361)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.source.MaskingMediaPeriod.continueLoading(MaskingMediaPeriod.java:219)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.MediaPeriodHolder.continueLoading(MediaPeriodHolder.java:218)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.ExoPlayerImplInternal.maybeContinueLoading(ExoPlayerImplInternal.java:2008)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleContinueLoadingRequested(ExoPlayerImplInternal.java:1989)
E/ExoPlayerImplInternal(15234):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:489)

Activity

  1. TahaTesser commented on May 4, 2021

    @TahaTesser
    Contributor

    Hi @Thangdoan0401
    Thank for filing the issue, Can you please provide your flutter doctor -v and a minimal complete reproducible code sample, and complete flutter run --verbose logs running the minimal code sample?
    Thank you

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 4, 2021
  3. removed
    in triagePresently being triaged by the triage team
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 27, 2021
  4. TahaTesser commented on May 27, 2021

    @TahaTesser
    Contributor

    Without additional information, we are unfortunately not sure how to resolve this issue.
    We are therefore reluctantly going to close this bug for now.
    Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

    Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
    All system setups can be slightly different, so it's always better to open new issues and reference related issues.

  5. added
    r: timeoutIssue is closed due to author not providing the requested details in time
    on May 27, 2021
  6. github-actions commented on Aug 1, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Aug 1, 2021
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

    r: timeoutIssue is closed due to author not providing the requested details in time

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions