Skip to content

Some videos getting distorted... #4348

@selimonline

Description

@selimonline

Problems :

few videos getting distorted at certain position
here is screenshot.....
https://image.prntscr.com/image/sp6cF6eXQQKwy21J9XkckA.png

Build.gradle

implementation 'com.google.android.exoplayer:exoplayer-core:2.7.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.7.0'

(although I tried most latest versions). same issues always...

Activity code :

BandwidthMeter bandwidthMeter = new DefaultBandwidthMeter();
        TrackSelector trackSelector = new DefaultTrackSelector(new AdaptiveTrackSelection.Factory(bandwidthMeter));
        player = ExoPlayerFactory.newSimpleInstance(view.getContext(), trackSelector);


        Uri videoUri = Uri.parse("HTTPS SRC PATH");
        PlayerView video_view = (PlayerView) view.findViewById(R.id.video_view);

        DefaultDataSourceFactory dataSourceFactory = new DefaultDataSourceFactory(this, Util.getUserAgent(this, "oevo"));
        MediaSource videoSource = new ExtractorMediaSource(videoUri,dataSourceFactory, new DefaultExtractorsFactory(), null, null);

player.setPlayWhenReady(true); player.prepare(videoSource);

Testing Device :
Samsung edge s7

Video Url :
https://oevo.com/exo/TFWsBEnXMgqncUxRxMmGlPAjALAWsqsM.mp4

any idea highly appreciated. Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions