Resman says hi.

TinyCast

Dans le monde des serveurs de streaming audio on trouve beaucoup d'acteurs. Les plus connus sont bien sur shoutcast et icecast, tous deux robustes et riches en fonctionnalités. Cependant ils sont également très demandeurs en ressources, et nombre de ces fonctionnalités ne sont pas indispensables pour l'usage de base. D'un autre coté je voulais écrire moi-même un serveur de streaming en perl, et c'était en soi une raison suffisante pour me lancer :) Au final TinyCast (c'est son nom) est un serveur petit (du point de vue du nombre de lignes de code, il faut tout de même l'interpréteur perl en RAM), et très modulaire.

Remarque : ce programme comme tout ce qui se trouve ici est expérimental, cependant je suis satisfait du code et la stabilité est pour le moment très bonne.

Organisation

Le programme est organisé en 3 parties :

Le serveur lui même n'est donc constitué que de deux modules perl, le travail de décodage et de réencodage en un format streamable est fait par des programmes externes, ce qui explique en partie la légèreté du code. (L'autre explication est la puissance du perl ;) )

Installation

L'installation est on ne peut plus simple, Assurez vous d'abord de disposer des modules perl suivants :

Avant de pouvoir utiliser le serveur, il y a quelques paramètres à configurer. Editez streamer.pl et modifiez les paramètres suivants à votre guise :

my $PORT = 8888;          # Port d'écoute du serveur
my $MAXCLIENTS = 10;      # Nombre maximal de clients simultanés
my $BUFSIZE = 4096;       # Taille des buffers, ne pas changer
my $CLIENTBUF = 128000;   # Buffer client autorisé avant déconnexion
my $SOURCEBUF = 65536;    # Données à conserver pour une mise en buffer rapide coté client
my $SERVERNAME = "vic development server"; # Message envoyé au client lorsqu'il se connecte
my $VERSION = "0.1";      # Plutot inutile :)
my $debug = 0;            # Affiche des infos de debug si 1, va en background si 0

Vous pouvez tout de suite lancer le serveur de streaming en tapant :

$ ./streamer.pl

Ensuite paramétrez le fichier types.conf qui définit les commandes de décodage/encodage audio. Le fichier doit contenir au moins une ligne "Bitrate N" qui détermine le débit du flix audio. Ce débit est constant pour une source donnée. On trouve également dans ce fichier un nombre quelconque de lignes "FileLike" qui indiquent les traitement à appliquer à chaque type de fichier audio. Cette commande prend deux arguments, le premier est une expression rationnelle qui permet d'identifier le fichier (par son extension en général), et le second donne la commande d'encodage. L'exemple ci-dessous prend en compte les fichiers sid (musique C64), les fichiers mp3, les fichiers ogg, les fichiers SPC (Musiques SNES) et différents types de modules. La chaîne "%F" est substituée par le nom du fichier à jouer.

Bitrate 128000
FileLike "\.sid$"               "./sid_source.pl %F |lame -S -r -s 44.1 -m s -x - -"
FileLike "\.mp3$"               "lame %F --resample 44.1 -b 128 -"
FileLike "\.ogg$"               "ogg123 %F -q -d raw -f - |lame -S -r -s 44.1 -m s -x - -"
FileLike "\.(669|mod|xm|s3m|it)$"       "mikmod -d pipe,pipe=cat -q -f 44100 -o 16s --hqmixer --surround --noloops -X %F |lame -S -r -s 44.1 -m s-x - -"
FileLike "\.spc$"               "./spcsource %F | lame -S -r -s 32 -b 128 -m s -x --resample 44.1 - -"

