Welcome to World of IPTV

Join us now to see all our features. Once registered and logged in, you will be able to read all Posts and Threads.


To create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger and much more, you have to upgrade your account for an annual contribution of 12 Euros.

Join now to the World of IPTV !

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Tutorial Raspberry Pi GPU Transcoding

delta1372

If it moves, compile it!
Banned
Member
Joined
Jun 17, 2020
Messages
92
Reaction score
1,536
Points
194
Location
A Blackhole
Using the following script will install and configure FFMPEG GPU support on your Pi3 / 4 device ready for transcoding.


Bash:
#!/bin/bash

# example: ffmpeg -c:v h264_mmal -i http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_tv/ak/bbc_parliament.m3u8 -c:v h264_omx -c:a copy -b:v 1500k output.mp4

echo "Installing FFMPEG with GPU support for Raspberry Pi"

cd /root

sudo -y apt-get update
sudo -y apt-get install autoconf automake build-essential libass-dev libfreetype6-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev

cd ~
git clone https://github.com/ffmpeg/FFMpeg --depth 1

cd ~/FFMpeg
./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi
make -j4
make install

echo "Install should now be complete. Please check the above output for any error messages."
 

makeitso

Moderator
Moderator
Member
Joined
Sep 22, 2019
Messages
450
Reaction score
974
Points
104
Location
Dublin
Using the following script will install and configure FFMPEG GPU support on your Pi3 / 4 device ready for transcoding.


Bash:
#!/bin/bash

# example: ffmpeg -c:v h264_mmal -i http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_tv/ak/bbc_parliament.m3u8 -c:v h264_omx -c:a copy -b:v 1500k output.mp4

echo "Installing FFMPEG with GPU support for Raspberry Pi"

cd /root

sudo -y apt-get update
sudo -y apt-get install autoconf automake build-essential libass-dev libfreetype6-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev

cd ~
git clone https://github.com/ffmpeg/FFMpeg --depth 1

cd ~/FFMpeg
./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi
make -j4
make install

echo "Install should now be complete. Please check the above output for any error messages."
Must dig out my pie 3
 
Place your Business Ad here !

delta1372

If it moves, compile it!
Banned
Member
Joined
Jun 17, 2020
Messages
92
Reaction score
1,536
Points
194
Location
A Blackhole
How to hdmi in ?

This does not cover HDMI In, This covers transcoding online streams only at present.

The Pi does not have a HDMI in function, this is a hardware limitation.
 

On4sat

Member
Member
Joined
Jul 2, 2019
Messages
326
Reaction score
1,651
Points
104
Location
Internet
Website
www.startstv.com
Using the following script will install and configure FFMPEG GPU support on your Pi3 / 4 device ready for transcoding.


Bash:
#!/bin/bash

# example: ffmpeg -c:v h264_mmal -i http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_tv/ak/bbc_parliament.m3u8 -c:v h264_omx -c:a copy -b:v 1500k output.mp4

echo "Installing FFMPEG with GPU support for Raspberry Pi"

cd /root

sudo -y apt-get update
sudo -y apt-get install autoconf automake build-essential libass-dev libfreetype6-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev

cd ~
git clone https://github.com/ffmpeg/FFMpeg --depth 1

cd ~/FFMpeg
./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi
make -j4
make install

echo "Install should now be complete. Please check the above output for any error messages."

Thanks for that friend
 

yop038

Member
Member
Joined
Apr 21, 2020
Messages
10
Reaction score
11
Points
14
Location
here
from rpi4, if u use all ressources and h264 params will do 27-28 fps from 720p, with h264_omx between 23-25fps not much more.
with 1080p less than 24fps from a capture device using mjpeg input.
i also test it with rpi2b+ just not enough powerfull ... max 12fps
 
Place your Business Ad here !

echotop7

Registred
Registred
Banned
Joined
Apr 9, 2020
Messages
9
Reaction score
9
Points
14
Location
malaysia
any review for this one.. can 1 board transcoding more than 1 channel ? and what bit rate if can do more ?

thx
 
Place your Business Ad here !

techker

Member
Member
Joined
Sep 26, 2019
Messages
160
Reaction score
338
Points
74
Location
mtl
quick question i was looking at this a wile back..i found a pi hat that had the hdmi in..but not available anymore..sucks..were to you enter the url to transcode?does it give you a UI?
 

boxcabo

Member
Member
Joined
Oct 23, 2019
Messages
123
Reaction score
46
Points
39
Location
Portugal
Hi.

I am going to use my Pi4 to Transconde some channels.

Any advice on what software to use?

Thanks
 
shape1
shape2
shape3
shape4
shape5
shape6
Top