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

Support for mixlr.com #11551

Open
ghost opened this issue Dec 29, 2016 · 2 comments
Open

Support for mixlr.com #11551

ghost opened this issue Dec 29, 2016 · 2 comments

Comments

@ghost
Copy link

@ghost ghost commented Dec 29, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.12.22

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

http://mixlr.com/infomenonitas/showreel/infomenonitas-on-mixlr-160/

@tobbez
Copy link

@tobbez tobbez commented Jan 24, 2017

Support for live broadcasts would be nice.

The following applies to live broadcasts, and may not apply to saved broadcasts.

Example url: http://mixlr.com/dreamcity/

First, retrieve http://api.mixlr.com/users/dreamcity (the site's web app also specifies ?source=embed&callback=onUserLoad, but source is not required, and we don't want jsonp). Contents look like this:

{                                                                                                                                                                                                                                                                                                                        [2/23]
  "username": "DreamCity",
  "id": 5576164,
  "url": "http://mixlr.com/dreamcity",
  "profile_image_url": "https://mixlr-assets.s3.amazonaws.com/users/3d15a4290c4418e752a5e11f4dc6b0b2/medium_square.png?1480512062",
  "followers_count": 107,
  "following_count": 110,
  "about_me": "Almost any kind of Music (Non Stop) ",
  "slug": "dreamcity",
  "permalink": "http://mixlr.com/users/5576164",
  "latitude": 37.9839576,
  "longitude": 23.7323854,
  "is_live": true,
  "broadcast_ids": [
    "e24d2b3952163eb974d05b376076cb5a"
  ],
  "time_zone": "London",
  "role": "Broadcaster",
  "is_premium": true,
  "broadcasts": [
    {
      "title": "DreamCity on Mixlr",
      "id": "e24d2b3952163eb974d05b376076cb5a",
      "category_id": 36,
      "user": {
        "username": "DreamCity",
        "id": 5576164,
        "slug": "dreamcity",
        "profile_image_url": "https://mixlr-assets.s3.amazonaws.com/users/3d15a4290c4418e752a5e11f4dc6b0b2/medium_square.png?1480512062"
      },
      "comment_count": 0,
      "listener_count": 112,
      "heart_count": 32,
      "seconds_since_start": 15424,
      "category_name": "Eclectic",
      "user_id": 5576164,
      "slug": "dreamcity-on-mixlr-28",
      "url": "http://mixlr.com/dreamcity/showreel/dreamcity-on-mixlr-28",
      "is_live": true,
      "started_at": "2017-01-24T18:00:08+00:00",
      "source": "app",
      "streams": {
        "aac": true,
        "apple": {
          "url": "http://mixlr.com/broadcasts/e24d2b3952163eb974d05b376076cb5a/playlist.m3u8",
          "path": "/live/production/e24d2b3952163eb974d05b376076cb5a/playlist.m3u8",
          "ts_path": "/livets/production/e24d2b3952163eb974d05b376076cb5a/playlist.m3u8"
        },
        "rtmp": {
          "path": "/live/production",
          "stream_name": "e24d2b3952163eb974d05b376076cb5a",
          "port": 443
        },
        "progressive": {
          "url": "http://origin7.mixlr.com:443/e24d2b3952163eb974d05b376076cb5a"
        },
        "rtsp": {
          "url": "rtsp://edge03.mixlr.com:554/live/production/e24d2b3952163eb974d05b376076cb5a",
          "start_url": "http://edge03.mixlr.com/rtsp_stream_starter?broadcast_uid=e24d2b3952163eb974d05b376076cb5a&application=live&rails_env=production"
        }
      }
    }
  ],
  "saved_broadcasts": [],
  "scheduled_broadcasts": [],
  "v2_scheduled_broadcasts": [],
  "comment_count": 9,
  "rtmp_server": "rtmp://edge03.mixlr.com",
  "least_loaded_server": "edge03.mixlr.com",
  "use_progressive_player": false,
  "share_urls": {
    "facebook": "http://www.facebook.com/sharer.php?&u=http://mixlr.com/dreamcity?fb=9551485296232t=Listening%20live%20to%20%22DreamCity%20on%20Mixlr%22%20by%20DreamCity%20on%20Mixlr.%20http://mixlr.com/dreamcity",
    "twitter": "http://twitter.com/share?url=http://mixlr.com/dreamcity&text=",
    "embed_code": "<iframe name=\"mixlr-player\" src=\"http://mixlr.com/embed/dreamcity?width=600&autoplay=ae\" scrolling=\"no\" frameborder=\"no\" height=\"150\" width=\"600\"></iframe>"
  },
  "current_heart_count": 32,
  "total_comment_count": 0,
  "total_heart_count": 2258,
  "artwork_url": "https://mixlr-assets.s3.amazonaws.com/artwork/4642d92b17deb18ad5bd1c911ab8a593/base.png",
  "plan": {
    "name": "Mixlr Pro",
    "reference": "pro"
  },
  "events": []
}

Metadata and stream data is in response['broadcasts'][*]. The rtmp format also uses response['rtmp_server'].

I'm not sure whether a single account can have multiple concurrent live broadcasts.

Also not sure how to detect a stream ending - at least rtmp doesn't close the connection when a stream ends.

@ghost
Copy link
Author

@ghost ghost commented Feb 7, 2017

Adding on to this discussion, it appears that a single account is only allowed one stream at a time.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.