Bien sur il faut installer séparément les programmes de décodage/encodage, voire les coder vous-mêmes pour les formats les plus baroques (comme j'ai du le faire pour les fichiers SID et SPC).

Lancez maintenant la source, par exemple :

$ ./source.pl /home/coincoin/extremia.mod

Voilà, vous pouvez maintenant écouter le serveur à l'aide de votre lecteur préféré, en vous connectant sur le port configuré précédement.


Comments

Comment left by Thamar bleij on 2020-11-25 11:26:43 :
Hi this post is very nice.finally i got all those information whatever i really wanted to know. Thankyou for sharing this usefull information. Here I want to share the information about Dell support. As we all have been digitalied and we do multiple works together so if you face any problem or need any assist about Dell klentenservice so pleae visit over this site:- dell ondersteuning bellen
Comment left by Whitney Voskuil on 2020-11-25 08:16:31 :
Hi your post is really appreciatable.I really thankful for this post. Here i would llike to share some information about facebook. As we know that facebook is a social trap where we connect with people in all over world. So if you are using facebook and face any technical issue that time so just visit our website. We can resolve the smallest problem on same time. For further information please visit on our website- facebook bellen belgie
Comment left by elizabethjneal2 on 2020-11-25 07:34:53 :
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Artificial Jewelry
Comment left by Annelous on 2020-11-25 06:31:45 :
Hi thankyou for this great helpful information.this information is really useful at today's time.you had easily explained whole information in a short note. Now i would like to share some information about PayPal.So If you are a Paypal user and you are facing any problem regarding to PayPal. No need to worry just simply visit on our site- paypal email belgie
Comment left by John Maxon on 2020-11-23 11:26:36 :
Thanks for sharing this with us all.

John of

Dumpster rental dayton Ohio

Duct cleaning Cincinnati Oh

Mold Inspection Dayton

Duct Cleaning Dayton OH

Septic Pumping Houston

Junk Removal Dayton Oh

Landscaping Dayton OH

Septic Pumping Corpus Christi TX
Comment left by Jana Abend on 2020-11-22 11:18:40 :
hi I read your blog which is really great.Please visit on this site.bellen total av
Comment left by collingwood on 2020-11-19 12:29:34 :
thanx for sharing this
this will very helpful
assignment help experts
Comment left by elizabethjneal2 on 2020-11-19 07:54:01 :
I really like your take on the issue. I now have a clear idea on what this matter is all about.. Houston Embroidery Service
Comment left by elizabethjneal2 on 2020-11-19 07:52:44 :
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. onewire login walmart
Comment left by Peter on 2020-11-18 12:40:19 :
Hey there
thanx for sharing this thread
amazing article
myassignmenthelp refund
Comment left by Peter on 2020-11-18 12:39:36 :
Hey there
thanx for sharing this thread
amazing article
https://assignmenthelp.com.sg/myassignmenthelp-com-review/
Comment left by Roshni Kargi on 2020-11-17 16:26:53 :
I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.

One Funnel Away Challenge 2021
giant brand solutions
Comment left by Nora on 2020-11-17 12:42:47 :
Hi.. I read your blog which is really gud or amazing. Please visit on facebook bellen
Comment left by Marisca Walhout on 2020-11-17 12:03:36 :
Hi.. I read your blog which is really gud or amazing. Please visit on Mcafee support deutschland
Comment left by soleil on 2020-11-17 09:53:11 :
Hi read your blog amazing techniqe and amazing information. I found that kind of blog which is now I got it.More info please visit on Bellen Avast
Comment left by Jeff on 2020-11-17 09:07:27 :
good work
this is good knowledge you share with us
we know eduction is very important so you should know more about myassignmenthelp legit
Comment left by elizabethjneal2 on 2020-11-17 08:29:59 :
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. private investigators Spain
Comment left by Jana Abend on 2020-11-17 07:28:36 :
Hi read your blog amazing techniqe and amazing information. I found that kind of blog which is now I got it.More info please visit on total av deutsch
Comment left by Roland on 2020-11-17 04:33:12 :
This is the most accurate spanish dictionary for learners.
Comment left by emad ahmed on 2020-11-16 23:32:07 :
very good post.
لعبة من سيربح المليون
لعبة جاتا
صب واي سيرفرس
زوما
العاب كلاش
Comment left by kim larry on 2020-11-16 11:12:23 :
Hey are you find the best economics assignment help then myassignmenthelp.com is the best serivice provider for economic assignment
Comment left by elizabethjneal2 on 2020-11-14 08:09:19 :
Wow, cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though. izmit evden eve nakliyat
Comment left by elizabethjneal2 on 2020-11-14 08:08:50 :
I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. umrah packages karachi
Comment left by elizabethjneal2 on 2020-11-13 08:40:41 :
It was a very good post indeed. I thoroughly enjoyed reading it in my lunch time. Will surely come and visit this blog more often. Thanks for sharing. Buy coffee beans
Comment left by elizabethjneal2 on 2020-11-13 08:36:28 :
Hello There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I’ll certainly comeback. interior auto detailing
Comment left by elizabethjneal2 on 2020-11-12 07:40:03 :
This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Electrician bexley
Comment left by elizabethjneal2 on 2020-11-12 07:35:45 :
You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!. show boards
Comment left by elizabethjneal2 on 2020-11-11 08:24:31 :
Thank you very much for this great post. muscle car display boards
Comment left by elizabethjneal2 on 2020-11-10 09:16:40 :
Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. best solar grid tie inverters
Comment left by elizabethjneal2 on 2020-11-10 09:13:32 :
Great content material and great layout. Your website deserves all of the positive feedback it’s been getting. top battery suppliers and manufacturers
Comment left by Admin on 2020-11-09 18:07:42 :


www.pharmacychecker.com
www.cipa.com
www.pharmacists.ca
Learn More




Tags: Canada Online




Vancouver

Canadian Services

Approved Pharmacy

Burnaby

Surrey

Langley

North Vancouver

Maple Ridge

Delta

Richmond

Abbotsford

Chilliwack

Coquitlam

Port Coquitlam

New Westminster

Mission

Vernon

Victoria BC

Nanaimo

Kelowna

Kamloops

Prince George

British Columbia

Bad Credit Car Loans

Moving Companies

Best Movers

Relocation Services

Shipping

Towing Companies

Tow Truck

Railings

Staircases

Designers

Interior Design

Psychic

Office Moving

Fortune Tellers

Custom Design

Pharmacy

Prescriptions

Skin Care

Products

Organic

Beauty Care

Natural

Pest Control

Canada Drives
Stanford
Website
Website
Tourism
Service Canada

Cryptocurrency Exchange

Pardon Services

Carpet Cleaning

House Cleaning

Pressure Washing

Gutter Cleaning

Roof Cleaning

Landscaping

Kitchens

SEO Agency

Trading

Finance

Automobile

Bicyles

E Bikes

Motorcycles

Canadian

Scrap Car Removal

Cash For Junk Cars

Recycle

Edmonton

Calgary

Red Deer

Alberta

Toronto

Ontario

USA

New York

Search Engine Optimization

Companies in BC

In Your Area

Prescriptions Online









electric bikes

quickappliancerepair.ca/langley-appliance-repair

movers in burnaby

custom railings

tow truck surrey

cash for cars






psychic reader

langley appliance repair

Stanford Pharmacy Forum

yelp.ca/search?cflt=homeappliancerepair&find_loc=Langley+City,+BC

Sell Your Junk Car To Your Local Junk Yard In Vancouver How We Became Vancouver's Most Popular Car Removal Professionals.



Natural and organic skincare products combine essential vitamins, botanicals, and minerals to heal and restore our skin—without the toxins.



Trust our Burnaby, BC movers with full-service packing and storage services. If you need to move your home or business within or out of BC. Choose the best affordable movers in Burnaby. Reliable moving services. We make your move easy.



Surrey Towing Service Near Me. Our Services - Best Surrey Tow Trucks | Flatbed Towing Services Delta & Langley & New West | EMERGENCY SERVICE TRUCKS, 24/7 365 DAYS PER YEAR! Getting in an accident is never a good thing!



The Auto finance department offers all types of car loans, including bad credit car loans to Vancouver, Richmond, Burnaby, Westminster, Surrey and Delta. Get a Bad Credit Car Loan in Vancouver, BC - Auto Financing for all types of situations in British Columbia. Greater Vancouver No Credit Vehicles Online.



Very aesthetically beautiful. A trackless system. View. Driveway Sliding Gates. Sliding Gates. A beautiful entrance. We custom build driveway gates in North Vancouver BC based on the dimensions, design and square footage of your residential property.








scrap car removal


bitcoin


canada pharmacy


coquitlam car removal







Supporters




enquiries


about


visit website


learn more


USA Pharmacies


Research Online


buy prescription drugs








Meds Canada

About Canada

business in Canada

Pharmacist in Canada








Comment left by elizabethjneal2 on 2020-11-07 11:45:00 :
This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here! Half Double Methodology
Comment left by elizabethjneal2 on 2020-11-07 11:43:59 :
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. kitchen
Comment left by elizabethjneal2 on 2020-11-07 11:37:42 :
Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. autism awareness necklace
Comment left by elizabethjneal2 on 2020-11-07 11:36:07 :
i love reading this article so beautiful!!great job! TV Stand
Comment left by elizabethjneal2 on 2020-11-07 11:17:17 :
thanks for the tips and information..i really appreciate it.. tile installation
Comment left by elizabethjneal2 on 2020-11-07 11:16:08 :
I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates. Artificial Grass
Comment left by elizabethjneal2 on 2020-11-07 11:05:26 :
thanks for this usefull article, waiting for this article like this again. wedding rings
Comment left by elizabethjneal2 on 2020-11-07 11:03:21 :
I read that Post and got it fine and informative. 夫婦関係
Comment left by elizabethjneal2 on 2020-11-07 10:37:04 :
Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists. anti-aging therapies
Comment left by elizabethjneal2 on 2020-11-07 10:14:04 :
Thanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource... prestamer
Comment left by elizabethjneal2 on 2020-11-07 09:11:38 :
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.. refrigerator repair fresno ca
Comment left by elizabethjneal2 on 2020-11-07 09:11:09 :
This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it Locksmith in Virginia beach
Comment left by elizabethjneal2 on 2020-11-07 09:04:02 :
Thanks for the blog post buddy! Keep them coming... خرید وب کم
Comment left by elizabethjneal2 on 2020-11-07 09:03:41 :
I am definitely enjoying your website. You definitely have some great insight and great stories. fightr boxing club
Comment left by elizabethjneal2 on 2020-11-07 08:55:45 :
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. bisnes dari rumah
Comment left by elizabethjneal2 on 2020-11-07 08:55:25 :
I found that site very usefull and this survey is very cirious, I ' ve never seen a blog that demand a survey for this actions, very curious... download dominoqq online
Comment left by james thomas on 2020-10-31 11:15:34 :
The application comes across as being thoroughly acceptable. Each one of slighter points was manufactured because of a number of listing degree. I adore the required forms ample amounts. website design Conroe Texas
Comment left by samantha on 2020-10-29 13:44:30 :
had fun reading your articles. love this site. keep it up
Comment left by Looney Hans on 2020-10-27 08:31:23 :
glad i found this site!! i learned alot. will recommend it to my friends www.bestlifecoachmadisonwi.com
Comment left by Harry Tasker on 2020-10-22 12:07:26 :
J'aime les manchakous qui ballotent sous la microskirt.
Comment left by Gmail suomi on 2020-10-19 13:00:15 :
Unbelievable blog! This blog provides a brief introduction which is very helpful for me. Instagram is the most usable platform in the world because of its latest features but the user some time confronts some issues on Instagram. For more information, you can visit Instagram asiakaspalvelu.
Comment left by Gmail suomi on 2020-10-16 10:51:19 :
Hi, Thank you for sharing such a good and valuable information,It is very important for me. Gmail is the worldwide used email service but sometimes user faces some problems in it. If you want to get some information about the Gmail then you can visit Gmail yhteystiedot.
Comment left by Jamie Jasper on 2020-10-16 06:51:39 :
hi, your post is very helpful for me. Finally, I found exactly what I want. Sometimes the user of Webroot antivirus faces technical issues that can be very harmful to your device. If you want to get some help regarding Webroot antivirus then visit Webroot contact Nederland
Comment left by salini on 2020-10-13 14:32:11 :
mouse

If you are looking for HP printer tech support you are in right place. Here you can find how can you get connected to HP printer tech support. As we all know about HP is a reputed tech and gadget company manufacturing Laptops, computers, Printer, Softwares, and other gadgets as well. HP has billions of customers across the world. So it is not too easy to get support easily from them but you can reach to hp printer tech support and contact hp printer support easily online.
hp-printer-tech-support-phone
Comment left by Jade Wyatt on 2020-10-06 08:45:13 :
Programming is an intriguing field since it gives us the superpower to control PC frameworks. It tends to be utilized in planes, traffic signal, robots, self-driving vehicles, sites, portable applications, and for a huge amount of other Dissertation Help Service use cases. Presently the primary concern is that product engineers have made a few programming dialects, and every one of them is reasonable to take care of an alternate issue.
Comment left by james thomas on 2020-10-01 17:48:08 :
Quickly your website can irrefutably acquire well known being among the most regarding submitting buyers, due to its thorough content articles or simply just essential critiques. rijbewijs kopen
Comment left by james on 2020-10-01 17:14:05 :
Rapidly this website may irrefutably end up being well-known amongst just about all running a blog individuals, because of its persistent content articles or even evaluations. workshop cinema 4D
Comment left by james on 2020-09-17 09:24:57 :
Rapidly this website may irrefutably end up being well-known amongst just about all running a blog individuals, because of its persistent content articles or even evaluations. workshop cinema 4D
Comment left by tazama on 2020-09-12 14:31:01 :
Are you a traveller and would like to visit Morocco? Then, your trip is sure to be hitch-free when you travel through a reliable morocco desert tours . Explore Morocco trips, and discover the best time and places to visit. Morocco is a country with a mixture of old world charm and a modern Muslim atmosphere. It is a country with a conglomeratofvarious cultures, including African, Berber, British, French, and Spanish. marrakech travel agency Variety of best things to do and see is adverse when you have a trip to Morocco, with a recommended travel Agency in Morocco, like Top Morocco Travel. 3 days marrakech to fes desert tour .
Comment left by Jenine Heijink on 2020-09-03 11:51:37 :
Really Nice Post Admin, Very helpful looking for more posts, Now I have to share some information about How To Fix “LexMark Troubleshooting Guide” problem. If you are going through this problem you can simply Lexmark Printer helpdesk
Comment left by Alum Altul on 2020-08-31 14:48:19 :
Thanks for sharing it is important for me. I also searched for that from here. Visit our site Trend Micro contacteren
Comment left by Tinojems on 2020-08-22 13:56:52 :
Tile Visualizer
Tiles Visualizer
Comment left by Alisha Kruiper on 2020-08-17 14:01:27 :
Hi thankyou for this great information, You had easily explained whole information in a short note. now i want to share some information about norton antivirus. So if you are facing any problem regarding norton antivirus so you can simply visit on our site- norton ondersteuning bellen
Comment left by Mariam Groen on 2020-08-13 00:48:19 :
hi, your post is very helpful for me. Finally, I found exactly what i want. If need information regarding antivirus then you can visit our site ondersteuning voor Kaspersky belgie for help.
Comment left by Lily Loo on 2020-08-12 23:47:34 :
hi, Your post is very helpful for me,finally i got exactly what I want. If you want to know more about antivirus then you can visit our site Bitdefender contact belgie help.
Comment left by Maysa Lang on 2020-08-12 22:36:54 :
hi, Your post is very helpful for me, If you want to know more about antivirus then you can visit our site Canon Printer klantendienst for help.
Comment left by Tosca Klasen on 2020-08-12 21:28:59 :
hi, your post is very helpful for me. Finally, I found exactly what i want. If need information regarding printers then you can visit our site Xerox Printer klantenservice telefoonnummer for help.
Comment left by Rowan Baartman on 2020-08-12 14:24:31 :
Hi this post is very nice.finally i got all those information what i really wanted to know. thankyou for sharing this usefull information.here i want to share the information about mcafee security. as we all have been digitalied and we do multiple works together so if you face any problem or need any assist about MCAFEE so pleae visit over this site-mcafee Antivirus technische ondersteuning
Comment left by Lima Wilmink on 2020-08-12 14:18:04 :
Hi your post is really appreciatable.I really thankful for this post .here i would llike to share some information about HP Printer.We can resolve the smallest problem on same time If you are facing any problem relate to your HP Printer's so this is the right place to get smallest information about HP PRINTER for the further information please visit on our website- hp printer technische ondersteuning
Comment left by Fien Wieten on 2020-08-12 14:14:16 :
Hi your post is very nice and i am greatful to you for sharing this post with us.here i want to share some information about Norton Antivirus.As we all know how much Norton Antivirus is usefull for our laptops and mobiles.so whenever you have any query regarding Norton or need any assistance how to run or any information that time please visit over this site-norton Antivirus technische ondersteuning
Comment left by Milla Roose on 2020-08-12 14:09:31 :
Hi thankyou for this great helpful information.this information is really useful at today's time.you had easily explained whole information in a short note.now i want to share some information about avast antivirus.So if you are facing any problem regarding Avast so you can simply visit on our site-avast technische ondersteuning
Comment left by André on 2020-08-05 22:30:27 :
Super intéressant. Cliquez ici pour en connaître plus à mon sujet.
Comment left by Bradley on 2020-02-15 20:12:43 :
On avance, on avance...
Comment left by Bradley on 2020-02-15 20:11:57 :
On avance, on avance...
Comment left by Gege on 2019-12-01 15:32:53 :
Courouge, pas Courouble.
Comment left by Lionel on 2019-11-10 17:49:49 :
Yep, vive la microjupe.
Comment left by Ward Fawler on 2019-10-04 18:57:51 :
Alors, minijupe ou pas minijupe ?
A suivre...
Comment left by Anil Kumar on 2019-08-14 09:48:13 :
The way you describe the matter is really nice.
Comment left by Laroche on 2019-05-24 20:27:35 :
Comment va cette sténose du pylore (Courouble).
Comment left by Shirley Blaine on 2019-01-26 17:19:01 :
Essai de bite concluant.
Add a new comment :
Name :
Comment :

Answer the following question : Which is the smallest, one or eleven ?