Comments (9)
I just did a modification, now should works, let me know if works for you.
from proxylive.
Sorry the doc is out of date, i did some modifications recently to support non tvheadend backends so config is diferent, check this file https://github.com/segator/proxylive/blob/master/src/main/resources/application.yml. I will update docs soon
from proxylive.
Let me know if i can help
from proxylive.
@segator The error regarding host is now solved, but getting a new error:
Caused by: java.lang.Exception: Error loading Picons
at com.github.segator.proxylive.service.ChannelTVHeadendService.buildChannels(ChannelTVHeadendService.java:106) ~[classes!/:1.0-SNAPSHOT]
at com.github.segator.proxylive.service.ChannelTVHeadendService.getDataFromTvheadend(ChannelTVHeadendService.java:184) ~[classes!/:1.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
I don't use Picons in my tvheaded configuration. It this the cause?
Here is my application.yml file:
spring.jackson.serialization.INDENT_OUTPUT: true
source:
tvheadendURL: http://my_username:[email protected]:9981
epg:
#url: http://user:pass@localhost/xmltv.xml or file://path/xmltv.xml exec://usr/bin/tv_grab_whatever
url: http://my_username:[email protected]:9981/xmltv/channels
refresh: 600
channels:
#url: http://mywebserver/my.json || file://my.json
#type: json
url: http://my_username:[email protected]:9981/playlist
type: tvheadend
refresh: 300
reconnectTimeout: 10
streamTimeout: 30
internalConnection: true
ffmpeg:
path: ffmpeg
profiles:
-
alias: "aac"
parameters: "-sn -ac 2 -c:a aac -b:a 320k -c:v copy"
-
alias: "240p"
parameters: "-sn -c:a:0 aac -ac 2 -b:a 64k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 300k -preset veryslow -vf scale=-1:244,yadif=0"
-
alias: "360p"
parameters: "-sn -c:a:0 aac -ac 2 -b:a 96k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 700k -preset veryslow -vf scale=-1:360,yadif=0"
-
alias: "480p"
parameters: "-sn -c:a:0 aac -ac 2 -b:a 196k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 1500k -preset slow -vf scale=-1:484,yadif=0"
-
alias: "720p"
parameters: "-sn -c:a:0 aac -ac 2 -b:a 320k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 3000k -preset fast -vf scale=-1:720,yadif=0"
-
alias: "1080p"
parameters: "-sn -c:a:0 aac -ac 2 -b:a 320k -c:v libx264 -tune zerolatency -g 300 -vprofile high -level 4.0 -movflags +faststart -bufsize 15000k -maxrate 5000k -preset faster -vf yadif=0"
mpegTS:
parameters: "-threads 0 -f mpegts -mpegts_m2ts_mode 1 -mpegts_copyts 1 -mpegts_flags +resend_headers "
hls:
tempPath: "/tmp"
parameters: "-flags -global_header -avoid_negative_ts disabled -map_metadata -1 -start_at_zero -copyts -flags -global_header -vsync cfr -y -nostats -f hls -hls_time 2 -hls_list_size 10 -hls_flags delete_segments -hls_flags +append_list -hls_flags +discont_start -hls_flags +delete_segments"
timeout: 30
buffers:
chunkSize: 131072
broadcastBufferSize: 52428800
from proxylive.
weird I tried to load channels with no picon and worked.
Could you send me pictures of your General Tvheadend Configuration "Channel icon/Picon settings"
and Channels user picon. The fix probably will be so easy but first I need to reproduce it.
from proxylive.
Screenshots:
from proxylive.
I just commit a modification that will show more errors when crash, could you recompile and try the new version, it will crash but at least I will get more details because im not able to reproduce the error with the same configuration that you have.
from proxylive.
Error Log:
Updating Channel Info
Updating Channel:0c1c188089a52b009e0e2abf2a2db8ab
2019-02-13 19:57:39.747 WARN 7 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'streamController': Unsatisfied dependency expressed through field 'channelService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'createChannelService': Invocation of init method failed; nested exception is java.lang.Exception: Error loading Picons error:1 Unknown Code
2019-02-13 19:57:39.751 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2019-02-13 19:57:39.814 INFO 7 --- [ main] utoConfigurationReportLoggingInitializer :Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-02-13 19:57:39.831 ERROR 7 --- [ main] o.s.boot.SpringApplication : Application startup failed
from proxylive.
Its working now. Thanks a lot ;)
from proxylive.
Related Issues (20)
- Application wont launch HOT 1
- Problem with docker start HOT 2
- Reporting a bug HOT 1
- Error creating bean with name 'streamController': Unsatisfied dependency expressed through field 'channelService'; HOT 2
- Error on transcoding HOT 10
- Unable to stream anything due to an apparent error obtaining the IP HOT 5
- Unable to run image as docker container - application.yaml malformed ffmpeg profile commands HOT 4
- Malformed Channel Names in playlist generated by proxylive HOT 3
- I am unable to get the current version to build and run correctly on Ubuntu 18.08 19.04 or 20.04 HOT 5
- Error creating bean with name 'streamController': Unsatisfied dependency expressed through field - Ubuntu 18.04 HOT 2
- exessive logging HOT 8
- Feature Request Adaptive streaming HOT 6
- Error on open stream:api/channel/grid?start=0&limit=5000 HOT 1
- live mpd url HOT 2
- ffmpeg not found HOT 1
- proxylive.jar failure HOT 3
- How can I use vaapi? HOT 4
- Channel refresh only works when the EPG is updated
- Debian unable to launch HOT 2
- FFMPEG arguments are added by default HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxylive.