Hi I am Rupesh from India and I have android tablet and smartphone, Linux pc. I have downloaded high quality youtube MP4 video files and it's size is upto 60 gb. I have converted these files to av1 codec using ffmpeg and libaom but I can't play these videos in android smartphone or tablet.
Here I am providing huge explanation as it tries to track the exact issue.
I have downloaded some youtube videos and some files are of size upto 60 mb to 100 mb with duration upto 15 minutes. I have converted these files to av1 codec using ffmpeg and used libaom for video, libopus for audio. 100 mb avc video file is converted to av1 of size 24 mb.
Here youtube videos are downloaded in Linux terminal emulator using a program called yt-dlp which is an youtube downloader. This program tries to download original youtube videos uploaded without converting to another video file. Some of the other youtube downloaders are videoder, TubeMate, newpipe, snaptube etc.,.
All YouTube downloaders like videoder TubeMate newpipe snaptube etc first download a video and converts to other video and save the output file which results in the quality loss. But yt-dlp and youtube-dl download youtube videos without converting to another video file.
The input video file provided to ffmpeg tool consists of avc or x264 codec for video and aac codec for audio. I have created a small shell script to convert all avc video files to av1 files. Now if I pass a 100 mb avc video file to this script an av1 video file is generated of size 24 mb.
Here input video file consists of avc or x264 for video and aac codec for audio. The output file converted consists of av1 codec for video and opus for audio.
All the files converted by ffmpeg and libaom are being played in android smartphone or tablet but few others can't especially the splitted ones.
Some of the youtube videos downloaded are of size 1 gb to 1.4 gb with high quality video and audio with duration 3 hours.
I have splitted these large size 1.3 gb avc video file into 8 equal parts using qwinff which is a gui for ffmpeg. I have passed splitted 130 mb to the same ffmpeg script.
All the avc video files converted to av1 files successfully without any errors. Here the issue is the converted output av1 video files are unable to play using vlc media player especially in android smartphone and tablet but they are playing properly in Linux system.
Here upon conversion to av1 there's huge reduction in disk space and audio and video quality are acceptable to me but can't play properly in android devices.
These videos are unable to play means suppose I open any video file I am able to see video with audio and if I move the seek button to say 20 mins then the vlc media player stops video at that time but audio will be running. Here there is no continuous play without any jurk.
I heard that av1 codec has less support in all platforms and in future it may be supported by all devices. I have even enabled full acceleration etc and even no use.
Kindly try to suggest how to play these videos in android smartphone or tablet using vlc media player or any other player. If it's not possible take it easy.