| GStreamer Bad Plugins 1.0 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
Demuxes MythTVs NuppelVideo .nuv file into raw or compressed audio and/or video streams.
This element currently only supports pull-based scheduling.
1 |
gst-launch filesrc test.nuv ! nuvdemux name=demux demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink |
plugin |
nuvdemux |
author |
Renato Araujo Oliveira Filho <renato.filho@indt.org.br>,Rosfran Borges <rosfran.borges@indt.org.br> |
class |
Codec/Demuxer |
typedef struct {
GstElement parent;
guint mode;
GstAdapter *adapter;
guint64 video_offset;
guint64 audio_offset;
/* pads */
GstPad *sinkpad;
GstPad *src_video_pad;
GstPad *src_audio_pad;
gboolean first_video;
gboolean first_audio;
/* NUV decoding state */
GstNuvDemuxState state;
guint64 offset;
/* Mpeg ExtraData */
guint64 mpeg_data_size;
GstBuffer *mpeg_buffer;
nuv_header *h;
nuv_extended_header *eh;
nuv_frame_header *fh;
} GstNuvDemux;