[Bug 748619] New: "decodebin ! encodebin" woes
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Apr 29 01:27:53 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748619
Bug ID: 748619
Summary: "decodebin ! encodebin" woes
Classification: Platform
Product: GStreamer
Version: 1.4.5
OS: Windows
Status: NEW
Severity: blocker
Priority: Normal
Component: don't know
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: bugzilla.gnome.org at harrym.e4ward.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 302546
--> https://bugzilla.gnome.org/attachment.cgi?id=302546&action=edit
debug log up to access violation
Testing this generic and trivial pipeline :
gst_parse_launch ("filesrc name=src ! decodebin name=dec ! encodebin name=enc
! filesink name=sink", &error);
I set the "location" property files for src & sink and I set "profile" for
encodebin.
The profile has valid video & audio caps for encoding :
- container cap is "application/ogg"
- video cap is "video/x-theora"
- audio cap is "audio/x-vorbis"
Result: The pipeline plays thru correctly, but the resulting file has only
video, no audio.
Thinking that the problem was unconnected pads, I added a "pad-added"
signal-handler to decodebin.
Result: The encoding process continues for as long as I have patience to wait,
never finishing. In the two calls to the signal-handler, gst_pad_link() fails
with error codes GST_PAD_LINK_WAS_LINKED and GST_PAD_LINK_NOFORMAT,so it's of
not much use anyway.
I abolished the "pad-added" signal-handler and tried the following two
pipelines :
filesrc name=src ! decodebin name=dec ! encodebin name=enc ! filesink
name=sink dec.audio_00 ! enc.
and
filesrc name=src ! decodebin name=dec ! encodebin name=enc ! filesink
name=sink dec.audio_% ! enc.
Results:
Sometimes encoding works, generating only video. If I then close/unref all
objects and try again, I usually get an error that aborts my program and which
looks as if abort() was called.
Most often I get on first use a memory-violation exception :
First-chance exception in myexe.exe (LIBGSTREAMER-1.0-0.DLL): 0xC0000005:
Access Violation.
I attach the debug log for the exception.
However, my main problem is how to get "decodebin ! encodebin" working.
Any advice?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list