Page 3 of 3

Re: DCPlaya 2025 Internet Radio on Dreamcast 100k+ Streaming Radio Stations

Posted: Fri Feb 14, 2025 10:37 am
by Scrivani
Ian Micheal wrote: Fri Feb 14, 2025 8:36 am
Scrivani wrote: Wed Feb 12, 2025 8:53 pm Some interesting achievements!

Let's take DCPLAYA to the limit!



- "BBA Mode" Software Utility - Usage Example

- Icecast2 + MPD + MPC Hosted Radio Service - Accessible over the Internet
>>> overcoming the limitation of https and audio formats other than mp3. Here everything is retransmitted in the compatible format.

- VLC Video Streaming to the Dreamcast - To be tested over the Internet
>>> Proof of Concept of the DCPlaya pioneering spirit, being able to perform online streaming of the video via HTTP, even with low quality for obvious reasons. Dreamcast TV?

And all this inside the RaspberryPi (DreamPi) itself

DCPlaya Updates:
Changes over the Lua language files in order to:
1. Skip first VMU Check
2. Change net.lua to be ready with the desired IP
3. Call Ethernet Connection at the Start Up
Did you compile this from src not know anyone that can do it?
I did modifcations junt in LUA level files, not in the main binary 1ST_READ.BIN

And that is one of the best part of this application, some things are programmed in the uncompiled LUA files.

Re: DCPlaya 2025 Internet Radio on Dreamcast 100k+ Streaming Radio Stations

Posted: Sat Feb 15, 2025 12:34 am
by Scrivani
I just found a simple way to make private Radio, Video and Television transmission work, the worst thing was finding the online transmission acceptance limitations of the great and innovative DCPlaya.

It turns out all you need is VLC.

Create your own Transmission Channels of Radio:

Code: Select all

vlc -vvv https://cloud1.cdnseguro.com:9758/ --sout "#transcode{acodec=mp3,ab=256k,channels=1,samplerate=44100}:http{mux=ts,dst=:9000/stream}" &
- This is an functional example and the command itself for you made your changes. Here you just need to change the radio URL: "https://cloud1.cdnseguro.com:9758/" for one you want.
- It overcomes the natural limitation of http and mp3, and can then retransmit any https and aac online radio.
- Always 256k just in case the source it is.

The target URL Transmission will be:
http://your-ip-address:9000/stream

":9000/stream" >> this is up to you.


Create your own Transmission Channels of LIVE TELEVISION:

Really low quality IPTV on Dreamcast (!!) , but still amazing.

Code: Select all

vlc -vvv https://cbsn-chi.cbsnstream.cbsnews.com/out/v1/b2fc0d5715d54908adf07f97d2616646/master.m3u8 --sout "#transcode{vcodec=divx,vb=600,maxrate=600,bufsize=1000,scale=1,width=160,height=120,acodec=mp3,ab=16k,channels=1,samplerate=22050}:http{mux=ts,dst=:9001/stream}" --audio-desync=-1100 &
- Insane, i just found out this methods tonight.
- Just replace the m3u8 URL.
- Audio delay or video advance are required by 1 second, as DCPlaya has this delay by nature.

The target URL Transmission will be:
http://your-ip-address:9001/stream

Here you find IPTV
https://github.com/iptv-org/iptv/tree/master/streams


Create your own Transmission Channels of Local Videos:

Really low quality VIdeo Streaming on Dreamcast (!!) , but still fantastic.

Code: Select all

vlc -vvv YOU_VIDEO_ANYTHING_YOU_WANT.MP4 --sout "#transcode{vcodec=divx,vb=600,maxrate=600,bufsize=600,scale=1,width=160,height=120,acodec=mp3,ab=48k,channels=1,samplerate=22050}:http{mux=ts,dst=:9002/stream}" --audio-desync=-1100 &
- Audio delay or video advance are required by 1 second, as DCPlaya has this delay by nature.

- I was first converting the videos with ffmpeg to something like video.avi bitrate 400, resolution 320x240, mp3 64k, mono, samplerate 22050, then change a little bit felling dcplaya behavior

Like this:

Code: Select all

 ffmpeg -i your.mp4 -vf "tpad=start_duration=1.1" -c:v mpeg4 -vtag divx -b:v 600k -maxrate 600k -bufsize 600k -s 320x240 -r 24 -c:a mp3 -b:a 48k -ar 22050 -ac 1 video_out.avi 
Here you see the good source format will have mpeg4 divx H263 type, bitrate between 350 and 600, defined maxrate and buffer for "Constant" video, and about the audio, is audible enough even from 16k up to 64k, lightweight 22.05 kHz sampling rate is important.

>> then I stream the low quality AVI file to something even low, because is what DCPlaya can handle, like this

Code: Select all

 cvlc -vvv shen_ep2.avi --loop --sout "#transcode{vcodec=divx,vb=600,scale=0.5}:http{mux=ts,dst=:9002/stream}" &
This is using RaspberyPi or Linux PC, And I still think is the best method for Local Videos, more stable and "quality".
scale=0.5 means VLC will drop the resolution by half.

RaspberryPi can't handle in-time MP4 converting/transmission, so you go with stronger machines or VLC for Windows on prompt command (easy)

Code: Select all

C:\Program Files\VideoLAN\VLC>vlc -vvv https://cbsn-chi.cbsnstream.cbsnews.com/out/v1/b2fc0d5715d54908adf07f97d2616646/master.m3u8 --sout "#transcode{vcodec=divx,vb=600,maxrate=600,bufsize=1000,scale=1,width=160,height=120,acodec=mp3,ab=16k,channels=1,samplerate=22050}:http{mux=ts,dst=:9001/stream}" --audio-desync=-1100 &
Then you make your CDI editing the file:
at dcplaya_root/extra/radio.m3u in order to include your address to the playlist
something like this:
/http/192.168.0.9:9001/stream/
[BootDreams is you friend.]

On videos, many times if the buffer bar looks crazy, stop and play again until it stabilizes.

Do your tests like changes on bitrate, also resolution. This are just reference values, sometimes it depends on the source video.

I give you all I had.

Dreamcast Streaming Revolution ;)

Re: DCPlaya 2025 Internet Radio on Dreamcast 100k+ Streaming Radio Stations

Posted: Sun Mar 02, 2025 8:20 pm
by Scrivani
Computer screen sharing to Dreamcast with DCPLAYA + VLC




Re: DCPlaya 2025 Internet Radio on Dreamcast 100k+ Streaming Radio Stations

Posted: Sun Mar 02, 2025 8:44 pm
by Sonic1994DC
:o :o :o :o :o :o :o