After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748410 - Streaming video dont work
Streaming video dont work
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: general
0.26.x
Other Linux
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2015-04-24 11:33 UTC by Dušan
Modified: 2015-05-12 07:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
engine-gst: Fix typo (1.73 KB, patch)
2015-04-24 17:44 UTC, Jens Georg
committed Details | Review
server: Fix npt=start- seeking (1.20 KB, patch)
2015-04-25 06:36 UTC, Jens Georg
committed Details | Review
engine-gst: Fix resource duration handling (2.40 KB, patch)
2015-04-25 06:36 UTC, Jens Georg
committed Details | Review

Description Dušan 2015-04-24 11:33:18 UTC
While trying to paly video on tv or PS3 i get file list of my movies, bud after trying to play some i get message "file not found" on tv/ps3.

rygel shows this log:

[dusan@dusan ~]$ rygel
Rygel-Message: Spúšťa sa Rygel v0.26.0…
RygelCore-Message: Dostupný nový zásuvný modul „Playbin“
RygelCore-Message: Dostupný nový zásuvný modul „MediaExport“
Rygel-Tracker-Message: rygel-tracker-item-factory.vala:68: Using /home/dusan/Hudba as upload directory for object.item.audioItem.musicTrack
Rygel-Tracker-Message: rygel-tracker-item-factory.vala:68: Using /home/dusan/Video as upload directory for object.item.videoItem
Rygel-Tracker-Message: rygel-tracker-item-factory.vala:68: Using /home/dusan/Obrázky as upload directory for object.item.imageItem.photo
RygelCore-Message: Dostupný nový zásuvný modul „Tracker“
MediaExport-Message: rygel-media-export-plugin.vala:90: Deactivating plugin 'MediaExport' in favor of plugin 'Tracker'
MediaExport-Message: umiestnenie „file:///home/dusan/Video“ vyťažené
RygelServer-Message: rygel-thumbnailer.vala:132: Na zbernici D-Bus nie je dostupný žiadny nástroj na tvorbu miniatúr

(rygel:2421): RygelServer-WARNING **: rygel-http-request.vala:103: Typ požiadavky HTTPSeekRequest nie je podporovaný
Comment 1 Jens Georg 2015-04-24 12:16:26 UTC
Could you please run with

export G_MESSAGES_DEBUG=all
export LANG=C

and -g 5 ?

Thanks.
Comment 3 Jens Georg 2015-04-24 13:19:25 UTC
Uh, wow. There's more than just this broken :-/

Relevant information:

(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource primary_http
(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource WMVHIGH_FULL
(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource AVC_MP4_BL_CIF15_AAC_520
(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource MPEG_TS_SD_NA_ISO
(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource MPEG_TS_SD_EU_ISO
(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource MPEG_TS_HD_NA_ISO
(rygel:3281): Rygel-Tracker-DEBUG: rygel-tracker-item-factory.vala:150: Tracker item media resource primary
(rygel:3281): RygelServer-DEBUG: rygel-http-get.vala:208: Processing time seek HTTPTimeSeekRequest (npt=0-*)
(rygel:3281): MediaEngine-GStreamer-DEBUG: rygel-gst-media-engine.vala:188: creating data source for file:///home/dusan/Video/a.avi
(rygel:3281): MediaEngine-GStreamer-DEBUG: rygel-gst-media-engine.vala:191: MediaResource MPEG_TS_HD_NA_ISO, profile MPEG_TS_HD_NA_ISO, mime_type video/mpeg
(rygel:3281): MediaEngine-GStreamer-DEBUG: rygel-gst-media-engine.vala:196: creating data source from transcoder MPEG_TS_HD_NA_ISO (profile MPEG_TS_HD_NA_ISO)
(rygel:3281): MediaEngine-GStreamer-DEBUG: rygel-gst-transcoder.vala:143: RygelMP2TSTranscoder using the following encoding profile:
(rygel:3281): MediaEngine-GStreamer-DEBUG:   container:
(rygel:3281): MediaEngine-GStreamer-DEBUG:     Format: video/mpegts, systemstream=(boolean)true, packetsize=(int)188
(rygel:3281): MediaEngine-GStreamer-DEBUG:       audio:
(rygel:3281): MediaEngine-GStreamer-DEBUG:         Format: audio/mpeg, mpegversion=(int)1, layer=(int)2
(rygel:3281): MediaEngine-GStreamer-DEBUG:       video:
(rygel:3281): MediaEngine-GStreamer-DEBUG:         Format: video/mpeg, mpegversion=(int)2, systemstream=(boolean)false
(rygel:3281): MediaEngine-GStreamer-DEBUG:         Restriction: video/x-raw, framerate=(fraction)30/1, width=(int)1280, height=(int)720
(rygel:3281): RygelServer-DEBUG: rygel-data-sink.vala:89: Setting max_bytes to MAX
(rygel:3281): RygelServer-DEBUG: rygel-data-sink.vala:53: Setting max_bytes to MAX

(rygel:3281): RygelServer-WARNING **: rygel-http-request.vala:103: HTTPSeekRequest type unsupported
Comment 4 Jens Georg 2015-04-24 13:30:21 UTC
Request headers missing:

(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:154: HTTP GET request for URI 'http://192.168.1.100:53418/Tracker/i/QWxsVmlkZW9zLHVybjp1dWlkOjQxNmJiYzY0LTBkMjItMmRjZi0xNzIwLTg4YTVkZTg2NTliYg==/res/MPEG_TS_HD_NA_ISO.mpg'. Headers:
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: TimeSeekRange.dlna.org : npt=0.000-
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: getcontentFeatures.dlna.org : 1
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: Pragma : getIfoFileURI.dlna.org
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: transferMode.dlna.org : Streaming
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: X-AV-Physical-Unit-Info : pa="BRAVIA KDL-40NX800";
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: X-AV-Client-Info : av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40NX800"; mv="1.7";
(rygel:3281): RygelServer-DEBUG: rygel-http-server.vala:158: Host : 192.168.1.100:53418
Comment 5 Jens Georg 2015-04-24 17:32:07 UTC
Reprocudible with 

curl -H "TimeSeekRange.dlna.org:npt=0.000-" <uri>
Comment 6 Jens Georg 2015-04-24 17:44:19 UTC
Created attachment 302311 [details] [review]
engine-gst: Fix typo

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 7 Jens Georg 2015-04-24 17:46:35 UTC
Attachment 302311 [details] pushed as 8cbb074 - engine-gst: Fix typo
Comment 8 Dušan 2015-04-24 18:28:01 UTC
really quick fixing :-)
I hope releasing bugfix release will be quick too ;-)
Comment 9 Jens Georg 2015-04-24 20:12:17 UTC
Unfortunately there's a bit more to this bug :-/
Comment 10 Jens Georg 2015-04-25 06:36:32 UTC
Created attachment 302323 [details] [review]
server: Fix npt=start- seeking

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 11 Jens Georg 2015-04-25 06:36:43 UTC
Created attachment 302324 [details] [review]
engine-gst: Fix resource duration handling

 - Transfer resource from original data source to transcoding data source
 - Seed HTTPTimeSeekResponse with time in micorseconds not seconds

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 12 Jens Georg 2015-04-25 06:38:09 UTC
Attachment 302323 [details] pushed as 0fc9d47 - server: Fix npt=start- seeking
Attachment 302324 [details] pushed as 391f246 - engine-gst: Fix resource duration handling
Comment 13 Dušan 2015-05-12 07:31:17 UTC
OK, i have detected, that on my PS3 streaming works, only problem is with MKV files...should i install some gstreamer package or something else? i am using arch and i have installed all gstreamer-plugins packages...