AW(7): mp4 video is not shown



In fact I'm running out of file descriptors.
I managed to verify it.

My maximum number of file descriptors is 1024.
When rygel starts the harvesting process for the first time (cache removed beforehand) on the huge media 
directory, it reaches a point where it stops (no more warnings about failed parsing appear) and in the 
meanwhile gradually increases its use of file descriptors. Starting from around 300 fds  it takes about 20 
second until it reaches the critical number and finally breaks with the previously mentioned errors.



-----Ursprüngliche Nachricht-----
Von: Jens Georg [mailto:mail jensge org] 
Gesendet: Sonntag, 22. März 2015 11:33
An: M. Löffler
Cc: rygel-list gnome org
Betreff: Re: AW: AW: AW: AW: AW: AW: mp4 video is not shown


I get:
32

Which is hopefully way smaller than the output of ulimit -n ?

is that critical the first critical you see?

Are all of the warnings related to this issue or are there warnings prior to that?

-----Ursprüngliche Nachricht-----
Von: rygel-list [mailto:rygel-list-bounces gnome org] Im Auftrag von 
Jens Georg
Gesendet: Freitag, 20. März 2015 14:38
An: rygel-list gnome org
Betreff: Re: AW: AW: AW: AW: AW: mp4 video is not shown

Am 2015-03-20 14:31, schrieb M. Löffler:
I tried it with "monitor-changes=false" but still I get a very 
similar error.
It starts with "MediaExport-WARNING **: Failed to get file info for 
file..." that keeps repeating for probably over a hundred times 
(just an estimation), then these warnings and messages follow:

"
[...]
(rygel:20541): MediaExport-WARNING **: Failed to get file info for 
file:///media/data2/Audio/itm/Midnight%20Oil/Breathe

(rygel:20541): MediaExport-WARNING **: Failed to add item with ID
9f9d4886e697a11fe1d538660892aa16: SQLite error 14: unable to open 
database file

(rygel:20541): MediaExport-WARNING **:
rygel-media-export-trackable-db-container.vala:79: Failed to add
object: SQLite error 14: unable to open database file

(rygel:20541): GStreamer-CRITICAL **: gst_poll_get_read_gpollfd:
assertion 'set != NULL' failed

(rygel:20541): GStreamer-CRITICAL **: gst_bus_create_watch: 
assertion 'bus->priv->poll != NULL' failed

(rygel:20541): GLib-CRITICAL **: g_source_set_callback: assertion 
'source != NULL' failed Segmentation fault "

I think the initial harvesting process causes the problem and it 
seems to fail because of the huge amount of files/subfolders.
To me it looks like the harvesting process tries to get file info of 
folders (not files) where it of course can't get any info.
But maybe that’s only a side effect and not the basic issue.

No, the file info will then tell it that it is a folder. Can you check 
the number of ls /proc/$(pidof rygel)/fd | wc -l






-----Ursprüngliche Nachricht-----
Von: rygel-list [mailto:rygel-list-bounces gnome org] Im Auftrag von 
Jens Georg
Gesendet: Freitag, 20. März 2015 10:45
An: rygel-list gnome org
Betreff: Re: AW: AW: AW: AW: mp4 video is not shown

However I ran into another error, but I'll open a new thread for it.

Sorry, I always forget to remove that mail from the moderation queue.
Can you check if the issue goes away if you disable the file 
monitoring by setting monitor-changes=false

It looks like a file descriptor leak or out of filedescriptors.





-----Ursprüngliche Nachricht-----
Von: Jens Georg [mailto:mail jensge org]
Gesendet: Dienstag, 17. März 2015 17:02
An: M. Löffler
Cc: rygel-list gnome org
Betreff: Re: AW: AW: AW: mp4 video is not shown

Can you configure Rygel with a directory, place a singe file into 
that, remove ~/.cache/rygel/media-export.db and run

G_MESSAGES_DEBUG=all rygel -g MediaExport:5,*:2

Thanks.

Well, I have to admit that I forgot to do "apt-get dist-upgrade" 
for a long time, so that figures out why there was gstreamer0.10 
and
gstreamer1.0 parts installed.

Now with everything up to date 14.04 LTS, still the *.mp4 files 
won't show up. I'm usually using BubbleUPnP on my android phone, 
but to be sure I also checked with gupnp-av-cp with the same result.

I tried to add a new directory with videos and It only shows a new 
folder without content.
So the problem now seems to be not only no .mp4 parsing but no 
parsing at all. Is there a refresh whenever the server detects 
changes in the folders or at ceratin intervals?

I already purged and reinstalled rygel, but it didn’t changed 
anything.
I hope there isn't another sloppiness of my side involved causing 
the problem..


-----Ursprüngliche Nachricht-----
Von: rygel-list [mailto:rygel-list-bounces gnome org] Im Auftrag 
von Jens Georg
Gesendet: Dienstag, 17. März 2015 00:05
An: rygel-list gnome org
Betreff: Re: AW: AW: mp4 video is not shown

On Mo, 2015-03-16 at 23:54 +0100, M. Löffler wrote:
OK

I had to install manually gstreamer1.0-plugins-base-apps and 
gstreamer1.0-plugins-bad, the rest was already there. I don’t 
know why it apt-get installed a mixture of 0.10 and 1.0.

Now the gst-discoverer-1.0 run on one of my *.mp4 files works fine.
No more errors.
Still I don’t see the mp4 videos...

What's your client?

Do you see the files when using gupnp-av-cp? Should be in 
gupnp-tools.


_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list

_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list

_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list

_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list

_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list

_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]