Fedora Linux Support Community & Resources Center
  #1  
Old 1st December 2015, 03:30 PM
bjrosen Offline
Registered User
 
Join Date: Jul 2005
Posts: 194
linuxchrome
Rygel doesn't see mp4s on F23

Rygel doesn't find any videos on F23, worked fine on F22. JPEGs and MP3s are also listed but not MP4s.

Anyone else having Rygel problems?
Reply With Quote
  #2  
Old 2nd December 2015, 10:50 AM
alphacrucis Offline
Registered User
 
Join Date: Jul 2013
Location: NZ
Posts: 385
linuxfedorafirefox
Re: Rygel doesn't see mp4s on F23

I did have an issue earlier in f23 but a rygel update fixed the problem. Also found the firewall setting was blocking it by default. Currently I have rygel 0.28.1-1.fc23 which is working ok.
Reply With Quote
  #3  
Old 2nd December 2015, 02:57 PM
bjrosen Offline
Registered User
 
Join Date: Jul 2005
Posts: 194
linuxchrome
Re: Rygel doesn't see mp4s on F23

My problem is specific to MP4s. Pictures and Music are fine and the directories for the videos are shown but no videos.
Reply With Quote
  #4  
Old 3rd December 2015, 03:40 AM
alphacrucis Offline
Registered User
 
Join Date: Jul 2013
Location: NZ
Posts: 385
linuxfedorafirefox
Re: Rygel doesn't see mp4s on F23

Understood. I have mp4 files that are working fine for me. Could your problem be an issue with a specific codec?
Reply With Quote
  #5  
Old 3rd December 2015, 08:55 PM
bjrosen Offline
Registered User
 
Join Date: Jul 2005
Posts: 194
linuxchrome
Re: Rygel doesn't see mp4s on F23

