bravobit / FFmpeg-Android

FFMpeg/FFprobe compiled for Android
https://bravobit.nl/
MIT License
739 stars 175 forks source link

In the process of running automatically stopped #64

Closed sdaduanbilei closed 5 years ago

sdaduanbilei commented 5 years ago
String[] command = {"-t","00:59:00","-i", url, "-vcodec","copy",path};
        FFmpeg.getInstance(this).execute(command,new ExecuteBinaryResponseHandler(){
            @Override
            public void onStart() {
                super.onStart();
                Log.d(TAG, "onStart: ");
            }

            @Override
            public void onSuccess(String message) {
                super.onSuccess(message);
            }

            @Override
            public void onFailure(String message) {
                super.onFailure(message);
                Log.d(TAG, "onFailure: "+message);
            }

            @Override
            public void onProgress(String message) {
                super.onProgress(message);
                Log.d(TAG, "onProgress: "+message);
            }
        });

In the process of running automatically stopped

onProgress: frame=13570 fps= 25 q=-1.0 size=   49920kB time=00:09:02.76 bitrate= 753.4kbits/s speed=   1x    
onProgress: frame=13582 fps= 25 q=-1.0 size=   49920kB time=00:09:03.24 bitrate= 752.8kbits/s speed=   1x    
onProgress: frame=13594 fps= 25 q=-1.0 size=   49920kB time=00:09:03.72 bitrate= 752.1kbits/s speed=   1x    
onProgress: [NULL @ 0xf5719380] Invalid NAL unit size (25851 > 10319).
onProgress: [NULL @ 0xf5719380] missing picture in access unit with size 10400
onProgress: frame=13601 fps= 25 q=-1.0 Lsize=   50473kB time=00:09:04.01 bitrate= 760.0kbits/s speed=   1x    
onProgress: video:41630kB audio:8534kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.615877%
onProgress: [aac @ 0xf571b680] Qavg: 222.705
Brianvdb commented 5 years ago

Your files are probably corrupted. Not a library related issue.