QuickTime Encoded date Error: gst-core-error-quark
Carl Karsten
carl at personnelware.com
Wed Jun 10 00:23:03 PDT 2015
I am trying to get the start and duration from a file (a few 1000 of them
once I get the first one working)
http://a-vinter.com/Capture0001.mov
import os
from gi.repository import Gst
from gi.repository import GObject
GObject.threads_init()
Gst.init(None)
from gi.repository import GstPbutils
pathname = "Capture0001.mov"
discoverer = GstPbutils.Discoverer()
d = discoverer.discover_uri('file://' + os.path.abspath(pathname))
d = discoverer.discover_uri('file://' + os.path.abspath(pathname))
GLib.Error: gst-core-error-quark: Your GStreamer installation is missing a
plug-in. (12)
$ gst-inspect-1.0 qtdemux
Factory Details:
Rank primary (256)
Long-name QuickTime demuxer
Klass Codec/Demuxer
Description Demultiplex a QuickTime file into audio and
video streams
Author David Schleef <ds at schleef.org>, Wim Taymans <
wim at fluendo.com>
Plugin Details:
Name isomp4
Description ISO base media file format support (mp4, 3gpp,
qt, mj2)
Filename
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstisomp4.so
Version 1.4.5
License LGPL
Source module gst-plugins-good
Source release date 2014-12-18
Binary package GStreamer Good Plugins (Ubuntu)
Origin URL
https://launchpad.net/distros/ubuntu/+source/gst-plugins-good1.0
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstQTDemux
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
video/quicktime
video/mj2
audio/x-m4a
application/x-3gp
SRC template: 'video_%u'
Availability: Sometimes
Capabilities:
ANY
SRC template: 'audio_%u'
Availability: Sometimes
Capabilities:
ANY
SRC template: 'subtitle_%u'
Availability: Sometimes
Capabilities:
ANY
Element Flags:
no flags set
Element Implementation:
Has change_state() function: gst_qtdemux_change_state
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): 0x7f4eda708870
Has custom eventfunc(): 0x7f4eda708900
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "qtdemux0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
Element Signals:
"pad-added" : void user_function (GstElement* object,
GstPad* arg0,
gpointer user_data);
"pad-removed" : void user_function (GstElement* object,
GstPad* arg0,
gpointer user_data);
"no-more-pads" : void user_function (GstElement* object,
gpointer user_data);
$ mediainfo Capture0001.mov
General
Complete name : Capture0001.mov
Format : QuickTime
Format/Info : Original Apple specifications
File size : 1.43 GiB
Duration : 3mn 37s
Overall bit rate mode : Constant
Overall bit rate : 56.3 Mbps
Encoded date : UTC 2015-04-26 20:16:04
Tagged date : UTC 2015-04-26 20:16:04
Writing library : Apple QuickTime
Video
ID : 1
Format : ProRes
Format version : Version 0
Format profile : Proxy
Codec ID : apco
Duration : 3mn 37s
Bit rate mode : Constant
Bit rate : 37.9 Mbps
Width : 1 248 pixels
Original width : 1 280 pixels
Height : 702 pixels
Original height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 50.000 fps
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 0.864
Stream size : 982 MiB (67%)
Writing library : bmd1
Language : English
Encoded date : UTC 2015-04-26 20:16:04
Tagged date : UTC 2015-04-26 20:16:04
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
matrix_coefficients_Original : BT.709
Audio
ID : 2
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : lpcm
Duration : 3mn 37s
Bit rate mode : Constant
Bit rate : 18.4 Mbps
Channel(s) : 16 channels
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 478 MiB (33%)
Language : English
Encoded date : UTC 2015-04-26 20:16:04
Tagged date : UTC 2015-04-26 20:16:04
--
Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150610/21e75c9f/attachment.html>
More information about the gstreamer-devel
mailing list