Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating video channel #1

Open
strk opened this issue Oct 12, 2014 · 9 comments
Open

Error creating video channel #1

strk opened this issue Oct 12, 2014 · 9 comments

Comments

@strk
Copy link

strk commented Oct 12, 2014

the live channel often plays only audio and no video. looking at the log it seems there's an error at startup, about not finding width/height in the stream. trying over and over eventually gives you a success.

I think this is due to a keyframe being required but not found in the initial buffer sent to ffmpeg.
Can you keep sending more of the buffer on error, rather than giving up ?

@NeverWise
Copy link
Owner

I can try to provide more information to the stream to xbmc.
When I have time I'll try to make this change.

@NeverWise
Copy link
Owner

I found a solution that seems to mitigate the problem, if you want I can tell you how to modify the addon so you can try.

@strk
Copy link
Author

strk commented Nov 18, 2014

Sure, can you put it in a branch maybe ?

@NeverWise
Copy link
Owner

Try commit 21422fe

@strk
Copy link
Author

strk commented Nov 19, 2014

Against which commit should I compare it ?

As of 21422fe I could not reproduce the problem but I hadn't tried if I could reproduce it with a previous version.

@NeverWise
Copy link
Owner

You can compare it with the previous commit 634b33c.

@strk
Copy link
Author

strk commented Nov 19, 2014

Right now, with both master and previous, I get:
21:34:19 T:2758249328 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
21:34:19 T:2766642032 ERROR: Decode - avcodec_decode_video returned failure
21:34:19 T:2766642032 ERROR: Previous line repeats 186 times.

@NeverWise
Copy link
Owner

Maybe now is right
last commit 8d7b85c
previous commit 21422fe

@strk
Copy link
Author

strk commented Dec 1, 2014

Just a note: I haven't handled to reproduce the problem yet, so
I hadn't upgraded either ...

For the record: the initial problem I detected during the "Circo Massimo"
live around the time of the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants