Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      News!   12/10/17

      If you have any questions related to installation and purchase, please check our documentation https://cesbo.com/en/astra/docs/ and terms of service https://cesbo.com/en/terms/
      Also, we have an official Telegram chat: https://t.me/cesbo_en  you can ask any questions or share your experience with colleagues Если у вас возникли вопросы по установке и покупке, ознакомьтесь пожалуйста с документацией по адресу https://cesbo.com/ru/astra/docs/ и условиями использования https://cesbo.com/ru/terms/
      Так же, обращаю внимание, что у нас есть официальный Телеграмм чат: https://t.me/cesbo_ru в котором можно задать вопросы - или поделиться своим опытом с коллегами
hack

AvProxy

Recommended Posts

I am not sure, how to exactly use LD_PRELOAD on this case, but

 

[root@tv29 bin]# LD_PRELOAD=./libc.so.6 ./AvProxy2-x64
Segmentation fault
 

and this is not a good solutions anyway. There is not much point to include only some libs but all the needed ones.

Share this post


Link to post
Share on other sites

try LD_LIBRARY_PATH

 

same result

 

[root@tv29 bin]# LD_LIBRARY_PATH=./ ./AvProxy2-x64

Segmentation fault

 

 

Another weird thing is, that Apple devices do not play those streams. Both iPad and iPhone with iOS 10.0.2. Just black screen and nothing. If I do make slices from same live source with ffmpeg (no transcoding) and serve them with nginx, then everything works. I think that is another side-effect from that "unknown data" or EPG stream. ffmpeg will automatically discard those.

 

I am searching replacement for my ffmpeg+nginx HLS setup, and AvProxy seems like a perfect candidate, but it is too "beta" for now.

Share this post


Link to post
Share on other sites

have sense to continue static build  with stdc++ but without  libc ? or not ?

o revert to normal build

 

whats mean beta ?))

 

request to software always grow, basic functionality work good

 

ffmpeg reassemble all stream/cut/paste/edit

avproxy only analyze stream, find pcr+start pes, and split stream by segment

Share this post


Link to post
Share on other sites

 

 

have sense to continue static build  with stdc++ but without  libc ? or not ?

o revert to normal build

 

If you not willing to share sources, then full static builds is you only option I think.

And if you make static build, then including with all libs. needed for running it.

 

 

 

whats mean beta ?))

 

well, that it is not "production ready" yet. Started from that library mess. I do understand, that you intend to keep it simple as possible. But if somebody want to use it in a IPTV environment, then some features is needed, started from PID filtering and so on. Even automatic filtering what drops all unknown or nonstandard streams for HLS, would do. You may say that use ffmpeg or astra then. I do use ffmpeg, but it is not very suitable for 24/7/365 live streams and quits on first few errors and often do not run more than a week without restart, etc. Astra is very good, but I do not like licensing terms of it - pay forever without receiving almost anything, and I prefer not to build my systems on software, what I can not run without constantly asking permission from somebody (license.cesbo.com).

Share this post


Link to post
Share on other sites

avproxy is a small part of core big p2p software with transcoding/peering/vod etc which already work 24/7

so share source or build include all part no sense for me

 

when i have some free time i will/can expand/improve core and merge it to avproxy

some interesting thing i will implement in avproxy for free

some thing avalible only by money

 

as Andrey sometime said, i have many ideas but have no time

))

Share this post


Link to post
Share on other sites
when i have some free time i will/can expand/improve core and merge it to avproxy

some interesting thing i will implement in avproxy for free

some thing avalible only by money

 

I will keep eye on your work, and who knows, maybe I am even willing to pay for AvProxy, when it does everything I have dreamed of. :)

Share this post


Link to post
Share on other sites

when i have free time, i append and compile the transcoder with limitaton as demo

but you still can propose any ideas to improve/implement in avproxy

if changes are not complicated, I will add them to the version avproxy

 

as i said, avproxy is a part or core, so in main core have no such util as avproxy

because "tv box (p2p)----(p2p) (servers/trackers)---transcoders----any sources" one big project

so full product as avproxy not exists, and got any part from this project will not work

its only my idea to create something another and independed from main project

Share this post


Link to post
Share on other sites
as i said, avproxy is a part or core, so in main core have no such util as avproxy

 

that's the problem. Word is full of big expensive projects (starting from Wowza for example), but we need a simple, small, scalable and reliable utility for live http/multicast in and HLS out. If somebody has found such thing, let me know ....

Share this post


Link to post
Share on other sites

that's the problem. Word is full of big expensive projects (starting from Wowza for example), but we need a simple, small, scalable and reliable utility for live http/multicast in and HLS out. If somebody has found such thing, let me know ....

 

Hi netmaster, I am completely agree with you opinion.

 

I'm looking for the same thing. Simple and efficient HLS only proxy without exessive feature set.

 

Could you share you experiense about such setup? I am trying to setup ffmpeg + nginx-rtmp, which provide good quality but low performance and stability. May be AV-proxy will be good options to replace. 

Share this post


Link to post
Share on other sites

hack,

 

возможно вопрос уже задавался. В каких отношениях находится AV-proxy и Astra?
 

Могу ли я поставить вместо астры вашу программу в схеме описанной тут:  https://forum.cesbo.com/topic/2392-astra-hls-output/page-8?do=findComment&comment=35827

Даже так спрошу - стоит ли это делать?

Share this post


Link to post
Share on other sites

в самодостаточных))

ну можете попробовать вместо второй астры avproxy, но если проблемы на первой астре, то avproxy явно ничем не поможет

Share this post


Link to post
Share on other sites

hi Hack,

 

does AvProxy support AES-128 input sources ?

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:20321
#EXT-X-KEY:METHOD=AES-128,URI="http://mm.latv.com/gtv/1/live/getkey?px=1&ip=200.111.2.23"
#EXTINF:10.023,
media-005678_20321.ts?px=1&ip=200.111.2.23
#EXTINF:10.022,
media-005678_20322.ts?px=1&ip=200.111.2.23
#EXTINF:10.021,
media-005678_20323.ts?px=1&ip=200.111.2.23
#EXTINF:10.055,
media-005678_20324.ts?px=1&ip=200.111.2.23
#EXTINF:10.122,
media-005678_20325.ts?px=1&ip=200.111.2.23
#EXTINF:10.128,
media-005678_20326.ts?px=1&ip=200.111.2.23
#EXTINF:9.019,
media-005678_20327.ts?px=1&ip=200.111.2.23
#EXTINF:10.022,
media-005678_20328.ts?px=1&ip=200.111.2.23

Share this post


Link to post
Share on other sites

Dear @hack,

I didn't see any sourcecode, so I guess avproxy is a closed project (for now?).

It is possible to provide avproxy for mips32el and mips32el-nf?

I would like to use avproxy in Enigma2 receivers in order to convert HLS to HTTP TS.

On SatDreamGr we already have such solution using livestreamer and a simple proxy that streams everything as HTTP, including HLS (with AES as well).

Unfortunately, livestreamer is resource hungry (because livestreamer uses python and lot of dependencies) so a simple binary, like avproxy seems more resource friendly for embedded systems like Enigma2 receivers (and faster most probably since it is written in C/C++).

 

I can try to build avproxy using Open Embedded if you can share the sources or publish them.

 

Thanks a lot.

 

Regards,

Athoik

Share this post


Link to post
Share on other sites

avproxy closed sourcecode and never be opened, sorry

but i can build for any other platform, when i have time

put me instruction and link to the compiler for build under your platform

i have os linux 32/64 bit as host system for build

Share this post


Link to post
Share on other sites

Hi,

 

I use Open Embedded to build any packages for Enigma2 receivers, you only need create a recipe that builds automatically the ipk for receiver.

 

I know that some people use simplebuild with the following instructions to build oscam, but I have no further experience on crosscompiling mipsel without Open Embedded.

 

 

cd /opt
mkdir simplebuild
cd simplebuild
wget ss4200.homelinux.com/oscam/simplebuild
chmod 777 simplebuild
./simplebuild debinstall
./simplebuild menu

 

Thanks.

Share this post


Link to post
Share on other sites

hi Hack ,

 

when input stream is dead ( http error 404 ) , AvProxy is still sending this :

 

http status 200 ok

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-TARGETDURATION:10

would it be better that AvProxy also  send  an http error 404 ?

 

 

thanks for the great job

 

 

yves

Share this post


Link to post
Share on other sites

Знающие люди, подскажите, есть ли готовое решение для http input -> hls output on demand?

 

То есть так чтоб input был активен только если есть активные клиенты.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×