Hello,
I was try to smart encode a file in GES ( src attached ) on ogg vorbis files using TIMELINE_MODE_SMART_RENDER option. However in the logs I see that vorbisdec, vorbisenc, audiorate, audioresample, audioconvert are still being created. Probably there is a bug in GES and the decode-encode cycle is still being done, even when smart render is enabled. Can somebody pls let me know if this is a bug or if there is something wrong in the code. Thanks. --vineeth _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Administrator
|
Hi,
The encodebin element will always create the encoding elements regardless of whether you're passing it raw audio/video or already-encoded data (it always creates two parallel paths, one for passthrough and another for actual encoding since it (1) doesn't know beforehand whether the stream will be raw or already encoded and (2) it might change mid-stream). It doesn't mean encodebin will *actually* encode the input, it will only push data through the encoding path if the incoming data is raw audio. The only vorbisdec element I can see in those logs is the one used in the GstDiscoverer (used outside of the pipeline to figure out the duration of the file, what stream it has, the stream properties, etc...). So... congratulations, you smart-rendered your file :) Edward On Tue, 2011-04-19 at 23:20 -0700, vineeth wrote: > Hello, > I was try to smart encode a file in GES ( src attached ) on ogg > vorbis files using TIMELINE_MODE_SMART_RENDER option. > However in the logs I see that vorbisdec, vorbisenc, audiorate, > audioresample, audioconvert are still being created. > Probably there is a bug in GES and the decode-encode cycle is still > being done, even when smart render is enabled. > Can somebody pls let me know if this is a bug or if there is > something wrong in the code. > Thanks. > --vineeth > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 2011-04-20 at 09:34 +0200, Edward Hervey wrote:
Would it be hard to report some kind of stats on how much of the output file had to be re-encoded? --Brandon > Hi, > > The encodebin element will always create the encoding elements > regardless of whether you're passing it raw audio/video or > already-encoded data (it always creates two parallel paths, one for > passthrough and another for actual encoding since it (1) doesn't know > beforehand whether the stream will be raw or already encoded and (2) it > might change mid-stream). > It doesn't mean encodebin will *actually* encode the input, it will > only push data through the encoding path if the incoming data is raw > audio. > > The only vorbisdec element I can see in those logs is the one used in > the GstDiscoverer (used outside of the pipeline to figure out the > duration of the file, what stream it has, the stream properties, > etc...). > > So... congratulations, you smart-rendered your file :) > > Edward > > On Tue, 2011-04-19 at 23:20 -0700, vineeth wrote: > > Hello, > > I was try to smart encode a file in GES ( src attached ) on ogg > > vorbis files using TIMELINE_MODE_SMART_RENDER option. > > However in the logs I see that vorbisdec, vorbisenc, audiorate, > > audioresample, audioconvert are still being created. > > Probably there is a bug in GES and the decode-encode cycle is still > > being done, even when smart render is enabled. > > Can somebody pls let me know if this is a bug or if there is > > something wrong in the code. > > Thanks. > > --vineeth > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Edward Hervey
Hi,
Thanks for your reply. I had another doubt, in case of video (theora), when smart render is enabled, does encode bin automatically choose the next/previous nearest I frame? --vineeth On Wed, Apr 20, 2011 at 1:04 PM, Edward Hervey <[hidden email]> wrote: Hi, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Administrator
|
On Thu, 2011-04-21 at 09:25 +0530, vineeth wrote:
> Hi, > Thanks for your reply. > I had another doubt, in case of video (theora), when smart render is > enabled, does encode bin automatically choose the next/previous > nearest I frame? Yes > --vineeth > > > On Wed, Apr 20, 2011 at 1:04 PM, Edward Hervey <[hidden email]> > wrote: > Hi, > > The encodebin element will always create the encoding > elements > regardless of whether you're passing it raw audio/video or > already-encoded data (it always creates two parallel paths, > one for > passthrough and another for actual encoding since it (1) > doesn't know > beforehand whether the stream will be raw or already encoded > and (2) it > might change mid-stream). > It doesn't mean encodebin will *actually* encode the input, > it will > only push data through the encoding path if the incoming data > is raw > audio. > > The only vorbisdec element I can see in those logs is the one > used in > the GstDiscoverer (used outside of the pipeline to figure out > the > duration of the file, what stream it has, the stream > properties, > etc...). > > So... congratulations, you smart-rendered your file :) > > Edward > > > On Tue, 2011-04-19 at 23:20 -0700, vineeth wrote: > > Hello, > > I was try to smart encode a file in GES ( src attached ) > on ogg > > vorbis files using TIMELINE_MODE_SMART_RENDER option. > > However in the logs I see that vorbisdec, vorbisenc, > audiorate, > > audioresample, audioconvert are still being created. > > Probably there is a bug in GES and the decode-encode cycle > is still > > being done, even when smart render is enabled. > > Can somebody pls let me know if this is a bug or if there > is > > something wrong in the code. > > Thanks. > > --vineeth > > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |