Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

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
90
Reaction score
1,558
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

Member
Member
Joined
Sep 22, 2019
Messages
450
Reaction score
966
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
 

delta1372

If it moves, compile it!
Banned
Member
Joined
Jun 17, 2020
Messages
90
Reaction score
1,558
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
328
Reaction score
1,698
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
 

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
 

techker

Member
Member
Joined
Sep 26, 2019
Messages
158
Reaction score
329
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
48
Points
39
Location
Portugal
Hi.

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

Any advice on what software to use?

Thanks
 

montenis

Member
Member
Joined
Dec 18, 2019
Messages
2
Reaction score
0
Points
1
Location
LV
Hi.

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

Any advice on what software to use?

Thanks
It is capable to transcode maximum one channel. You can use omx to do a hw based transcode, or try to do a cpu only, maybe two. Use ffmpeg as suggested. There is allso Gtreamer , it supported omx encoding first, but is harder to use.
 
Last edited:
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock