Welcome to World of IPTV

The most popular IPTV Communiy.


To get write permissions (open threads, make some post) you have to upgrade your account (12 Euro annual fee) after registration.
As basic registered member you have read only permissions.


 Please Note! 
This is not a VIP membership and does not replace the use of credits !
This only serves to be able to use the forum fully with write permissions as a basic member!

Forum Rules

Our Community Rules.
So that nobody can say, "I didn't know"

Donate us

Help us to keep the community up to date with a small donation

Account Upgrade

Upgrade your account and get full post permissions!

Tutorial Raspberry Pi GPU Transcoding

delta1372

If it moves, compile it!
Banned
Member
Joined
Jun 17, 2020
Messages
92
Likes
1,497
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
Staff member
Moderator
Member
Joined
Sep 22, 2019
Messages
450
Likes
962
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 !

On4sat

Member
Member
Joined
Jul 2, 2019
Messages
307
Likes
1,594
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
Likes
10
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
13
Likes
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

Moderator
Staff member
Moderator
Member
Joined
Sep 26, 2019
Messages
160
Likes
325
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
108
Likes
34
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