Playing video files
#1
I mentioned this in a post on the Mobian board but there were no responses. I don't know if this issue is only with that distribution or if it's more general to the Pinephone's video capabilities.

What I've found is that when playing local video files on the Pinephone it cannot keep up with 1080p, or even 480p playback (though the latter is better). To make videos play smoothly I've had to transcode them down to 240p. (Admittedly I have not tried 360, that might work as well, but 240 looks surprisingly good on the phone's small screen.) This is the case whether using Mobian's default video player or the VLC video player.

Is this something that is likely to improve as development continues, or is it just a limitation of the video hardware?

For anyone else running into this issue, I put together a quick-and-dirty shell script that uses ffmpeg to transcode the video to 240p H.264, preserving the aspect ratio, and copies the audio, from the source mp4 and mkv files in the current directory. The resulting reduced resolution files are placed in a "240" subdirectory.

Code:
#!/bin/sh

mkdir 240

for file in *.m??
do
  echo '----------------------------------------'
  echo Processing $file...
  ffmpeg -i "$file" -c:v libx264 -c:a copy -vf scale=-2:240 "240/$file"
  echo '----------------------------------------'
done
  Reply


Messages In This Thread
Playing video files - by Zebulon Walton - 12-06-2020, 01:58 PM
RE: Playing video files - by p1trson - 12-06-2020, 04:32 PM
RE: Playing video files - by nas - 12-06-2020, 04:50 PM
RE: Playing video files - by Zebulon Walton - 12-06-2020, 05:41 PM
RE: Playing video files - by hiimtye - 12-07-2020, 12:29 AM
RE: Playing video files - by NormandC - 12-07-2020, 12:45 AM
RE: Playing video files - by Zebulon Walton - 12-07-2020, 07:17 AM
RE: Playing video files - by marcih - 01-16-2021, 06:15 AM
RE: Playing video files - by displacefish - 12-07-2020, 07:52 AM
RE: Playing video files - by 3x5co - 01-15-2021, 03:10 PM
RE: Playing video files - by evilbunny - 01-15-2021, 07:52 PM
RE: Playing video files - by Zebulon Walton - 01-20-2021, 05:57 PM
RE: Playing video files - by marcih - 01-21-2021, 05:12 AM
RE: Playing video files - by calinb - 01-23-2021, 11:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How To Share The External MicroSD Folders and Files On A Network? pinephoneuser22 5 1,698 02-10-2024, 08:47 AM
Last Post: jakfish
  How can I record video on a Pinephone? kk22 8 3,874 01-22-2023, 06:45 AM
Last Post: linmob
  Video Out not working BenniTec 7 5,245 10-21-2021, 11:56 AM
Last Post: BenniTec
  Video playback with hardware acceleration jojuma 2 3,039 08-21-2021, 11:24 AM
Last Post: jojuma
  Video Quickstart Guide Luke 0 5,989 04-26-2021, 03:44 AM
Last Post: Luke
  [Video] Securing SSH Config On Pinephone + Demo RTP 0 1,659 03-15-2021, 01:53 AM
Last Post: RTP
  Phone Won't Detect Music Files From SD Card Joelandsonja 11 13,831 02-25-2021, 11:23 PM
Last Post: cybercricket
  OS for video communicator? (single purpose device) feklee 2 2,762 02-02-2021, 08:44 PM
Last Post: feklee
  cad files for rear case/battery upgrade dallytaur 5 5,595 11-19-2020, 07:19 PM
Last Post: wibble
  Pinephone playing 1440p video on external display megous 2 4,093 09-18-2020, 12:57 PM
Last Post: megous

Forum Jump:


Users browsing this thread: 1 Guest(s)