| View previous topic :: View next topic |
| Author |
Message |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 4:37 am Post subject: |
|
|
| Raphael wrote: | But maybe you can clean up the code more like jonny did. There are thousands of files, which aren't even compiled afaik. I once tried to find the part in JiniCho's code that does the same as pmp_play_open/pmp_decode_get on jonnys version, but got lost in the jungle and gave up :)
If you manage to do so, probably its possible to integrate my upcoming GUI there too, since I'm aiming at having it run more like a layer above jonnys code, so it will be theoretically possible to completely change the playback code (like exchanging for PMP Mod AVC without much changes).
|
I'm looking forward to your GUI and will most definitely try to incorporate it in PMP VLC |
|
| Back to top |
|
 |
jonny
Joined: 22 Sep 2005 Posts: 351
|
Posted: Sat Jun 24, 2006 6:14 am Post subject: |
|
|
JockyW, i really like your app :)
it's the first time i try vlc as server, there is indeed a lot of potential on this |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 6:30 am Post subject: |
|
|
Thx jonny, your feedback is very much appreciated :)
ciao, JockyW |
|
| Back to top |
|
 |
azriek
Joined: 24 Jun 2006 Posts: 2
|
Posted: Sat Jun 24, 2006 6:51 am Post subject: |
|
|
Hi, this is really the so awaiting for homebrew for me, thanks a lot :)
i couldn't open a .m3u playlist in the integrated browser, i suppose it is not supported yet.
with the following .m3u, vlc (on linux) can tune my pci dvb-t card on a channel and stream it when the psp connects.
| Code: | #EXTINF:0,M6
#EXTVLCOPT:http-caching=6000
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=700,width=360,height=272,fps=20,acodec
=vorb,ab=48,channels=2}:duplicate{dst=std{access=http,mux=ogg,url=0.0.0.0:1234}}
#EXTVLCOPT:sout-keep
#EXTVLCOPT:dvb-frequency=658000000
#EXTVLCOPT:dvb-adapter=0
#EXTVLCOPT:dvb-bandwidth=8
#EXTVLCOPT:program=1025
dvb://
|
so i can make the same for each channel i want to stream and launch vlc with the --open option, passing the .m3u file . |
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Sat Jun 24, 2006 7:14 am Post subject: |
|
|
listen people
The con line in pmp.ini should point to the NAME of the wifi profile, not number what it is
My profile is called Heima
so the line in pmp.ini looks like this for me
con = Heima;
Still, I'm having problems, I get the list of network files, but when I Play them the loading screen just stays on forever, and the wifi light on the psp blinks forever |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 7:23 am Post subject: |
|
|
@jockyw2001
thanks for your dreambox/dbox guide, anyways I found out that in my case con should =1 , however when i click live stream it says loading and then a few secs later it says http://192.168.1.2:1234/: Unknown format
(my laptop ip is 192.168.1.2 )
Do you know what might be wrong?
Last edited by moontan77 on Sat Jun 24, 2006 7:46 am; edited 2 times in total |
|
| Back to top |
|
 |
Bob535
Joined: 04 Nov 2005 Posts: 56
|
Posted: Sat Jun 24, 2006 7:34 am Post subject: |
|
|
Must be something I am missing:
PSP 1.5FW, Copied two directories to PSP>Game>
Run VLC
Start Program > Attempt to List > Only dummy files show.
1) The VLC links work in a computer browser from two different computers
2) If I try it, I can see the dummy files in the Video and Music folders after the psp spends some time blinking(or staying on) the Wifi light.
3) I have tried con as "0", "1" and "home" to no effect.
When trying to run a stream I get an error:
http://24.68.133.**:1234/: Error while opening file
I made sure the video is streaming on 1234
Any more ideas as to what I could have done wrong?
Last edited by Bob535 on Sat Jun 24, 2006 7:44 am; edited 1 time in total |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 7:43 am Post subject: |
|
|
| someone wrote: | The con line in pmp.ini should point to the NAME of the wifi profile, not number what it is
|
That's new for me, how did you find that out?
To your problem, what type of files are you trying to play?
Probably VLC has difficulties opening the file. You can check that by opening the Messages window from the View menu. And does VLC start playback at all when you select a file in your PSP?
@moontan77:
have you tried to disable the firewall on your laptop?
have you already tried to play a file via VLC? If that doesn't work then playing a live stream from your dbox will also fail. Try that first and same as goes for user someone, check the messages window in VLC in that case too. Your settings look good to me. The only settings which are used when you select live stream are:
[net]
con = 2;
debug = 0;
vlc = 1;
and:
[live]
liveserver = 192.168.1.2;
liveport = 1234;
No other transcode settings are used in that case!
@Bob535:
It's very hard to diagnose your connectivity problem. Did you update the path names in your pmp.ini ? Have you tried disabling your firewall? |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 7:48 am Post subject: |
|
|
| turned off firewall but no change, should you be able to see the stream on vlc on your pc/laptop while its being transcoded ( i dont see it , just in case your meant to see it ;) ) |
|
| Back to top |
|
 |
