gupnp-dlna cannot compute MPEG profile of standard DLNA MPEG content
Submitted by Mark Ryan
Assigned to Jens Georg @jensgeorg
Link to original bug (#684791)
Description
Hi,
I'm unable to get gupnp-dlna to determine the DLNA profile of any of the standard DLNA MPEG test content. The content is playable on my device and can be discovered by gst-discoverer-0.10. Here an example of the sort of output I get when I run gupnp-dlna-info on one of the files:
gupnp-dlna-info -v /home/home/Videos/DLNA/MPEG_TS_SD_EU_ISO/O-MP2TS_SE_I-2.mpg
URI: file:///home/home/Videos/DLNA/MPEG_TS_SD_EU_ISO/O-MP2TS_SE_I-2.mpg Profile Name: (null) Profile MIME: (null)
Topology: container: video/mpegts, systemstream=(boolean)true, packetsize=(int)188 audio: audio/x-ac3 Codec: audio/x-ac3 Additional info: None Channels: 2 Sample rate: 44100 Depth: 0 Bitrate: 192000 Max bitrate: 0 Tags: taglist, audio-codec=(string)"Dolby\ Digital\ (AC-3)", bitrate=(uint)192000; video: video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)480, height=(int)576, framerate=(fraction)50/1, pixel-aspect-ratio=(fraction)32/15, codec_data=(buffer)1e0240330ea62380000001b5148200010000000001b8, profile=(string)main, level=(string)low, interlaced=(boolean)true Codec: video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)480, height=(int)576, framerate=(fraction)50/1, pixel-aspect-ratio=(fraction)32/15, codec_data=(buffer)1e0240330ea62380000001b5148200010000000001b8, profile=(string)main, level=(string)low, interlaced=(boolean)true Additional info: None Width: 480 Height: 576 Depth: 0 Frame rate: 25/1 Pixel aspect ratio: 32/15 Interlaced: true Bitrate: 0 Max bitrate: 0 Tags: taglist, video-codec=(string)"MPEG\ 2\ Video";
Duration: 0:01:05.834977393
I can make gupnp-dlna-info return the correct profile if I remove/modify some of the fields in mpeg-ts.xml. I guess either GStreamer is returning the wrong information or the .xml files are too strict.
BTW., I'm using GStreamer 0.10.36
Version: 0.12.x