brarcher / video-transcoder

Android app for video and audio transcoder, based on FFmpeg
GNU General Public License v3.0
486 stars 56 forks source link

Video transcoding produces unplayable files #157

Open evilphish opened 5 years ago

evilphish commented 5 years ago

Encoding a recorded video with standard settings and just changing the bitrate results in a video file that is either completely unplayable (e.g. VLC for android) or that only has sound but the image stays black. Also tried changing some encoding options around but the result stays the same. Sometimes, when using very low bitrates (500 - 2000), the video is playable but only in rare cases without issues. Usually seeking in the video leads to a crash of the player used for playback.

Device is a OnePlus 6T with Android 9. If I can be of any assistance regarding log files etc. please give me a shout. Video Transcoder version used is 0.14 from Google Play Store.

licaon-kter commented 5 years ago

Do detail what settings you use

brarcher commented 5 years ago

This is interesting. Typically if the video options are invalid the application will throw an error and refuse to encode anything. If you could provide some of the following it would help:

evilphish commented 5 years ago

Link to sample input file (122 MB): https://cloud.phishtank.de/index.php/s/wsF5W4xWSbqWKXB

Settings: Container: mp4 Codec: H.264 (Slow, Quality excellent) FPS: 29.93 Resolution 1920x1080 Bitrate: 6000 Audio Codec: aac Bitrate: 156 Sample Rate: 48000 Channels: 2

Link to sample output file with above settings (32 MB): https://cloud.phishtank.de/index.php/s/ndeBwmtKNPis6sG