WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: videos  (Read 2035 times)

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 809
videos
« on: September 24, 2019, 05:22:17 AM »
Hello,

Do any of you PI users ever use the "FFPLAY" command line tool that is inside "ffmpeg" to play or stream video files (url's)?...........it is a video player and streamer

https://ffmpeg.org/ffplay.html

https://www.youtube.com/watch?v=0CqBRUirGOA    (it is playing videos here....and video's with audio....)

thanks

Vin
« Last Edit: September 24, 2019, 05:31:01 AM by vinceASPECT »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 809
Re: videos
« Reply #1 on: September 24, 2019, 06:40:29 AM »
i got  "FFPLAY media player"  working on win64 for playing videos and streaming videos.......by following the small video below.

https://www.youtube.com/watch?v=7rMn7lyKEho   (win 64)

https://www.ubuntu-user.com/Magazine/Archive/2014/20/Playing-streams-off-the-web-with-FFplay (Linux)

the  two commands are in the steps below for win 64

1) just download FFMPEG for win64
2) Extracting it to the C drive
3) Going into "advanced settings"....environment variables....and editing TEMP to show
........    /C:\the path to the bin folder inside the ffmpeg folder
4) Then going into enviro variables and SYSTEM and creating a new path by clicking NEW then enter

........    PATH
........    /C:\ (same path as in 3 above)

Now  "FFPLAY media player"  works from the bin folder...........  command line in win64


To demonstrate it, you put some mp4 video file into that bin folder.
Then just issue the command......... >ffplay (the mp4 file)......... and you will see the video play.



ffplay -h  (gets you all the help )

Thx

V

This is for anybody who wants to play videos and streaming videos on the Raspberry Pi using
 "FFPLAY media player" inside FFMPEG....... but is finding it not initially straight forward on Pi...
(trial it first on win)

Vin
« Last Edit: September 24, 2019, 07:12:59 AM by vinceASPECT »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 809
Re: playing videos with Raspberry pi
« Reply #2 on: September 24, 2019, 09:02:39 AM »
i think to play URL's and streams it's

>ffplay -i http.......

https://ffmpeg.org/ffplay.html

if it does not play then i think at least you can download Videos using Wget....from places like
invidio.us  and they should play okay.   

Wget can be funny and sometimes needs flags like        --ssl-no-verify ....or....    --no-check-certificate

thx

V