Migration from 1.2.3 to 1.6.1

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Migration from 1.2.3 to 1.6.1

BogdanS
I have some app with simple pipeline
Appsrc->tee->queue->pcapparse->h264depay_>h264dec->aspectratiocrop->h264enc->filesink;

This app was working well on gstreamer 1.2.3.

Now for some reasons I need to use gstreamer 1.6.1. When I try to run this app-> state is always READY.

What I need to change/add? Some suggestions?
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

Sebastian Dröge-3
On Tue, 2017-01-31 at 04:00 -0800, BogdanS wrote:

> I have some app with simple pipeline
> Appsrc->tee->queue->pcapparse->h264depay_>h264dec->aspectratiocrop-
> >h264enc->filesink;
>
> This app was working well on gstreamer 1.2.3.
>
> Now for some reasons I need to use gstreamer 1.6.1. When I try to run
> this
> app-> state is always READY.
>
> What I need to change/add? Some suggestions?
I'm not aware of any specific changes causing this, but when you're
upgrading anyway you might as well upgrade to 1.10.3, which is the
latest stable release. 1.6 is already quite old again.

You'll have to provide some more details so we can help you, like a
debug log at least and what your application is exactly doing. Ideally
a minimal testcase that can reproduce your problem.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

BogdanS
Hi Sebastian. Thank you for fast response.
I need 1.6.1 because it's last version that works on xp.
My app makes convert from pcap to avi.
Here two logs GST_DEBUG=5 of one seconds convert. One on 1.2.3 second on 1.6.1.

on 1.2.3 Everything works well avi size growing.
on 1.6.1 Avi up to end is 0bytes size and in the and it's 856 bytes.

http://rgho.st/7M928PZKw
http://rgho.st/6VJHt7F5m

Can you tell me something from this logs?
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

BogdanS
added  GST_DEBUG_GRAPH_SHOW_STATES  picture


http://rgho.st/68jGlLLL7
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

Nicolas Dufresne-5
Le mardi 31 janvier 2017 à 08:11 -0800, BogdanS a écrit :
> added  GST_DEBUG_GRAPH_SHOW_STATES  picture
>
>
> http://rgho.st/68jGlLLL7

You have rtph264depay twice, that can't work (even on 1.2). For the
reference, the mentioned pipeline as refered by this links is:

appsrc ! tee ! queue ! pcapparse ! rtph264depay ! rtph264depay ! avdec_h264 ! aspectratiocrop ! x264enc ! avimux ! filesink

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

BogdanS
Don't pay any attention for rtph264depay (My paint skilz) There is only one in pipeline.  And I still have same problem. Now I will try to found last version from 1.2.3 that my app is works with. I think it will help to understand what part was changed per version and what caused this.
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

BogdanS
Ok. App works up to gstreamer 1.5.2, with next version-1.5.90 it's not works.
Release notes for 1.5.90

746385 : task: add function guards for gst_task_set_lock()
746431 : gsttask: function gst_task_join should do the argument verification before accessing GstTaskPrivate
746439 : task: guard against NULL task function in gst_task_new()
748643 : gstpad: Add a new GST_PROBE_HANDLED return value for probes
749590 : protection_meta: implement transform function
750149 : queuearray: allow storing of structs in addition to pointers (for GQueue optimisation)
750783 : baseparse: reverse playback in pull mode
751622 : test_ABI: failed ABI check
751628 : tests: caps: test_intersect_flagset failure
751712 : buffer: gst_buffer_copy_into() should probably not copy GST_META_FLAG_POOLED metadata
751819 : basesink: Shouldn't drop buffer when sync=false
751840 : inputselector: unnecessary check is always true
751881 : memory: Add missing field initializers to GstMapInfo
751916 : Add GstHarness test framework
752055 : identity: invalid read when unscheduling a gst_clock_id_wait
752092 : baseparse: Passes bogus buffer durations to subclass
752116 : adapter: failure of gst_adapter_get_(buffer_)list
752123 : harness: don't run code inside g_assert()
752493 : harness: Improve detection of element type
752494 : harness: Forward sticky events to sink harness
752498 : GstHarness improvements
752623 : concat: Test pipeline with uridecodebin and concat freezes sometimes when setting pipeline to state NULL
752662 : registry: Add plugins to the registry we are loading and not default one
752746 : harness: allow full control over event forwarding
752800 : basetransform: may return not-negotiation on shutdown
753011 : queue2: can not update upstream_size with valid data
753151 : gstpad: fix invalid object unref
753338 : value: free caps during failure
753455 : datetime: allow passing just a time to gst_date_time_new_from_iso8601_string() and default to " today " as date then
753538 : basetransform: remove unreachable return statement
753623 : pad: implement default handling of accept-caps using the template caps


Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

Nirbheek Chauhan
On Thu, Feb 2, 2017 at 3:36 PM, BogdanS <[hidden email]> wrote:
> Ok. App works up to gstreamer 1.5.2, with next version-1.5.90 it's not works.
> Release notes for 1.5.90
>

Could you do a git bisect between those two tags and isolate the exact commit?

> 746385 : task: add function guards for gst_task_set_lock()
> 746431 : gsttask: function gst_task_join should do the argument verification
> before accessing GstTaskPrivate
> 746439 : task: guard against NULL task function in gst_task_new()
> 748643 : gstpad: Add a new GST_PROBE_HANDLED return value for probes
> 749590 : protection_meta: implement transform function
> 750149 : queuearray: allow storing of structs in addition to pointers (for
> GQueue optimisation)
> 750783 : baseparse: reverse playback in pull mode
> 751622 : test_ABI: failed ABI check
> 751628 : tests: caps: test_intersect_flagset failure
> 751712 : buffer: gst_buffer_copy_into() should probably not copy
> GST_META_FLAG_POOLED metadata
> 751819 : basesink: Shouldn't drop buffer when sync=false
> 751840 : inputselector: unnecessary check is always true
> 751881 : memory: Add missing field initializers to GstMapInfo
> 751916 : Add GstHarness test framework
> 752055 : identity: invalid read when unscheduling a gst_clock_id_wait
> 752092 : baseparse: Passes bogus buffer durations to subclass
> 752116 : adapter: failure of gst_adapter_get_(buffer_)list
> 752123 : harness: don't run code inside g_assert()
> 752493 : harness: Improve detection of element type
> 752494 : harness: Forward sticky events to sink harness
> 752498 : GstHarness improvements
> 752623 : concat: Test pipeline with uridecodebin and concat freezes
> sometimes when setting pipeline to state NULL
> 752662 : registry: Add plugins to the registry we are loading and not
> default one
> 752746 : harness: allow full control over event forwarding
> 752800 : basetransform: may return not-negotiation on shutdown
> 753011 : queue2: can not update upstream_size with valid data
> 753151 : gstpad: fix invalid object unref
> 753338 : value: free caps during failure
> 753455 : datetime: allow passing just a time to
> gst_date_time_new_from_iso8601_string() and default to " today " as date
> then
> 753538 : basetransform: remove unreachable return statement
> 753623 : pad: implement default handling of accept-caps using the template
> caps
>
>
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Migration-from-1-2-3-to-1-6-1-tp4681664p4681686.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Migration from 1.2.3 to 1.6.1

BogdanS
Sorry. Problem was in another side of pipeline where filesrc->pcapparse->appsrc.

I taked libgstpcappsrse.dll from folder of gstreamer 1.2.3 and replaced this file in folder of gstreamer 1.6.1

And my apps works. Thanks for help.