It looks like the problem is that Rygel isn't indexing new files. The first thing I noticed was that new videos weren't appearing in the lists but old ones were still there. My home partition is getting fairly full (it's on a 512G SSD) so I moved Videos to hard disk and linked to them from my home directory. At that point the videos in the Videos directory stopped appearing although the directories do. A few videos that happened to be in the Pictures directory are still found because they had been indexed a long time ago. To rule out that the problem wasn't caused by Rygel's inability to handle a link (which seems unlikely) recreated the Videos directory in my home directory and copied all of the files back, the directories still appear empty when I search them on my TV.

Is there a way to force Rygel to index the directories?
Reply With Quote
  #6  
Old 3rd December 2015, 09:20 PM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,718
linuxfedorafirefox
Re: Rygel doesn't see mp4s on F23

Might help. Have you removed tracker or disabled it through rygel.conf?

https://wiki.archlinux.org/index.php/Rygel

Is mediaexport still an option? MEDIAEXPORT PLUGIN Rygel will then use a sqlight db but rygel will use tracker if both are set in rygel.conf. ~/.cache/rygel/media-export.db if I remember correctly.

You should see rygel harvest your directories when started from the command line.
Reply With Quote
  #7  
Old 3rd December 2015, 09:36 PM
bjrosen Offline
Registered User
 
Join Date: Jul 2005
Posts: 194
linuxchrome
Re: Rygel doesn't see mp4s on F23

I started it from the command line, got the following
(rygel:29223): RygelServer-CRITICAL **: rygel_media_object_add_uri: assertion 'self != NULL' failed

(rygel:29223): MediaExport-CRITICAL **: rygel_media_export_item_factory_apply_file_info: assertion 'item != NULL' failed

(rygel:29223): RygelServer-CRITICAL **: rygel_media_object_get_date: assertion 'self != NULL' failed

(rygel:29223): MediaExport-CRITICAL **: string_contains: assertion 'self != NULL' failed
MediaExport-Message: 'file:///home/bjrosen/Videos' harvested
MediaExport-Message: 'file:///home/bjrosen/Music' harvested
MediaExport-Message: 'file:///home/bjrosen/Pictures' harvested

---------- Post added at 12:36 PM ---------- Previous post was at 12:36 PM ----------

Here is my rygel.conf. I deleted the old one and let it recreate it,

# Configuration file for Rygel

# General configuration options

[general]
# Set it to 'false' if you want to only use the streaming part of Rygel and/or
# don't want it to advertize itself on the UPnP network. If you want to
# completely disable rygel, just don't run it then.
upnp-enabled=true

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true

# Where video files should be saved if allow-upload is true.
# Defaults to @VIDEOS@, the standard videos folder (typically ${HOME}/Videos).
video-upload-folder=@VIDEOS@

# Where music files should be saved if allow-upload is true
# Defaults to @MUSIC@, the standard music folder (typically ${HOME}/Music).
music-upload-folder=@MUSIC@

# Where picture files should be saved if allow-upload is true
# Defaults to @PICTURES@, the standard picture folder (typically ${HOME}/Pictures).
picture-upload-folder=@PICTURES@

# Default media engine to load. If not specified, the engine directory is
# searched recursively and the first engine found is loaded.
media-engine=librygel-media-engine-gst.so

# List of network interfaces to attach rygel to. You can also use network IP or
# even ESSID for wireless networks on Linux. Leave it blank for dynamic
# configuration.
interface=

# The port to run HTTP server on. 0 means dynamic.
port=0

# Comma-separated list of domain:level pairs to specify log level thresholds for
# individual domains. domain could be either 'rygel', name of a plugin or '*'
# for all domains. Allowed levels are:
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
log-level=*:4

# Allow upload of media files?
allow-upload=true

# Allow deletion of media folders and files?
allow-deletion=true

# Semicolon-separated list of device user-agents (or parts thereof) that need
# a downgrade in the UPnP device versions
# WARNING /!\: Only change this setting when told to do so or when you know
# what you're doing. If you find that adding your device makes it
# working with Rygel, please file a bug at
# https://bugzilla.gnome.org/enter_bug...&component=IOP
# so we can include it in future releases.
#force-downgrade-for=Allegro-Software-WebClient;SEC_HHP;SEC HHP;Mediabolic-IMHTTP/1;TwoPlayer;Reciva;FDSSDP;Portable SDK for UPnP devices;Darwin

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
# contain the following automatically substituted keywords:
# * @REALNAME@: The real name of the user as returned by
# g_get_real_name() function of glib library.
# * @USERNAME@: The user name of the user as returned by
# g_get_user_name() function of glib library.
# * @HOSTNAME@: The host name of the machine rygel is running on, as
# returned by g_get_host_name() function of glib library.
#

# Options related to the used media backend.
# The options shown in this configuration file are specific to GStreamer.

[GstMediaEngine]

# List of active transcoders. To disable one, remove from list.
transcoders=mp3;lpcm;mp2ts;wmv;aac;avc

# Options that apply to the renderer framework in general

[Renderer]

# Default showtime in seconds to use for images in playlists if dlna:lifetime
# is not set. DLNA wants something between 5 and 15 seconds.
image-timeout=15

[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media on @PRETTY_HOSTNAME@

[MediaExport]
enabled=true
title=@REALNAME@'s media on @PRETTY_HOSTNAME@
# List of URIs to export. Following variables are automatically substituted by
# the appropriate XDG standard media folders by Rygel for you.
#
# * @MUSIC@: The standard music folder (typically ${HOME}/Music).
# * @VIDEOS@: The standard videos folder (typically ${HOME}/Videos).
# * @PICTURES@: The standard pictures folder (typically ${HOME}/Pictures).
#
uris=@MUSIC@;@VIDEOS@;@PICTURES@;
extract-metadata=true
monitor-changes=true
monitor-grace-timeout=5
virtual-folders=true

[Playbin]
enabled=true
title=Audio/Video playback on @PRETTY_HOSTNAME@

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=1901618
update-interval=1800

[GstLaunch]
enabled=false
launch-items=audiotestsrc;videotestsrc;videotestoverlay
audiotestsrc-title=Audiotestsrc
audiotestsrc-mime=audio/x-wav
audiotestsrc-launch=audiotestsrc ! wavenc
videotestsrc-title=Videotestsrc
videotestsrc-mime=video/mpeg
videotestsrc-launch=videotestsrc ! avenc_mpeg2video ! mpegtsmux
videotestoverlay-title=Videotestsrc with timeoverlay 2
videotestoverlay-mime=video/mpeg
videotestoverlay-launch=videotestsrc ! timeoverlay ! avenc_mpeg2video ! mpegtsmux

[Test]
enabled=false

[ExampleServerPluginVala]
enabled=false

[ExampleServerPluginC]
enabled=false

[ExampleRendererPluginVala]
enabled=false

[ExampleRendererPluginC]
enabled=false

[MPRIS]
enabled=false

[External]
enabled=false

[Ruih]
enabled=false
title=Rygel Remote UI Server
Reply With Quote
  #8  
Old 4th December 2015, 12:37 AM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,718
linuxfedorafirefox
Re: Rygel doesn't see mp4s on F23

I don't know. At this point I'd shrug my shoulders and say, "rygel never worked 100% for me anyway." Maybe create a Test User and launch rygel from there? But I toss that out as a method to identity where a problem maybe. ie., does the default rygel.conf on a newly created user without an existing database work? But I'm guessing. DOA is probably more truthful.

I think you'll have more success with minidlna.
https://wiki.archlinux.org/index.php/ReadyMedia

su
dnf install minidlna
exit

At least then you can forcibly rebuild it's media db.
minidlnad -R
minidlnad -d

I recommend running minidlna from the command line as your own user first, and as a system service after you're confident with your .conf.


Sorry I could be any more help.


Late Edit: Remember to kill Rygel before running mindlna.
Reply With Quote
  #9  
Old 6th December 2015, 04:31 PM
bjrosen Offline
Registered User
 
Join Date: Jul 2005
Posts: 194
linuxfedorafirefox
Re: Rygel doesn't see mp4s on F23

I managed to resolve it and the solution is very non-obvious, renaming the directories fixed it. Rygel must keep a database somewhere that's not in the home directory and not under /var or /etc but somewhere else. I tried the following things,

1) rsynced the Videos directory to another F23 machine. I was able to see all of the videos on the other system.

2) Created a fresh home directory. I renamed my home directory then created a fresh one and copied all of my visible directories but none of the .xxx directories that have all of the configuration information. This had no effect.

3) deleted the local Videos directory and rsynced it back from the other system. No effect.

4) Created a script that moved the mp4 files from each directory into a tmp directory, deleted the old directory, recreated it and then moved the files back in. No effect.

5) I uploaded a new video from my phone into one of the video directories, Rygel displayed it but none of the other files.

6) Renamed the top level directories by uppercaseing the first letter. THIS WORKED. So obviously Rygel has a database somewhere that's screwed up, renaming the top level directories had the effect of creating fresh entries in the database.
Reply With Quote
Reply

Tags
f23, mp4s, rygel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get minidlna or rygel to work Kind9 Servers & Networking 1 25th November 2015 05:22 AM
Can't play MP4s without FLASH on Firefox bjrosen Using Fedora 4 27th July 2015 10:01 PM
Rygel Transcoding jakerock Using Fedora 12 28th March 2015 02:58 PM
Rygel F18 strummer Servers & Networking 5 16th March 2013 12:28 AM


Current GMT-time: 07:55 (Sunday, 20-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat