Live data from Hacker News

How I Made Porn Video Streaming More Efficient with Python and C

toptal.com

41–50 of 118 posts

Re: How I Made Porn Video Streaming More Efficient with Python and C

#42
I know others already said this, but I clicked on this link from work and immediately became appalled when realizing it was about porn and quickly backed out. I'd gladly read this from the comfort of my own home and I'm sure the content itself is SFW but still the point is I was mislead. Can we please [mods] not change titles in cases like this?

Re: How I Made Porn Video Streaming More Efficient with Python and C

#43
post #23

I sympathize with why the mods changed the title from "Porn" to "Video", but now you've made it so that HN users are unwittingly clicking into an article that talks about porn, in such a way that could be detected by a workplace firewall. That's not an ideal usability decision. Why not use good ol square brackets to maintain the integrity of the title: How I Made [Porn] Video Streaming 20x More Efficient with Python…

I think your sympathy is overapplied here... that's very clearly an important bit of information for anyone considering clicking on this link. Thanks for putting the warning up for those of us who would not otherwise have known thanks to a poor title edit.

Re: How I Made Porn Video Streaming More Efficient with Python and C

#44

More efficiently? For two minutes of video? I could see if you were trying to stream Zombieland or Spaceballs... but porn?! I guess whatever inspires people to innovate is okay with me.

Original writer here.

Actually this was a website which streamed online broadcasts live from people, like ustream does but with adult content. Some broadcasts could be hours long.

Re: How I Made Porn Video Streaming More Efficient with Python and C

#45
post #35
post #30

What is the association with this site toptal.com? Has anyone here ever worked with them before?

Hey Jeremy, this is our engineering blog.

Thanks. This is the only article on the blog? I was actually intrigued by the site and was wondering if anyone on HN has used this service as a dev or a client....

Re: How I Made Porn Video Streaming More Efficient with Python and C

#47

Agreed that RTMP is an abomination that needs to be exorcised from the Earth as soon as possible. Unfortunately, it is probably here to stay until something like WebRTC gains critical mass. It's not clear what the article means by "repackaging" a stream or "pointers" to tags (especially in the diagram that shows tag pointers being transported between users). While RTMP is cumbersome, shoving media data (tags) under a…

Author of the original post here. >It's not clear what the article means by "repackaging" a stream or "pointers" to tags (especially in the diagram that shows tag pointers being transported between users). By repackaging I meant extracting the FLV tags which pretty much travel in the same format as in an FLV stream (.flv file) if memory serves well. Pointers to tags refer to the internal implementation. I took the FL…

> I extract the FLV tags, which I could use to multicast

I assume you don't really mean IP multicast (which would, incidentally, be one approach to edge-origin mirroring for the popular marketing campaigns you mentioned, at least within a data center).

Anyway that makes sense, simply sending the FLV is clever. What's the method of delivery -- chunked HTTP? Does it play well with proxies?

Re: How I Made Porn Video Streaming More Efficient with Python and C

#48

Earlier quoted context omitted.

Author of the original post here. >It's not clear what the article means by "repackaging" a stream or "pointers" to tags (especially in the diagram that shows tag pointers being transported between users). By repackaging I meant extracting the FLV tags which pretty much travel in the same format as in an FLV stream (.flv file) if memory serves well. Pointers to tags refer to the internal implementation. I took the FL…

> I extract the FLV tags, which I could use to multicast I assume you don't really mean IP multicast (which would, incidentally, be one approach to edge-origin mirroring for the popular marketing campaigns you mentioned, at least within a data center). Anyway that makes sense, simply sending the FLV is clever. What's the method of delivery -- chunked HTTP? Does it play well with proxies?

No, not IP multicast. Imagine it as a web server that serves FLV files which always start at the current stream position. This is what it did.

Actually bringing up the proxy issue is interesting. I'm not sure if it does. Essentially forbidding all caching would make it play nice.

Re: How I Made Porn Video Streaming More Efficient with Python and C

#49
post #31

Nothing open source in this article which was the biggest drawback of me reading this.

Unfortunately that's the case. I heard really good things about wowza these days. Not open source but a lot of things are open and flexible. Also back then red5 was also an ok alternative, not sure if that's still the case.

Re: How I Made Porn Video Streaming More Efficient with Python and C

#50
post #45
post #35

Earlier quoted context omitted.

Hey Jeremy, this is our engineering blog.

Thanks. This is the only article on the blog? I was actually intrigued by the site and was wondering if anyone on HN has used this service as a dev or a client....

OP here, and Director of Community at Toptal. This is the first live article, but we've got loads more in progress covering a bunch of different projects and technologies.
Post reply on HN