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

Trouble opening m3u8 stream #11

Closed
computmaxer opened this issue Sep 14, 2013 · 8 comments
Closed

Trouble opening m3u8 stream #11

computmaxer opened this issue Sep 14, 2013 · 8 comments

Comments

@computmaxer
Copy link

First I just want to say thank you for making wallop! I will be working on first streaming to a simple Roku app for football season, then I may see if I can get it to stream to a plex media server. Should be fairly easy with your API.

I've got it running on my Mac, but I am unable to get the streams to actually play. I've tried it in Safari as well as opening the stream in VLC, both just hang there and don't display anything. I can see the clients are making GET requests to get the m3u8 and .ts files, but they never actually play the video. I can also see ffmpeg working. Any idea why I'm having trouble viewing the stream?

In case it helps, here is the output of ffmpeg -i. I compiled it just a few days ago.

ffmpeg version N-56198-gbbcaf25 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 12 2013 00:33:06 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libaacplus --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-openssl --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local
  libavutil      52. 43.100 / 52. 43.100
  libavcodec     55. 31.101 / 55. 31.101
  libavformat    55. 16.102 / 55. 16.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 84.100 /  3. 84.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
@computmaxer
Copy link
Author

@maddox Any idea what could be causing this?

@maddox
Copy link
Owner

maddox commented Sep 18, 2013

I'm not sure. Do you see the .ts segments on disk? Is ffmpeg actually producing them? What's the channel number you're tuning?

@computmaxer
Copy link
Author

Yes, I see the .ts segments being created. I've attempted 8.1 (local CBS) and 51.7 (Comedy Central) both with the same result.

I see the clients hitting the webserver for the files in the server log output:

127.0.0.1 - - [18/Sep/2013 13:51:22] "GET /channels/51.711.ts HTTP/1.1" 200 2386 0.0006
127.0.0.1 - - [18/Sep/2013 13:51:27] "GET /channels/51.7.m3u8 HTTP/1.1" 200 176 0.0010
127.0.0.1 - - [18/Sep/2013 13:51:27] "GET /channels/51.712.ts HTTP/1.1" 200 2386 0.0006
127.0.0.1 - - [18/Sep/2013 13:51:31] "GET /channels/51.7.m3u8 HTTP/1.1" 200 176 0.0012
127.0.0.1 - - [18/Sep/2013 13:51:33] "GET /channels/51.7.m3u8 HTTP/1.1" 200 177 0.0007
127.0.0.1 - - [18/Sep/2013 13:51:33] "GET /channels/51.713.ts HTTP/1.1" 200 2386 0.0006

But video never begins playing with either Safari or VLC.

@maddox
Copy link
Owner

maddox commented Sep 18, 2013

I've attempted 8.1 (local CBS) and 51.7 (Comedy Central) both with the same result.

That's the problem.

afc5cab and 5c8a51b fixed the problem with ATSC channel tuning. Have you pulled master recently? Do that and try again.

@computmaxer
Copy link
Author

Ahhh, no I don't have those changes. Great, thanks! 👍

@maddox
Copy link
Owner

maddox commented Sep 18, 2013

So then it worked after?

@computmaxer
Copy link
Author

Yup! It's awesome, thanks again. I'll be making a little Roku app so I can finally stream from this to my Roku and watch live TV on my projector in the living room.

@maddox
Copy link
Owner

maddox commented Sep 18, 2013

@computmaxer awesome 👍 that's what it was made for. Using it as the backend for things like that 🤘

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