I'm creating a service using c# to read stream of tweets (TimeLine) on a specific hash-tag (ex. #ReformJO), so after reading twitter APIs documentations, the most efficient way I came with is by using POST statuses/filter
The question is I didn't know where to start with my code. So if there's a kind of hint or USED example to clarify this.
P.S: Im not looking for a search method with a result, what I need is a TimeLine reader for this hashtag since it's able to be expandable at any moment.
Related
I downloaded a .osm.pbf file at http://download.geofabrik.de/europe.html.
I need to convert the data (streets etc) to Graphs so I can calculate routes. I believe these files already work with Nodes but I have trouble reading the data.
I tried using http://www.osmsharp.com/ but I don't really understand the software.
Can someone give me links to a proper library or give me a few tips in how to access the data from the OSM. Some pseudo / example code is fine aswell.
I'm new to openstreetmaps and this kind of parsing, so I'm sorry if this is a rookie question.
If you have questions please do tell!
Thanks!
I suggest to play around with OSM XML first to get an idea about how OSM data works. It is also very helpful to launch an OSM editor (e.g. the browser editor iD or the standalone editor JOSM) to take a look at real OSM data.
Later you can read about the PBF format (it is mainly smaller and faster than OSM XML) and about PBF software support. Use one of the existing libraries, don't try to reinvent the wheel.
Also read about how to calculate a routing graph from OSM data. Also look at routing in the OSM wiki. There is some general information available as well as a list of online and offline routers. If you are stuck you can take a look at their implementations.
I am building a program(in C#) and I need to download the audio from a youtube video(using the URL). I found two libraries which allow me to do it:
YotubeExtractor and libvideo(Also known as VideoLibrary), but I don't know how to use them, I mean I tried using their documentation but non of them worked.
Do you know another way which I can download or maybe explain me how to do this?
Thank you and have a nice day!
Don't use other people's code unless it's large and popular or your only option, I recommend, so that you both learn more and know how it works, as well as know how to maintain it if it breaks.
Retrieve the page using standard .NET functionality, parse out the HTML to find the video URL, download it using the same standard functionality, and then convert it to MP3 as a separate logical unit of your software.
For converting to MP3 you may well want to use someone else's library or call an external program like FFMPEG since that's not as trivial as parsing a webpage.
I have a video server streaming MPEG-4(video/audio)
I need to get the audio from the MPEG-4...is it possible to get only the audio???
I would like to have some tutorials, samples, examples or something useful to start
programming my application.
I found this : Bass.Net to stream audio, but I don't know if it supports RTSP, and I would like to know if someone has any tutorial or something useful.
You can get the individual packets using my library and do something with them.
You can also aggregate the source using my library.
The library is # http://net7mma.codeplex.com/
There is an article # CodeProject http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp which explains how it works.
If you need anything else let me know!
I want to create a C# web service for audio steaming (upload n download) to iPhone.
any help would be greatly appreciated.
Your question is somewhat vague, But I'll assume that you're trying to stream multiple mp4 audio files.
Here are some possible solutions:
Use an already existing solution: like IceCast or ShoutCast. With that, you'll be able to stream easily. But it's not in "C#".
You can just serve directly the mp4 via a direct URL to the iPhone, and your service just tell the the URL where to get it. If you're making an iPhone application, you can ask the next song in queue to your service and be able to queue it. (pseudo streaming)
If you're into making a full fledged streamer, I would suggest you to look at the ".pls" format. It's not a simple task and may require a lot of time to achieve.
is there a way to programatically get a list of all feeds and there current labels, folders from google reader. i am using c#. i see there are some listing for http get / put code but can't find any good parsers as well
Here's an interesting article about using Google Reader in C# directly. You may also take a look at Google Reader .NET API.