English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 31 August 2022, 12:07   #1
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
TimberWolf works with Browservice also on Youtube (I'm looking for advice)

I wanted to try TimberWolf with the 4.1FE Using "Browservice" It works "well" for navigation.
I also tried YouTube and it works to start could be fine.


I wanted to ask if there is something more efficient similar to Browservice ??


The test was carried out on the same PC without using another dedicated PC.

I will need advice on who is proficient in this type of program and if there is something more efficient.


Even more complex.

(linux on dedicated machine or windows through "powershell")


I'd like to see if there is any kind of conversion that can be done on the fly maybe like "AmiTube" does (I hope the question is right)


Thank you.



Here the test with TimberWolf to see the videos on YouTube:


https://we.tl/t-zqIipmSCQ2

Last edited by White; 08 December 2022 at 13:35.
White is offline  
Old 31 August 2022, 19:48   #2
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
What I was looking for was graphics plugin support or ffmpeg to do the conversion on the fly.

I guess it can be done by good developers

An "xpi" extension for TimberWolf that supports aiostreans and YT.rexx would also be interesting.

But mine are just wrong ideas maybe there are people who surely know more than me.

To note that the developer talks about powerppc and 68k in the readme of him but has never had any feedback and reports to be able to improve it further from this side.

The client support has been tested using the procedure documented in the test directory. It would be interesting to hear about your experiences on different platforms. Browservice is expected to work on Internet Explorer or Firefox on old m68k and PowerPC Macs, but due to lack of access, these have not been tested.
White is offline  
Old 01 September 2022, 00:25   #3
DDNI
Targ Explorer
 
DDNI's Avatar
 
Join Date: Mar 2006
Location: Northern Ireland
Posts: 5,432
Send a message via ICQ to DDNI Send a message via MSN to DDNI
Thanks.
You will get more replies on Amigaworld/Amigans/Amiga.org
EAB is typically 68k Amiga focused.
DDNI is offline  
Old 01 September 2022, 00:43   #4
Vamplover
Registered User
 
Join Date: Jul 2022
Location: Transivania
Posts: 41
I thoughts Timberwolfs stopped howling longs ago.
Vamplover is offline  
Old 01 September 2022, 15:06   #5
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@DDNI
Thanks to you,

I was trying "WebONE" works for proxy certificates etc.
But the interesting part for the emulation is this even if I don't know if it works or if it is useful:
https://github.com/atauenis/webone

""" Picture format converting is performing via convert from ImageMagick (installing automatically).
Video files can be converted on fly via ffmpeg. It's included in Win-x64.full zips, and can be installed manually on Linux/macOS.
To watch YouTube.com videos through proxy, install ffmpeg together with youtube-dl (included in Win-x64.full zips) and use included yt.bat/yt.sh script."""


I will have to do various tests but when I enable user-agents useful for the purpose in the program log ffmpeg appears trying to convert the video but I still don't understand how to do it.

Here the "readme" for the part dedicated to YouTube:

Windows batch script to use Youtube-Dl as video converter for WebOne.
System requirements:
* Server:
* MS Windows XP +
* WebOne proxy server v0.9.2 or newer
* Youtube-DL EXE (https://github.com/ytdl-org/youtube-dl/releases)
* FFmpeg EXE (https://www.ffmpeg.org/download.html#build-windows)
* Fast multicore CPU
* Fast internet and LAN connection

* Client:
* Streaming video player like Windows Media Player or VLC
* Audio and video codecs (or K-Lite Codec Pack)
* Fast LAN connection

How to use:
Step 1. Unpack yt.bat into WebOne folder.
Step 2. Copy ffmpeg.exe into WebOne folder.
Step 3. Copy youtube-dl.exe into WebOne folder.
Step 4. Add to [Converters] section of webone.conf this line:
yt.bat "% SRCURL%"
Step 5. Add to webone.conf this edit set:
[Edit: ^ (http: // www \. | Http: //) youtube.com/watch]
AddConvert = yt.bat
AddResponseHeader = Content-Type: video / MP2T
Step 6. Open any player on client PC and open url
[ Show youtube player ] * via proxy
or
http: // proxyhost: port /! convert /? url = URL_LIKE_ABOVE & util = yt.bat * direct
The requested video should begin playing in the player.

In full Win32 / 64 builds of WebOne, steps 1-4 are already complete. Step 5 is
present in webone.conf, but by default is commented (disabled).

Configuring:
- To change path to youtube-dl.exe and / or ffmpeg.exe edit yt.bat and
add "cd disk: \ path \ to \ binaries" line on top or edit paths directly
- To change output codecs, resolution or other parameters of video
stream edit "-vcodec mpeg2video -acodec mp3 -f mpegts" line in yt.bat.

List of available codecs and formats can be get through running ffmpeg.exe
on proxy machine with "-codecs" and "-formats" arguments.


Note: the example edit set in Step 5 of the manual is for WebOne 0.10.1+.
For WebOne 0.9.2 / 0.9.3 use this old-style webone.conf rule:
[FixableURL: ^ (http: // www \. | Http: //) youtube.com/watch]
Redirect = http: //% Proxy% /! Convert /? Url =% Url% & util = yt.bat & type = video / MP2T

If anyone can be of help :-)

Last edited by White; 01 September 2022 at 15:23.
White is offline  
Old 02 September 2022, 19:01   #6
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
I've done a series of tests
In conclusion, "Webone" should be updated like all programs that have to do with YouTube such as YT.rexx Aiostreams Etc.

Here I used Odyssey with the "user-agent edge 80" but also other compatible "user-agents" the result is always the same.

note that i also updated ffmpeg by creating environment variables in windows 10 enterprise to be safe.

And as you can see from the ffmpeg video try to convert the video on youtube on the fly to forward it directly to "Odyssey" but in reality it probably fails because it is not updated.
The series of events can be seen in the output of the window.

Maybe using Youtube-dlp or an updated fork for the purpose of "WebOne" would work great.

But who can do it?

:-)

here the video if it is of interest:

https://we.tl/t-vr7fNvuuY0

Last edited by White; 08 December 2022 at 13:35.
White is offline  
Old 03 September 2022, 15:42   #7
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
adding the following line to the webone.conf configuration file
[Edit: ^ (http: // www \. | Http: //) youtube.com/watch]
AddConvert = yt.bat
AddResponseHeader = Content-Type: video / MP2T

now the video on YouTube is intercepted correctly but only the download of the file starts and can then be played for example with Emotion Player but this is not the purpose I have to understand if it is possible to see it through the Odyssey browser while ffmpeg converts it on the fly.

separate note:
yt.bat is what I should be able to configure to start figuring out how to set up the conversion (I think)

yt.bat reports this:
@rem Download a YouTube video and return it as a stream of MTS with MPEG2 data.

@rem Requires youtube-dl.exe and ffmpeg.exe in same folder as the batch and WebOne.

@ youtube-dl "% 1" -o - | ffmpeg -i pipe: -vcodec mpeg2video -acodec mp2 -f mpegts pipe:

So it works should be modified by someone of good will eventually :-)

Last edited by White; 08 December 2022 at 13:35.
White is offline  
Old 22 September 2022, 21:54   #8
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
From this I took inspiration to create a sort of server to try to use FFmpeg to convert streaming videos on the fly.

So I researched a bit but it's not my field but I like reading and experimenting.

The direct question is this:

It is possible to create a server for example using XAMPP in this case using Windows later I can also do it on a dedicated machine with linux once you understand how it works.

And via FFmpeg do real-time YouTube video conversions on the fly through Odyssey a bit like "AmiTube" does.

In practice, the server makes me the video conversions and through winuae + odyssey the videos should be fluid because processed through "ffmpeg" with a dedicated server, that's the idea.

here a video on YouTube to make you understand what I mean:
[ Show youtube player ]

In practice I do not need a step by step explanation but only to understand if it is possible to do it and what documentation I should look for because I can not find anything and possibly which programs to use apache php ffmpeg etc.

Thank you. :-)
White is offline  
Old 22 September 2022, 22:07   #9
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,185
https://amigaworld.net/modules/newbb/
https://www.amigans.net/modules/newb...um.php?forum=4

^ you really need OS4 users advice for what you are doing, here is mostly classic amigaos users afaik, so us old timers look at threads like this with blank faces... or at least i do, i got zero clues/idea about anything os4 related im afraid.

us peasants dont have any decent functional modern browser to even guess to help you out
DisasterIncarna is offline  
Old 22 September 2022, 22:26   #10
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@DisasterIncarna

Yes, I have already posted on amigans and other sites. :-)
I always ask questions I hope to receive some useful advice :-)

On the other hand, if I don't ask, I can't learn.
White is offline  
Old 22 September 2022, 22:31   #11
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,185
fair play
DisasterIncarna is offline  
Old 23 September 2022, 00:40   #12
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Ok let's do some satire as long as we can

[ Show youtube player ]
White is offline  
Old 30 October 2022, 20:56   #13
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
I do a little update
I found a way to watch videos in real time
the conversion happens on the fly but currently only with readers (all)
Emotion-- FFplay-- MickJT-Player--

in practice ffmpeg converting them can be seen in real time
immediately without waiting for the complete conversion.

at the moment i'm only using the proxy as soon as i have time i put on apache so there is full support for http *

this is the YT.bat I'm using:

@rem Download a YouTube video and return it as a stream of MTS with MPEG2 data.
@rem Requires youtube-dl.exe and ffmpeg.exe in same folder as the batch and WebOne.
@ youtube-dl "% 1" -o - | ffmpeg -protocol_whitelist file, http, https, tcp, tls -movflags + frag_keyframe + separate_moof + omit_tfhd_offset + empty_moov output.mp4 -y -i pipe: -vcodec libx264 -acodec mp2 -f mpegts pipe:

Later I make a video
Currently only windows edge spoffing in odyssey latest version seems to be supported

For the moment I can't show it inside Odyssey directly but it can open the videos but only using an external video player but I'm working on it but this obviously concerns "winuae"

Maybe the explanation is not very clear but it works.

Of course, there are great scripts like Yt.rexx and Aiostreams that do the same and even better.

But the purpose is to be able to do it directly with the Browser

Any help would be very interesting to me.
Thank you.

Timberwolf is currently excluded from these tests.
White is offline  
Old 30 October 2022, 21:18   #14
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Here is the video
if anyone wants to see it and help me understand how I can work better for me it would be very nice
to get it to work directly in Odyssey :-)

thank you

https://we.tl/t-rHLv1aj7So
White is offline  
Old 31 October 2022, 11:43   #15
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
in summary what i would like to do is use with winuae through ffmpeg with ffplay with acceleration and nvidia GPU support at least in the browser.
Actually the ultimate goal would be this :-)

But I still haven't figured out how to possibly enable ffplay to play eg YouTube videos through Odyssey.

ffmpeg works fine
in reality I can make him talk to Odyssey but I get an error with the internal player of Odyssey

These are my usual crazy ideas for experimenting :-)

