13 years agolibgupnp-dlna: add 'extended' mode property
Parthasarathi Susarla [Mon, 16 Aug 2010 16:00:22 +0000 (21:30 +0530)]
libgupnp-dlna: add 'extended' mode property

This patch adds getters for the 'extended' mode
property on the GUPnPDLNAProfile class.

13 years agolibgupnp-dlna: add getters for properties
Parthasarathi Susarla [Mon, 16 Aug 2010 15:26:52 +0000 (20:56 +0530)]
libgupnp-dlna: add getters for properties

This patch adds the getters for relaxed_mode and extended_mode
of GUPnPDLNADiscoverer

13 years agolibgupnp-dlna: Remove unused variable
Arun Raghavan [Mon, 16 Aug 2010 15:11:37 +0000 (20:41 +0530)]
libgupnp-dlna: Remove unused variable

13 years agodocs: Update NEWS
Arun Raghavan [Mon, 16 Aug 2010 13:55:30 +0000 (19:25 +0530)]
docs: Update NEWS

13 years agobuild: Bump to version 0.3.0
Arun Raghavan [Mon, 16 Aug 2010 13:02:23 +0000 (18:32 +0530)]
build: Bump to version 0.3.0

Bumping to 0.3.0 since we've got a whole bunch of API changes.

13 years agolibgupnp-dlna: Don't depend on gcc-specific attributes
Arun Raghavan [Mon, 16 Aug 2010 12:32:37 +0000 (18:02 +0530)]
libgupnp-dlna: Don't depend on gcc-specific attributes

zeenix points out that g_getenv() isn't *that* expensive, so this
removes the dependency on GCC's constructor attribute. If in the future
we wish to optimise this, the constructor bits can be moved to a
gupnp_dlna_init() or to one of the class init functions.

13 years agobuild: Bump version to 0.2.2
Arun Raghavan [Mon, 16 Aug 2010 11:31:51 +0000 (17:01 +0530)]
build: Bump version to 0.2.2

13 years agolibgupnp-dlna: Add some debug output
Arun Raghavan [Mon, 16 Aug 2010 08:38:39 +0000 (14:08 +0530)]
libgupnp-dlna: Add some debug output

This allows us to debug why a file doesn't match any profile without
having to jump through hoops. The output can be enabled by setting the
environment variable GUPNP_DLNA_DEBUG to anything except '0'.

13 years agolibgupnp-dlna: add 'extended' mode property
Parthasarathi Susarla [Mon, 16 Aug 2010 08:20:31 +0000 (13:50 +0530)]
libgupnp-dlna: add 'extended' mode property

This patch adds the 'extended' mode propery on the GUPnPDLNAProfile

13 years agolibgupnp-dlna: add 'relaxed' and 'extended' mode properties
Parthasarathi Susarla [Mon, 16 Aug 2010 08:10:12 +0000 (13:40 +0530)]
libgupnp-dlna: add 'relaxed' and 'extended' mode properties

This patch adds properties on the GUPnPDLNADiscoverer class for
'relaxed' mode and 'extended' mode support. These will be supported
in the next release.

13 years agodocs: Add GUPnPDLNAProfile generated docs
Arun Raghavan [Sat, 14 Aug 2010 17:48:41 +0000 (23:18 +0530)]
docs: Add GUPnPDLNAProfile generated docs

Since the GUPnPDLNAProfile object is now part of the public API (we
return it from a couple of GUPnPDLNADiscoverer functions), we add it to
the generated documentation as well.

13 years agolibgupnp-dlna: Update GUPnPDLNAProfile documentation
Arun Raghavan [Sat, 14 Aug 2010 17:48:09 +0000 (23:18 +0530)]
libgupnp-dlna: Update GUPnPDLNAProfile documentation

13 years agotools: Add a tool to list supported profiles
Parthasarathi Susarla [Sat, 14 Aug 2010 17:16:29 +0000 (22:46 +0530)]
tools: Add a tool to list supported profiles

This lists all supported profiles. There is a verbose mode (-v) which
dumps the GstCaps for the restrictions of that profile.

13 years agolibgupnp-dlna: Add an API to list profiles
Parthasarathi Susarla [Sat, 14 Aug 2010 16:21:07 +0000 (21:51 +0530)]
libgupnp-dlna: Add an API to list profiles

13 years agodocs: Add a note about Gst initialisation
Arun Raghavan [Sat, 14 Aug 2010 16:16:39 +0000 (21:46 +0530)]
docs: Add a note about Gst initialisation

This is particularly important now that we load profiles at Discoverer
class initialisation time.

13 years agolibgupnp-dlna: Move profile list to DLNADiscovererClass
Arun Raghavan [Sat, 14 Aug 2010 12:14:51 +0000 (17:44 +0530)]
libgupnp-dlna: Move profile list to DLNADiscovererClass

Instead of keeping the profile list loaded from disk in a static global
variable, we now make this a static member on the GUPnPDLNADiscoverer

Corresponding to this, we move _get_profile() (and future API of a
similar nature) from the library-wide namespace into the class'

Based on a patch from:
Parthasarathi Susarla <>

13 years agolibgupnp-dlna: Clean up non-matched profiles
Arun Raghavan [Sat, 14 Aug 2010 11:58:47 +0000 (17:28 +0530)]
libgupnp-dlna: Clean up non-matched profiles

Once we're done loading profiles, we can remove the profiles with empty
names which are used as base profiles in inheritance but are actually
skipped while matching.

13 years agotests: Add a test harness for testing discoverer
Arun Raghavan [Wed, 14 Jul 2010 05:16:12 +0000 (10:46 +0530)]
tests: Add a test harness for testing discoverer

The harness expects a tests/media directory with a file list in the
format described in a comment at the top of the harness. The means to
set up the media directory will come in a subsequent commit.

13 years agolibgupnp-dlna: Support interlaced files
Arun Raghavan [Fri, 13 Aug 2010 21:15:13 +0000 (02:45 +0530)]
libgupnp-dlna: Support interlaced files

It's just a matter of setting the caps appropriately if the
GstVideoInformation structure has the corresponding field set.

13 years agoxml: Fix typo in AVC_MP4_MP_HD_1080i_AAC
Arun Raghavan [Fri, 13 Aug 2010 21:25:26 +0000 (02:55 +0530)]
xml: Fix typo in AVC_MP4_MP_HD_1080i_AAC

13 years agoxml: Add support for AVC_MP4_MP_HD_1080i
Arun Raghavan [Fri, 13 Aug 2010 06:01:48 +0000 (11:31 +0530)]
xml: Add support for AVC_MP4_MP_HD_1080i

13 years agoxml: Add support for AVC_MP4_MP_HD_720p_AAC
Arun Raghavan [Fri, 13 Aug 2010 05:59:36 +0000 (11:29 +0530)]
xml: Add support for AVC_MP4_MP_HD_720p_AAC

13 years agoxml: Factor out common resolutions
Arun Raghavan [Thu, 12 Aug 2010 20:54:06 +0000 (02:24 +0530)]
xml: Factor out common resolutions

13 years agoxml: Add support for some AVC_MP4_MP_SD* profiles
Arun Raghavan [Thu, 12 Aug 2010 20:09:20 +0000 (01:39 +0530)]
xml: Add support for some AVC_MP4_MP_SD* profiles

This adds support for the AVC_MP4_MP_SD_AAC_MULT5,
AVC_MP4_MP_SD_AAC_MPEG1_L3, and AVC_MP4_MP_SD_AC3 profiles.

13 years agoxml: Factor out AC3 restriction
Arun Raghavan [Thu, 12 Aug 2010 19:58:47 +0000 (01:28 +0530)]
xml: Factor out AC3 restriction

This will allow us to reuse the restrictions for video profiles with AC3
audio streams.

13 years agolibgupnp-dlna: Make GUPnPDLNAProfile opaque
Arun Raghavan [Thu, 12 Aug 2010 17:08:44 +0000 (22:38 +0530)]
libgupnp-dlna: Make GUPnPDLNAProfile opaque

This moves the public members of GUPnPDLNAProfile into a private
structure, accessible by getter methods and properties.

13 years agolibgupnp-dlna: Fix private structure registration
Arun Raghavan [Thu, 12 Aug 2010 14:08:32 +0000 (19:38 +0530)]
libgupnp-dlna: Fix private structure registration

We're registering the wrong type as the private type (which only worked
because GUPnPDLNAInformation is bigger than GUPnPDLNAInformationPrivate)

13 years agodocs: Add notes on transcoding
Arun Raghavan [Tue, 10 Aug 2010 14:38:53 +0000 (20:08 +0530)]
docs: Add notes on transcoding

Summarising a discussion from IRC. Needs some fleshing out.

13 years agoprint topology instead of just the stream info
Parthasarathi Susarla [Tue, 20 Jul 2010 09:23:39 +0000 (14:53 +0530)]
print topology instead of just the stream info

13 years agoxml: Fix typo in bitrate field
Arun Raghavan [Thu, 22 Jul 2010 08:47:43 +0000 (09:47 +0100)]
xml: Fix typo in bitrate field

Thanks to "tresvecesseis" on gitorious for pointing this out.

13 years agoxml: Fix typos in AVC_MP4_BL_L3* profiles
Arun Raghavan [Tue, 20 Jul 2010 16:02:23 +0000 (17:02 +0100)]
xml: Fix typos in AVC_MP4_BL_L3* profiles

13 years agoxml: Fix framerate in MPEG4_P2_MP4_SP_VGA_AAC profile
Arun Raghavan [Mon, 19 Jul 2010 18:08:16 +0000 (19:08 +0100)]
xml: Fix framerate in MPEG4_P2_MP4_SP_VGA_AAC profile

Seems I'd missed the framerate constriant while adding this profile.

13 years agoxml: Add bitrate constraint for AVC_MP4_L3L_SD_AAC
Arun Raghavan [Mon, 19 Jul 2010 16:07:16 +0000 (17:07 +0100)]
xml: Add bitrate constraint for AVC_MP4_L3L_SD_AAC

13 years agodocs: Fix some warnings
Arun Raghavan [Fri, 16 Jul 2010 14:37:30 +0000 (20:07 +0530)]
docs: Fix some warnings

Introduce some slightly redundant documentation to get rid of gtk-doc

13 years agolibgupnp-dlna: Replace redundant calls with macros
Arun Raghavan [Fri, 16 Jul 2010 14:35:54 +0000 (20:05 +0530)]
libgupnp-dlna: Replace redundant calls with macros

The gupnp_dlna_discoverer_{start,stop} functions were just wrappers
arround the corresponding gst_discoverer* APIs, so we define them as
macros instead.

13 years agoxml: Use bitrate instead of maximum-bitrate
Arun Raghavan [Fri, 16 Jul 2010 14:21:19 +0000 (19:51 +0530)]
xml: Use bitrate instead of maximum-bitrate

Moving all the fields where we use maximum-bitrate to just use the
bitrate for the sake of consistency. At some point in the future we will
need to introduce code to intelligently use  whichever of these tags is
present in the stream.

13 years agoxml: Include common.xml in mpeg-ts.xml
Arun Raghavan [Mon, 19 Jul 2010 14:47:05 +0000 (15:47 +0100)]
xml: Include common.xml in mpeg-ts.xml

We're using restrictions from common.xml but I forgot to include it.

13 years agoRelease 0.2.1 gupnp-dlna-0.2.1
Arun Raghavan [Wed, 14 Jul 2010 13:51:45 +0000 (19:21 +0530)]
Release 0.2.1

13 years agobuild: Correct gst-plugins-base dependency
Arun Raghavan [Thu, 15 Jul 2010 15:26:12 +0000 (20:56 +0530)]
build: Correct gst-plugins-base dependency

We don't (yet) need the latest gst-plugins-base

13 years agobuild: Update gstreamer dependency
Arun Raghavan [Thu, 8 Jul 2010 15:44:43 +0000 (21:14 +0530)]
build: Update gstreamer dependency

The newly imported gst-convenience will depend on gstreamer-0.10.30

13 years agoRelease 0.2 gupnp-dlna-0.2 gupnp-dlna-0.2.0
Arun Raghavan [Wed, 7 Jul 2010 09:51:33 +0000 (15:21 +0530)]
Release 0.2

13 years agolibgupnp-dlna: Remove debug print
Arun Raghavan [Wed, 7 Jul 2010 08:29:31 +0000 (13:59 +0530)]
libgupnp-dlna: Remove debug print

This message was used for debugging and testing.

13 years agogst-convenience: Rebase in-tree version
Arun Raghavan [Wed, 7 Jul 2010 08:27:33 +0000 (13:57 +0530)]
gst-convenience: Rebase in-tree version

Sync our copy of gst-convenience against upstream (upstream commit
fab830b7692200a808655deb4aeb0afa3be4e7b1). Also includes one
to-be-merged patch to fix a crash while marshalling.

13 years agoxml: Don't require empty name/mime for profiles
Arun Raghavan [Fri, 2 Jul 2010 08:19:31 +0000 (13:49 +0530)]
xml: Don't require empty name/mime for profiles

When creating a <dlna-profile> for the sole purpose of being used for
inheritance, we required the name and mime to be set as empty strings.
This makes this unncessary in the XML (the implementation is not
changed, but this is now handled transparently).

13 years agoxml: Add AVC_MP4_BL_CIF15_AAC profile support
Arun Raghavan [Thu, 1 Jul 2010 07:45:07 +0000 (13:15 +0530)]
xml: Add AVC_MP4_BL_CIF15_AAC profile support

13 years agoxml: Add the AVC_MP4_BL_L3(L)_SD_AAC profiles
Arun Raghavan [Wed, 30 Jun 2010 12:41:34 +0000 (18:11 +0530)]
xml: Add the AVC_MP4_BL_L3(L)_SD_AAC profiles

13 years agotools: Add utility for printing discovered info
Parthasarathi Susarla [Mon, 5 Jul 2010 07:53:06 +0000 (13:23 +0530)]
tools: Add utility for printing discovered info

13 years agodoc: Add a TODO
Arun Raghavan [Wed, 30 Jun 2010 13:07:22 +0000 (18:37 +0530)]
doc: Add a TODO

Currently a brain dump of the things that I remember need doing.

13 years agoxml: Use bitrate in constraints for AVC*
Arun Raghavan [Wed, 30 Jun 2010 09:55:50 +0000 (15:25 +0530)]
xml: Use bitrate in constraints for AVC*

This is more likely to be set than maximum-bitrate. Also, the range
starts from 1 instead of 0, to ensure that it is actually known.

13 years agolibgupnp-dlna: only free format caps if present
Arun Raghavan [Tue, 29 Jun 2010 17:37:34 +0000 (23:07 +0530)]
libgupnp-dlna: only free format caps if present

This gets rid of a GStreamer warning in certain cases when we try to
free NULL caps.

13 years agolibgupnp-dlna: Detect duplicates in <include>
Arun Raghavan [Tue, 29 Jun 2010 14:25:09 +0000 (19:55 +0530)]
libgupnp-dlna: Detect duplicates in <include>

Currently, if we include one of the XML files in the profiles directory
from another XML file, the former will get parsed twice (once while
walking the directory, and once again when being included), resulting in
the same set profiles being added to the profile list twice.

This adds some (not fool-proof, but good enough) duplicate detection, so
that we can include one XML file in another. This is particularly useful
for reusing audio profile restrictions in video profiles.

13 years agoxml: Fix MPEG_TS_*_NA profile names
Arun Raghavan [Tue, 29 Jun 2010 06:00:47 +0000 (11:30 +0530)]
xml: Fix MPEG_TS_*_NA profile names

Re-reading the spec, it appears that if the packets are not 192 bytes
long (188 byte payload + 4 byte timestamp), the profile must be suffixed
with an _ISO.

13 years agoxml: Add more common SD resolutions to common.xml
Arun Raghavan [Mon, 28 Jun 2010 21:33:12 +0000 (03:03 +0530)]
xml: Add more common SD resolutions to common.xml

Also makes MPEG_TS* use these factored-out restrictions.

13 years agoxml: Fix typo in AVC_BL profile
Arun Raghavan [Mon, 28 Jun 2010 14:00:13 +0000 (19:30 +0530)]
xml: Fix typo in AVC_BL profile

13 years agoxml: Fix MP4 container usage
Arun Raghavan [Thu, 24 Jun 2010 17:33:02 +0000 (23:03 +0530)]
xml: Fix MP4 container usage

Recent fixes in GStreamer make MP4 containers behave properly. All ISO
variant MP4 containers show up as "video/quicktime, variant=iso",
instead of some of them showing up as "audio/x-m4a". To ensure
correctness further, we do not support non-ISO variants (such as Apple's

When we have smart transcoding, this will be taken care of
automatically, since encodebin will be able to transmux to MP4.

13 years agolibgupnp-dlna: Fix crash on invalid parent
Arun Raghavan [Tue, 29 Jun 2010 06:18:42 +0000 (11:48 +0530)]
libgupnp-dlna: Fix crash on invalid parent

13 years agolibgupnp-dlna: Fix copy-paste-o in property init
Arun Raghavan [Tue, 29 Jun 2010 10:18:06 +0000 (15:48 +0530)]
libgupnp-dlna: Fix copy-paste-o in property init

Absolutely no cookies for me.

13 years agotests: Add a transcoding exmple
Arun Raghavan [Mon, 21 Jun 2010 09:10:06 +0000 (14:40 +0530)]
tests: Add a transcoding exmple

This takes an input file and transcodes to a given DLNA profile

13 years agoprofiles: API to get encoding profile from name
Arun Raghavan [Mon, 21 Jun 2010 08:03:17 +0000 (13:33 +0530)]
profiles: API to get encoding profile from name

This adds a simple API to get a GstEncodingProfile given a DLNA profile
name. This should make automatic transcoding easier for clients.

13 years agoxml: Support ID3 in MP3 profiles gupnp-dlna-0.1 gupnp-dlna-0.1.0
Arun Raghavan [Mon, 21 Jun 2010 09:36:25 +0000 (15:06 +0530)]
xml: Support ID3 in MP3 profiles

This also makes encoding work, since a container needs to be provided
for encoding.

13 years agobuild: Get rid of gst-convenience warning
Arun Raghavan [Thu, 24 Jun 2010 12:46:57 +0000 (18:16 +0530)]
build: Get rid of gst-convenience warning

Suppress the unstable API warning so we don't miss other warnings.

13 years agotests: Move XML test cases
Arun Raghavan [Thu, 24 Jun 2010 12:42:46 +0000 (18:12 +0530)]
tests: Move XML test cases

Undo unnecessary nesting now that this is a spearate package.

13 years agodoc: Build documentation using gtk-doc
Arun Raghavan [Thu, 24 Jun 2010 12:41:04 +0000 (18:11 +0530)]
doc: Build documentation using gtk-doc

13 years agolibgupnp-dlna: Update GUPnPDLNADiscoverer documentation
Arun Raghavan [Thu, 24 Jun 2010 12:30:09 +0000 (18:00 +0530)]
libgupnp-dlna: Update GUPnPDLNADiscoverer documentation

This adds documentation for the undocumented parts of the
GUPnPDLNADiscoverer API and updates other bits.

13 years agolibgupnp-dlna: Document GUPnPDLNAInformation
Arun Raghavan [Thu, 24 Jun 2010 12:29:30 +0000 (17:59 +0530)]
libgupnp-dlna: Document GUPnPDLNAInformation

13 years agolibgupnp-dlna: Don't install gupnp-dlna-load.h
Arun Raghavan [Thu, 24 Jun 2010 12:28:15 +0000 (17:58 +0530)]
libgupnp-dlna: Don't install gupnp-dlna-load.h

The API to load profiles from disk is not public.

13 years agolibgupnp-dlna: Return const pointers from get functions
Arun Raghavan [Thu, 24 Jun 2010 09:21:32 +0000 (14:51 +0530)]
libgupnp-dlna: Return const pointers from get functions

The gupnp_dlna_information_get* functions return pointers to internal
structure members (since these are not expected to be modified), so
these should be made const pointers.

13 years agoxml: Use 3GPP container correctly
Arun Raghavan [Mon, 21 Jun 2010 07:52:22 +0000 (13:22 +0530)]
xml: Use 3GPP container correctly

This corrects some ambiguous use of 3GP as an alternative to the ISO
MPEG4 container.

13 years agoInitial commit
Arun Raghavan [Sat, 19 Jun 2010 18:07:44 +0000 (23:37 +0530)]
Initial commit

13 years agomisc: Add .gitignore
Arun Raghavan [Sun, 20 Jun 2010 14:48:16 +0000 (20:18 +0530)]
misc: Add .gitignore