Webm newbie

Vasileios Anagnostopoulos fithis2001 at gmail.com
Fri Jan 3 02:42:51 PST 2014


No, it does not work with the playbin. On the other hand the fakesink seems
to run forever

the first 50 lines of the dump are

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
00000000 (0143D368): 18 53 80 67 01 ff ff ff ff ff ff ff 15 49 a9 66
.S.g.........I.f
New clock: GstSystemClock
00000010 (0143D378): 01 00 00 00 00 00 00 50 2a d7 b1 83
.......P*...
00000000 (05A890C0): 18 53 80 67 01 ff ff ff ff ff ff ff 15 49 a9 66
.S.g.........I.f
00000010 (05A890D0): 01 00 00 00 00 00 00 50 2a d7 b1 83 0f 42 40 4d
.......P*....B at M
00000020 (05A890E0): 80 9f 47 53 74 72 65 61 6d 65 72 20 70 6c 75 67
..GStreamer plug
00000030 (05A890F0): 69 6e 20 76 65 72 73 69 6f 6e 20 31 2e 32 2e 32  in
version 1.2.2
00000040 (05A89100): 00 57 41 99 47 53 74 72 65 61 6d 65 72 20 4d 61
.WA.GStreamer Ma
00000050 (05A89110): 74 72 6f 73 6b 61 20 6d 75 78 65 72 00 44 61 88
troska muxer.Da.
00000060 (05A89120): 05 b2 2b 9b 49 aa ec 00 16 54 ae 6b 01 00 00 00
..+.I....T.k....
00000070 (05A89130): 00 00 00 3b ae 01 00 00 00 00 00 00 32 d7 81 01
...;........2...
00000080 (05A89140): 83 81 01 73 c5 88 52 af d4 52 a2 45 38 e4 53 6e
...s..R..R.E8.Sn
00000090 (05A89150): 86 56 69 64 65 6f 00 e0 01 00 00 00 00 00 00 07
.Video..........
000000a0 (05A89160): b0 82 01 40 ba 81 f0 86 86 56 5f 56 50 38 00 1f
... at .....V_VP8..
000000b0 (05A89170): 43 b6 75 01 ff ff ff ff ff ff ff e7 81 00 a3 20
C.u............
000000c0 (05A89180): d0 7b 81 00 00 80 90 59 01 9d 01 2a 40 01 f0 00
.{.....Y...*@...
000000d0 (05A89190): 00 c7 08 85 85 88 85 84 88 05 02 03 63 2e a1 7b
............c..{
000000e0 (05A891A0): 3b fa 87 f3 6f d8 0f 30 ff 0b f8 67 e7 9f d7 ff
;...o..0...g....
000000f0 (05A891B0): c3 7f 64 fe c7 ff a3 fc 37 ff 1f b3 8f 54 3f 5e
..d.....7....T?^
00000100 (05A891C0): fe db fb 39 fd 23 f6 ef d0 4f 8a fe 43 fd 9f fa
...9.#...O..C...
00000110 (05A891D0): 8f f7 bf f3 bf d4 3f ff fc 83 fc 3b ea 87 d5 ff
......?....;....
00000120 (05A891E0): b3 ff 8c ff 31 fd a7 f7 5f ec 5f e4 1f d7 ff a5
....1..._._.....
00000130 (05A891F0): fe ca ff 68 fd d5 f6 0f f0 ef c4 bf ad ff 76 fd
...h..........v.
00000140 (05A89200): a3 fe fd fb b9 f6 0b f8 77 f1 7f ea 3f d6 7f c3
........w...?...
00000150 (05A89210): ff 92 fe d3 ff ef fe 9f ff ff 94 ff 1d fe 9d fd
................
00000160 (05A89220): 7f fd af fa 2f ee 1f ff fc 85 70 df e3 7f d5 3f
..../.....p....?
00000170 (05A89230): a8 7f 8b ff 45 fd 47 ff ff d0 2f a5 3f 1a fe af
....E.G.../.?...
00000180 (05A89240): fd 97 fc 37 fa 6f ee 9f ba bf 0d be 39 fd 8b fa
...7.o......9...
00000190 (05A89250): c7 ed a7 f6 bf ff 5f 20 fe 29 fc 7f fa c7 f5 ef
......_ .)......
000001a0 (05A89260): ed df e8 3f b7 7f ff fc 01 fe 27 fc 6b fa e7 f6
...?......'.k...
000001b0 (05A89270): 4f f0 9f ea 3f b2 7f fe ff 77 f2 97 f1 5f e8 3f
O...?....w..._.?
000001c0 (05A89280): d9 3e ff ff e3 fb 86 fc 37 f8 cf f4 1f eb 1f b3
.>......7.......
000001d0 (05A89290): ff dd 7f ff ff cb fd 01 fe 1d fc 73 fa d7 f5 ef
...........s....
000001e0 (05A892A0): f0 3f e5 bf b8 ff ff ff a7 f8 27 f9 0f f6 cf ea
.?........'.....
000001f0 (05A892B0): 3f e2 ff bf 7f 82 ff ff ff 07 e0 2f e1 ff c6 ff
?........../....
00000200 (05A892C0): b0 ff 56 ff 0f fe 6b fa df ff ff f9 5f a0 3f c3
..V...k....._.?.
00000210 (05A892D0): bf 8b ff 57 fe 97 fe 23 fc f7 f6 2f ff ff f1 fe
...W...#.../....
00000220 (05A892E0): c5 ff a1 7f 37 fb ff ff a9 f8 7b f4 5f f9 ef d7
....7.....{._...
00000230 (05A892F0): ef fd cf d1 5f d1 df e8 5f d4 bf 66 3f b1 7f ff
...._..._..f?...
00000240 (05A89300): ff b7 fb 7e a7 3c 07 17 bc f6 be c4 4a ce c3 a6
...~.<......J...
00000250 (05A89310): 73 22 d2 fb db 4f 41 dd d8 78 2f 1c e2 08 26 6b
s"...OA..x/...&k
00000260 (05A89320): 7c d2 c7 88 73 bf 34 28 d6 8c 8d 07 6d ea 06 e2
|...s.4(....m...
00000270 (05A89330): cc a2 e7 fb c7 d7 36 56 1f 42 d1 cd dd e0 9e b2
......6V.B......
00000280 (05A89340): 99 3a ff dc 32 74 a6 00 a2 03 5d 28 3d a0 71 08
.:..2t....](=.q.
00000290 (05A89350): 3c 06 48 e4 2c 1d 1f 0f d4 e8 91 18 c9 60 1c e1
<.H.,........`..
000002a0 (05A89360): af cb 49 6a 56 b3 04 02 d3 47 ce 95 c0 dd b5 ed
..IjV....G......


On Fri, Jan 3, 2014 at 1:19 AM, Tim Müller <tim at centricular.com> wrote:

> On Thu, 2014-01-02 at 19:40 +0200, Vasileios Anagnostopoulos wrote:
>
> Hi,
>
> > the idea behind the golang application is that it listens on http port
> > 9001 for path
> >
> >
> > http://localhost:9001/stream.webm
> >
> >
> > As soon s the browser connects, it sends the headers
> >
> >
> > t := time.Now().UTC()
> > w.Header().Set("Date", t.Format(layoutee))
> > w.Header().Set("Connection", "Close")
> > w.Header().Set("Cache-Control", "private")
> > w.Header().Set("Content-Type", "video/webm")
> >
> > and begins to listen on port 3005
> >
> >
> > Then I start the pipeline and the server copies what it receives
> > through port 3005 to the response body
> >
> >
> > But after some bytes and without showing anything, either chromium or
> > firefox closes the connection.
> >
> >
> > I am on Windows 7 x86, gstreamer-1.0-x86-1.2.2, golang 1.2
> >
> >
> > Is the rationale sane?
>
> Yes something like that should work in principle.
>
> Does it work with
>
>   gst-launch-1.0 playbin uri=http://localhost:9001/stream.webm
>
> ?
>
> If not, what is the output of:
>
>   gst-launch-1.0 http://localhost:9001/stream.webm ! fakesink dump=true
>
> ? (First few lines of the hexdump should be enough.
>
> Note that you can also use multifdsink or multisocketsink, and simply
> add to it the socket of the client (and any other clients if it's a
> shared stream), then it will output the data including headers directly
> to that.
>
> Cheers
>  -Tim
>
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Dr. Vasileios Anagnostopoulos (MSc,PhD)
Researcher/Developer
ICCS/NTUA 9 Heroon Polytechneiou Str., Zografou 15773 Athens,Greece
T (+30) 2107723404 M (+30) 6936935388
E vanag at mail.ntua.gr<mailto:vanag at mail.ntua.gr> www.ntua.gr<
http://www.ntua.gr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140103/bd9998fb/attachment-0001.html>


More information about the gstreamer-devel mailing list