A simple quick explanation would be enough for me

But who to ask?
White is offline  
Old 03 November 2022, 20:43   #16
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Ok :-)
I was able to get YouTube-DL with FFPlay to work directly within winuae using Odyssey
Now any video I select with Odyssey through the browser is shown in Windows using FFPlay.
Of course now I have to work on the right codecs etc.

Now what I'd like to do is get exactly the opposite

here a small sample video:

https://we.tl/t-WL5kkmOTo2


any suggestion would be really very nice, to make a script that connects the Odyssey player to windows FFPlay


the YT.bat is this:

@ youtube-dl "% 1" -o - | ffmpeg -protocol_whitelist file, http, https, tcp, tls -movflags + frag_keyframe + separate_moof + omit_tfhd_offset + empty_moov output.mp4 -y -i pipe: -vcodec libx264 -acodec mp2 -f mpegts pipe: | ffplay C: \ WebOne / output.mp4

clearly now it works I have to put everything together and find some ideal solution for winuae.

the important thing is that now ffplay talks with Odyssey

Last edited by White; 03 November 2022 at 20:55.
White is offline  
Old 06 November 2022, 15:33   #17
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Streaming now works perfectly.

Even with multiple streams at the same time.

All in real time

Clearly now what's important would be to somehow make Odyssey understand that he is the one who has to reproduce it.

