Project

General

Profile

Bug #4525

Transcoding mit pipe

Added by Ston eii over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2017-08-09
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.1-2141~g01c26fc~trusty
Affected Versions:

Description

Hallo,
ich habe ein Problem ich empfange einen Stream von einer Sat box (VU+)
und bisher transcodiere ich das bild und Ton mitels einer Pipe in meinem Linux System.
dieses script schaut so aus! pipe_hd.sh

#!/bin/bash
url=$1
su
/usr/local/bin/ffmpeg -i $url -i /home/logo/HD.png -filter_complex overlay=main_w-overlay_w-1:main_h-overlay_h-1 -vcodec h264_qsv -b 2500k -minrate 2500k -maxrate 2500k -bufsize 2500k -preset fast -s 1280x720 -acodec aac -ab 128k -ar 44100 -ac 2 -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1

exit 0

jetzt möchte ich aber das nur das Bild transcodet wird aber der Ton 1:1 weiter gegeben wird.
leider funktioniert das nicht so wie ich mir das vorstelle
dieses script schaut so aus! full_audio.sh

#!/bin/bash
url=$1
su
#/usr/local/bin/ffmpeg -i $url -i /home/logo/HD.png -filter_complex overlay=main_w-overlay_w-1:main_h-overlay_h-1 -vcodec h264_qsv -b 2000k -minrate 2000k -maxrate 2000k -bufsize 2000k -preset fast -s 1280x720 -acodec copy -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1
/usr/local/bin/ffmpeg -i $url -vcodec h264_qsv -b 2000k -minrate 2000k -maxrate 2000k -bufsize 2000k -preset fast -s 1280x720 -acodec copy -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1

exit 0

können sie mir weiter helfen?

Danke
mfg


Files

pipe_hd.sh (373 Bytes) pipe_hd.sh Ston eii, 2017-08-09 15:48
full_audio.sh (579 Bytes) full_audio.sh Ston eii, 2017-08-09 15:48

History

#1

Updated by Ston eii over 7 years ago

Eng:
Hello,
I have a problem I receive a stream from a Sat box (VU +)
And so far I transcoded the picture and sound mitels a pipe in my Linux system.
This script looks so! pipe_hd.sh

#!/bin/bash
url=$1
su
/usr/local/bin/ffmpeg -i $url -i /home/logo/HD.png -filter_complex overlay=main_w-overlay_w-1:main_h-overlay_h-1 -vcodec h264_qsv -b 2500k -minrate 2500k -maxrate 2500k -bufsize 2500k -preset fast -s 1280x720 -acodec aac -ab 128k -ar 44100 -ac 2 -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1

exit 0

Now I would however only the picture transcodet is however the sound 1: 1 is given.
Unfortunately it does not work as I imagine
This script looks so! full_audio.sh

#!/bin/bash
url=$1
su
/usr/local/bin/ffmpeg -i $url -vcodec h264_qsv -b 2000k -minrate 2000k -maxrate 2000k -bufsize 2000k -preset fast -s 1280x720 -acodec copy -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1

exit 0

Can they help me?

Thank you
mfg

Also available in: Atom PDF