Bob535
Joined: 04 Nov 2005 Posts: 56
|
Posted: Sat Jun 24, 2006 7:51 am Post subject: |
|
|
There is no firewall on my Vlc server pc, the psp is connecting from a wireless router.
Path names follow the pattern f:/Music/
tried placing an mp3 on the psp, plays fine.
Do those EnablePSPStreamingServer files in the VLC directory have to be placed anywhere?
Last edited by Bob535 on Sat Jun 24, 2006 7:56 am; edited 2 times in total |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 7:53 am Post subject: |
|
|
| moontan77 wrote: | | turned off firewall but no change, should you be able to see the stream on vlc on your pc/laptop while its being transcoded ( i dont see it , just in case your meant to see it ;) ) |
No, you won't see playback on your laptop with just the line:
| Code: | | :sout=#transcode{vcodec=DIV3,vb=700,width=360,height=272,fps=20,acodec=vorb,ab=48,channels=2}:duplicate{dst=std{access=http,mux=ogg,url=0.0.0.0:1234}} |
If you want to monitor whether you receive a stream at all, you can go in the stream settings and check "Play locally". In addition you can open the Messages window and you should see a lot of activity there during transcoding. |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 7:58 am Post subject: |
|
|
Messages window:
ffmpeg debug: found encoder MS MPEG-4 Video v3
main debug: using encoder module "ffmpeg"
main debug: unlocking module "ffmpeg"
libmpeg2 debug: 720x576 (display 720,576), aspect 576000, sar 16:15, 25.000 fps
main warning: dts != current_pts (-422116)
main warning: vout synchro warning: pts != current_date (-40000)
stream_out_transcode debug: drift is too high, resetting master sync
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: removing common factors from framerate
(msmpeg4@01304010)
ffmpeg debug: found encoder MS MPEG-4 Video v3
main debug: using encoder module "ffmpeg"
stream_out_duplicate debug: duplicated a new stream codec=DIV3 (es=0 group=12003)
main debug: adding a new input
mux_ogg debug: adding input
mux_ogg debug: DIV3 stream
stream_out_duplicate debug: - added for output 0
main debug: looking for video filter2 module: 3 candidates
ffmpeg debug: input: 720x576 I420 -> 360x272 I420
ffmpeg debug: libavcodec already initialized
main debug: using video filter2 module "ffmpeg"
stream_out_transcode debug: drift is too high, resetting master sync
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ffmpeg debug: warning, clipping 1 dct coefficients to -127..127
(msmpeg4@01304010)
ts warning: discontinuity received 0x1 instead of 0x0 (pid=163)
ts warning: discontinuity received 0x7 instead of 0xa (pid=105)
ts warning: discontinuity received 0x7 instead of 0x5 (pid=106)
ts warning: discontinuity received 0x3 instead of 0x9 (pid=104)
mpeg_audio debug: emulated startcode (no startcode on following frame)
stream_out_transcode debug: drift is too high, resetting master sync
main warning: backward_pts != dts (720000)
main warning: backward_pts != current_pts (-80000)
main warning: vout synchro warning: pts != current_date (-720000)
stream_out_transcode debug: drift is too high, resetting master sync
ts debug: PMTCallBack called
ts debug: PATCallBack called
doesnt go any further than that |
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Sat Jun 24, 2006 8:00 am Post subject: |
|
|
| jockyw2001 wrote: |
That's new for me, how did you find that out?
To your problem, what type of files are you trying to play?
Probably VLC has difficulties opening the file. You can check that by opening the Messages window from the View menu. And does VLC start playback at all when you select a file in your PSP?
|
The numbers just didn't work for me so I tried typing in the name of the wifi profile I had, and it worked. Thats why I thought people were having problems with "0" and "1" and stuff.
I can now see that VLC puts this in the messages section when I try to play from the PSP
main error: no suitable access module for `X:\episodes\video.avi |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 8:06 am Post subject: |
|
|
To all who have trouble to connect PSP to PC do following test:
1. On PSP go into Network Settings
2. Go into "Infrastructure Mode"
3. Select the WiFi profile you intend to use with PMP VLC
4. Click the triangle button and select "Test Connection" from the menu
5. If the test succeeds the IP Address is shown right under the "Encryption" item. Note down that address.
6. Start PMP VLC and click right trigger to start Wifi and network
7. Press Select and then Music from the Media menu
8. If the PSP connects to your WLAN access point or router you should exactly this:
Connecting to Access Point...
connection state 0 of 4
connection state 2 of 4
connection state 4 of 4
=> If not, your WiFi profile number is wrong in pmp.ini <=
9. Press the triangle key to get back in the main screen
10. Open a command window on your PC
11. enter the command: ping 192.168.1.39 (replace with the IP written down in step 5) You should see something like this:
| Code: |
Pinging 192.168.1.39 with 32 bytes of data:
Reply from 192.168.1.39: bytes=32 time=145ms TTL=255
Reply from 192.168.1.39: bytes=32 time=7ms TTL=255
Reply from 192.168.1.39: bytes=32 time=825ms TTL=255
Reply from 192.168.1.39: bytes=32 time=7ms TTL=255
Ping statistics for 192.168.1.39:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 825ms, Average = 246ms |
=> If you don't see this your IP netwerk settings are wrong
@Bob535: are you sure you start WiFi with the right trigger when you are in the main screen of PMP VLC?
Last edited by jockyw2001 on Sat Jun 24, 2006 5:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 8:08 am Post subject: |
|
|
| Got it to work with dreambox, opened vlc on psp and went to the file selector screen and highlighted live stream without selecting it, then put the the settings in vlc on pc and double clicked ok as described. Than clicked live stream on psp asap and then picture came on psp a few seconds after loading. Picture quality is very good but low frame rate and skipping etc |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 8:15 am Post subject: |
|
|
tried it again like before and frame rate etc is very good !
edit: maybe because i plugged my laptop in! ;) |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 8:16 am Post subject: |
|
|
| someone wrote: | I can now see that VLC puts this in the messages section when I try to play from the PSP
main error: no suitable access module for `X:\episodes\video.avi |
Bad luck, VLC can't play that file.
I will upload a test file to Rapidshare in the next minutes. Everyone with probs should try this file first. Here's the link:
http://rapidshare.de/files/23931626/sp02.avi.html
(~12 Mb)
@moontan77: the output looks okay, but when it stops at some point it's not okay. Could mean your laptop is too lame for transcoding. What cpu is in it and how much memory do you have? EDIT: I see you got it too work now. Well that's fine, but I don't understand what went wrong
Last edited by jockyw2001 on Sat Jun 24, 2006 8:37 am; edited 1 time in total |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 8:23 am Post subject: |
|
|
| ah its probably just because my laptop was plugged out and had no network cable connected, so wifi card probably lowers power of its signal when being powered by battery. |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 8:28 am Post subject: |
|
|
| moontan77 wrote: | | ah its probably just because my laptop was plugged out and had no network cable connected, so wifi card probably lowers power of its signal when being powered by battery. |
Well that reminds me. There is one setting everone should make:
In the "Power Save Settings" make sure you set "WLAN Power Save" to OFF !! |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 8:33 am Post subject: |
|
|
| would be cool if it was possible to be send commands from psp to dreambox/dbox to open a certain channel and then a command to vlc on your pc to get it to start transcoding it |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 8:35 am Post subject: |
|
|
| Bob535 wrote: | tried placing an mp3 on the psp, plays fine.
|
Is that an mp3 you have in your f:/music directory?
| Quote: |
Do those EnablePSPStreamingServer files in the VLC directory have to be placed anywhere? |
Not quite clear what you mean, but you have to make sure that there is at least 1 file on the memory stick in directory /PSP/VIDEO and at least 1 file in /PSP/MUSIC. The video files you want to stream should be in the videopath you have entered in pmp.ini (e.g. f:/movies, that path must exist on your pc) and music files should be in musicpath (e.g. f:/music) |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 8:36 am Post subject: |
|
|
| moontan77 wrote: | | would be cool if it was possible to be send commands from psp to dreambox/dbox to open a certain channel and then a command to vlc on your pc to get it to start transcoding it |
Yeah that will be added in a next version (shoulder buttons for channel up and down). But ... it is planned to work with neutrinoTV. See:
http://forum.tuxbox.org/forum/viewtopic.php?t=41590&start=80 |
|
| Back to top |
|
 |
