Hello !
I'm mega newb to PD. Started to trying to compile and use since 3 days.. :)
I'm searching a way to read mpjpeg stream and use it with PDP staff. is where a way to read a mpjpeg stream/file insted of v4l device ?
Could somebody help pls ?
Thanks!
Polto.
ola,
yep, there is an object pdp_live~ in PiDiP, but you need to compile PiDiP with the option :
--with-ffmpeg=<path>/<to>/<ffmpeg>
where <path>/<to>/<ffmpeg> is the path to the sources of ffmpeg, and it must be the same version as the server you want to connect to.
then, from there, you'll be able to get ffmpeg streams into PDP.
suerte, sevy
polto@alsenet.com wrote:
Hello !
I'm mega newb to PD. Started to trying to compile and use since 3 days.. :)
I'm searching a way to read mpjpeg stream and use it with PDP staff. is where a way to read a mpjpeg stream/file insted of v4l device ?
Could somebody help pls ?
Thanks!
Polto.
This mail sent through IMP: http://horde.org/imp/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
Merci pour ta reponce.
Je crois t'avoir rencontre au WSIS a Geneve. (au paladium)
je vois l'objet, mais quand je consulte son help, je vois juste le help de object. (en plus ca me fait des inlet, outlet que si je le fait avec message, pas objet.)
Je sais que c'est tres newb comme question, mais je ne vois auqune doc....
Merci !!
Polto.
Selon Yves Degoyon ydegoyon@free.fr:
ola,
yep, there is an object pdp_live~ in PiDiP, but you need to compile PiDiP with the option :
--with-ffmpeg=<path>/<to>/<ffmpeg>
where <path>/<to>/<ffmpeg> is the path to the sources of ffmpeg, and it must be the same version as the server you want to connect to.
then, from there, you'll be able to get ffmpeg streams into PDP.
suerte, sevy
polto@alsenet.com wrote:
Hello !
I'm mega newb to PD. Started to trying to compile and use since 3 days.. :)
I'm searching a way to read mpjpeg stream and use it with PDP staff. is
where a
way to read a mpjpeg stream/file insted of v4l device ?
Could somebody help pls ?
Thanks!
Polto.
This mail sent through IMP: http://horde.org/imp/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
polto@alsenet.com wrote:
Merci pour ta reponce.
Je crois t'avoir rencontre au WSIS a Geneve. (au paladium)
yes, but in the COUNTER WSIS, not the WSIS )
je vois l'objet, mais quand je consulte son help, je vois juste le help de object. (en plus ca me fait des inlet, outlet que si je le fait avec message, pas objet.)
no comprendo esto. all the help is in a sub abstraction called rs_pdp_live~, the file rs_pdp_live~.pd should be in the folder where you try to open the help file too ( the simpler is to go to pidip/doc ).
and, of course, pidip needs to be compiled with ffmpeg support ( the one from debian is ).
i attached here the two necessary files for getting the help working.
ciao, sevy
Je sais que c'est tres newb comme question, mais je ne vois auqune doc....
Merci !!
Polto.
#N canvas 259 178 509 391 10; #X obj 128 113 rs_pdp_live~; #X obj 156 158 dac~; #X text 51 321 written by Yves Degoyon (ydegoyon@free.fr); #X text 236 112 <-- everything is in this box; #X text 265 127 where the block size is redefined; #X text 265 142 this is necessary for an; #X text 266 154 ( acceptable? ) audio decoding; #X obj 395 221 loadbang; #X msg 395 251 ; pd dsp 1; #X text 51 308 and the video files supported by your ffmpeg (avi , mpg , ..); #X text 51 295 pdp_live~ : decodes a live video stream from ffmpeg ; #X connect 0 0 1 0; #X connect 0 1 1 1; #X connect 7 0 8 0;
#N canvas 393 46 872 636 10; #X text 455 594 written by Yves Degoyon (ydegoyon@free.fr); #X floatatom 223 540 5 0 0 0 - - -; #X text 268 540 Streaming status; #X floatatom 243 519 5 0 0 0 - - -; #X text 611 77 Connect to a live stream; #X text 325 111 Disconnect from the current stream; #X msg 247 109 disconnect; #X text 292 520 Number of video frames decoded; #X text 452 570 ( at least from ffserver ); #X text 21 570 NOTE : as for pdp_ffmpeg~ , transmitting audio; #X text 20 588 with the video stream produces some unsteady sound; #X text 21 603 a prefered solution would be to use mp3cast~/mp3amp~ ; #X msg 253 415 priority $1; #X floatatom 342 416 5 0 0 0 - - -; #X text 388 439 ( optional , if you know what you're doing ); #X obj 72 543 outlet~; #X text 393 411 Set the priority of decoding thread; #X msg 247 214 connect $1; #X text 455 556 pdp_live~ : decodes a live video stream; #X text 453 582 and reads most common files ( avi , mpg , .... ) ; #X text 325 164 Read video file; #X obj 247 143 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 247 165 openpanel; #X msg 253 384 audio $1; #X obj 322 386 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 353 386 Activate decoding of audio ( default : off ); #X obj 247 189 makefilename file://%s; #X msg 244 52 connect http://localhost:8090/test1.mpg; #X obj 327 355 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 253 355 thread $1; #X obj 383 355 loadbang; #X msg 348 355 1; #X text 451 355 Activate threading ( default : on ); #X floatatom 259 496 5 0 0 0 - - -; #X text 305 496 Reception framerate; #X text 333 476 End of stream reached; #X floatatom 286 475 5 0 0 0 - - -; #X obj 115 424 pdp_live~; #X obj 341 257 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 397 255 loadbang; #X msg 362 255 1; #X msg 250 256 autoplay $1; #X text 465 255 Activate auto play mode ( default : on ); #X msg 252 291 bang; #X msg 392 293 bang; #X floatatom 433 294 5 0 0 0 - - -; #X text 485 292 In manual mode , read next frame ( autoplay = off ); #X obj 328 293 metro 70; #X msg 254 319 loop $1; #X obj 316 320 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 372 318 loadbang; #X msg 337 318 1; #X text 440 318 Activate loop mode for files ( default : on ); #X floatatom 75 252 5 0 0 0 - - -; #X text 6 194 Frame seek; #X msg 289 292 stop; #X obj 134 543 outlet~; #X text 390 424 ([0 , 20 ] default : 1 ); #X text 6 222 ffmpeg >= 0.4.9; #X text 6 207 warning : works only with; #X obj 35 501 pdp_xv; #X obj 66 61 block~ 1024; #X msg 246 78 connect http://gollum.artefacte.org:8090/osas.mpg; #X connect 6 0 37 0; #X connect 12 0 37 0; #X connect 13 0 12 0; #X connect 17 0 37 0; #X connect 21 0 22 0; #X connect 22 0 26 0; #X connect 23 0 37 0; #X connect 24 0 23 0; #X connect 26 0 17 0; #X connect 27 0 37 0; #X connect 28 0 29 0; #X connect 29 0 37 0; #X connect 30 0 31 0; #X connect 31 0 28 0; #X connect 37 0 60 0; #X connect 37 1 15 0; #X connect 37 2 56 0; #X connect 37 3 1 0; #X connect 37 4 3 0; #X connect 37 5 33 0; #X connect 37 6 36 0; #X connect 38 0 41 0; #X connect 39 0 40 0; #X connect 40 0 38 0; #X connect 41 0 37 0; #X connect 43 0 37 0; #X connect 44 0 47 0; #X connect 45 0 47 1; #X connect 47 0 37 0; #X connect 48 0 37 0; #X connect 49 0 48 0; #X connect 50 0 51 0; #X connect 51 0 49 0; #X connect 53 0 37 1; #X connect 55 0 47 0; #X connect 62 0 37 0;
Hi!
yes, but in the COUNTER WSIS, not the WSIS )
for me it's most the same depending on what you do where... :) I did GNU/Linux promotion at WSIS and COUNTER WSIS.
Ok, about PDP:
ok, i have look to rs_pdp_live~ and pdp_live~. steel not understand what to do with my connect 192.168.1.10/live.mpjpg
i woold like to restream it in another format and write to disk in avi.
sorry, realy difficult to understand this .. :(
Thanks for help to the PD newb. :)
Polto.
i don't have enough information to answer :
where is the mpjpg stream coming from? who's emitting it? what version of ffserver are you connecting to ? ( it only works with ffserver ) do you see something? what is the console output?
where are you stucked?
really not clear... sevy
polto@alsenet.com wrote:
Hi!
yes, but in the COUNTER WSIS, not the WSIS )
for me it's most the same depending on what you do where... :) I did GNU/Linux promotion at WSIS and COUNTER WSIS.
Ok, about PDP:
ok, i have look to rs_pdp_live~ and pdp_live~. steel not understand what to do with my connect 192.168.1.10/live.mpjpg
i woold like to restream it in another format and write to disk in avi.
sorry, realy difficult to understand this .. :(
Thanks for help to the PD newb. :)
Polto.
This mail sent through IMP: http://horde.org/imp/
Hi !
where is the mpjpg stream coming from?
from a webcam witch is streamed in mpjpeg by a little server what i can't touch or modify. (can't choose another video codec that MPJPEG)
what version of ffserver are you connecting to ?
0.4.9 i work on Gentoo GNU/Linux all everything is last version. actualy i don't try to connect to my ffserver.
I only try to display and write the mpjpeg stream.
what is the console output? where are you stucked?
Sorry, i'm trying to say what i readed everything in the help about pdp_live~ and rs_pdp_live~, but i realy not understand how to display this stream or write it to the disk ...
Thanks !
Polto.
polto@alsenet.com wrote:
Hi !
where is the mpjpg stream coming from?
from a webcam witch is streamed in mpjpeg by a little server what i can't touch or modify. (can't choose another video codec that MPJPEG)
what version of ffserver are you connecting to ?
0.4.9 i work on Gentoo GNU/Linux all everything is last version. actualy i don't try to connect to my ffserver.
?? actually, when you send a message like 'connect http://192.168.0.1:8090/test.mpjpg' to pdp_live~, it tries to connect to your ffmpeg server.
BUT, the ffserver is broken now in current ffmpeg versions (0.4.9 is not ok neither), so you have to use something like this one : http://tdegoyon.free.fr/ffmpeg-cvs-2003-03-04.tar.gz
which is old but stable.
sevy
I only try to display and write the mpjpeg stream.
what is the console output? where are you stucked?
Sorry, i'm trying to say what i readed everything in the help about pdp_live~ and rs_pdp_live~, but i realy not understand how to display this stream or write it to the disk ...
Thanks !
Polto.
This mail sent through IMP: http://horde.org/imp/