But at this point the program and the script should be seen by those who can do a script on the amigaOS side.

To this I don't know the solution
even if I have some "artisanal" ideas.

Taking into account that I am only using a proxy

I need to see how it works with http server *


and here the YT.bat script:
@ youtube-dl "% 1" -o - | ffmpeg -protocol_whitelist file, http, https, tcp, tls -movflags + frag_keyframe + separate_moof + omit_tfhd_offset + empty_moov output.mp4 -y -i pipe: -vcodec libx264 -acodec mp2 -f mpegts pipe: | ffplay -i pipe:

here the test, I hope it is interesting for those who understand what I would like to do:

https://we.tl/t-fzzd9pXAgx
Attached Thumbnails
Click image for larger version

Name:	ffplay1.JPG
Views:	37
Size:	220.2 KB
ID:	77009  
White is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browservice (Browse Modern Websites on Old Computers) AmigaOS port possible? amigang Retrogaming General Discussion 1 26 March 2021 15:20
Timberwolf on X5000 Pyromania support.Apps 1 19 October 2019 12:54
New YouTube Channel :) blade002 Amiga scene 6 10 March 2017 01:55
Youtube project supertonic AMR suggestions and feedback 5 20 March 2013 01:08
sun68 on YouTube sun68 Amiga scene 3 05 April 2009 03:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:46.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09416 seconds with 14 queries