GPUVideo-android icon indicating copy to clipboard operation
GPUVideo-android copied to clipboard

I expect the output video to be with filter and sound but i am getting the filtered video without sound.

Open navneetboghani opened this issue 4 years ago • 4 comments

I am creating a video player where after recording a video user should be able to apply gpu filter to the video then upload and then be able to play it.

I applied the GPUMp4Composer library but after applying the filter the video is coming as expected but the audio is getting muted.

**new GPUMp4Composer(srcMp4Path, destMp4Path) .filter(new GlFilterGroup(FilterType.createGlFilter(filterTypes.get(select_postion), getApplicationContext()))) .listener(new GPUMp4Composer.Listener() { @Override public void onProgress(double progress) {

            }

            @Override
            public void onCompleted() {

                runOnUiThread(new Runnable() {
                    @Override
                    public void run() {

                        progressDialog.dismiss();
                        GotopostScreen();
                    }
                });
            }

            @Override
            public void onCanceled() {
                Log.d("resp", "onCanceled");
            }

            @Override
            public void onFailed(Exception exception) {

                progressDialog.dismiss();
                Toast.makeText(Preview_Video_A.this, "Try Again", Toast.LENGTH_SHORT).show();

            }
        })
        .start();**

navneetboghani avatar Jul 05 '20 09:07 navneetboghani

getting same issue. Any solution found ?

CrazyCoderAndroid avatar Jul 08 '20 16:07 CrazyCoderAndroid

same issue but only in one device. Other devices produce a video with sound. is there any solution?

adapana avatar Jul 09 '20 05:07 adapana

also getting same issue ? Please provide any solution ...

paragwadhwani avatar Oct 31 '20 13:10 paragwadhwani

I also getting same issue i tested in 4 devices. successfully work in redmi , oppo and realme devices but getting issue in OnePlus7t Please provide solution or way to fix this bug

Princezennaxxdev avatar Apr 01 '21 14:04 Princezennaxxdev