moontan77
Joined: 20 Jun 2006 Posts: 13
|
Posted: Sat Jun 24, 2006 8:53 am Post subject: |
|
|
If I have a url for a certain channel like rtl and i paste it in my web browser, and the dreambox/dbox opens this channel, it is possible to to get vlc to start to transcode this stream with the settings you use (div3 etc) when the channel is opened ?
In the slim chance that was possible, would it be possible to send this command through http from your psp to dbox/dreambox to open this channel. |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 9:03 am Post subject: |
|
|
| It can work slightly different. VLC PMP should first send a stop command to VLC, then send a zap channel url to the dreambox and after the channel has changed it should send a new playlist url to VLC followed by a start plaback command. Yes it can all be done, but the priority list looks slightly different atm ... |
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Sat Jun 24, 2006 9:24 am Post subject: |
|
|
I just tried that file, same message in VLC
main error: no suitable access module for `X:\episodes\sp02.avi
edit: I get the same error for mp3 files
Last edited by someone on Sat Jun 24, 2006 9:28 am; edited 1 time in total |
|
| Back to top |
|
 |
Bob535
Joined: 04 Nov 2005 Posts: 56
|
Posted: Sat Jun 24, 2006 9:27 am Post subject: |
|
|
| Right trigger does not do anything as far as I can tell, the network light does not come on until I try to go into a directory. Is the network light supposed to occur when I press right trigger? |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 9:35 am Post subject: |
|
|
@someone: hmm, can VLC actually find drive X: and subdir episodes?
What pathes do you have in pmp.ini?
@Bob535: no the light will not come up until you enter the directory. Have you done the ping test described above? |
|
| Back to top |
|
 |
karl
Joined: 24 Jun 2006 Posts: 2
|
Posted: Sat Jun 24, 2006 9:59 am Post subject: |
|
|
Nice app.
Much better using VLC rather than the pimp streamer. Means i can play videos with ac3 sound!!! :)
My laptop doesn't seem to like how resource intensive it is however. Need to try it on a better machine.
Streaming world cup sounds good! |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Sat Jun 24, 2006 9:37 pm Post subject: |
|
|
| someone wrote: |
main error: no suitable access module for `X:\episodes\sp02.avi
edit: I get the same error for mp3 files |
Looks like your VLC is f*ked.
Uninstall it and check the option to delete preferences and cache. Also delete the VideLAN program directory. Then reinstall VLC 0.8.4a and don't forget to create a shortcut that starts VLC with extra params, copy pspfiles to the http/admin dir and delete .access in that dir too.
If that doesn't help it could be an error in your pmp.ini |
|
| Back to top |
|
 |
reifri
Joined: 24 Jun 2006 Posts: 2 Location: Germany
|
Posted: Sat Jun 24, 2006 10:08 pm Post subject: |
|
|
| That was close. I followed the guide to stream from a dbox. VLC got the stream (Network input ca 10Mbit), then I started PMP VLC on PSP and selected Live stream. It said "loading" and the wifi led started flashing. VLC on the PC now had high network ouput. But then after a half minute, the network output decreased to zero and the PSP wifi led stoped flashing. PSP showed blue screen. Next try same error. What could be wrong? |
|
| Back to top |
|
 |
|