WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ffplay not working on picore 13 Raspberry pi B rev 2  (Read 6022 times)

Online vinceASPECT

  • Hero Member
  • *****
  • Posts: 809
Re: ffplay not working on picore 13 Raspberry pi B rev 2
« Reply #15 on: April 12, 2022, 08:21:16 AM »
there are many FLAGS for FFPLAY

$tcl................  ffplay  -fast -framedrop -threads 4 -sync audio -cpuflags armv6 etc etc "THE MOVIE LINK.mp4"


an interesting flag is   "-threads 4" 

i believe you set it's value to the CORES of your cpu or logical THREADS your OS is seeing
from those cores.

thx

C.

Online vinceASPECT

  • Hero Member
  • *****
  • Posts: 809
Re: ffplay not working on picore 13 Raspberry pi B rev 2
« Reply #16 on: April 12, 2022, 12:09:25 PM »
or even

$tcl............ffplay  -fast - framedrop -threads auto  (other flags here) then "THE MOVIE LINK.mp4"

"-threads auto"  flag

thx

C

Online vinceASPECT

  • Hero Member
  • *****
  • Posts: 809
Re: ffplay not working on picore 13 Raspberry pi B rev 2
« Reply #17 on: August 17, 2022, 04:30:31 PM »
Hello F,

here below is command line command and arguments used for FFPLAY media player



FOR RADIO (audio only)

tcl$........ffplay -nodisp -vn -threads auto -framedrop -fast -cpuflags -sse+sse2+sse3+sse4.1+sse4.2+mmx+avx -sync audio -infbuf -hide_banner "https://vprbbc.streamguys1.com/vprbbc24.mp3"

-------------------------------------------------------------------------------------

FOR COMBINED VIDEO and AUDIO STREAM  (movie)

tcl$.........ffplay -fast -framedrop -cpuflags -sse+sse2+sse3+sse4.1+sse4.2+mmx+avx -threads auto -x 195 -y 158 -hide_banner -sync audio -infbuf " "the movie link.mp4"

where the above gives a nice small video window.



YOUR CPU FLAGS MAY DIFFER...........for example          ( -cpuflags -armv6+something+somethin etc )


Thx
C