problem with gst_parse_launch() function

Stefan Sauer ensonic at hora-obscura.de
Sun Mar 2 12:27:57 PST 2014


On 03/02/2014 09:11 AM, d wrote:
> Hi stefan,
>
> you right, I fixed the pcapc part, 
> this is the new pipeline:
>
> pipeline = gst_parse_launch ("filesrc name=my_filesrc ! pcapparse
> src-port=58694, caps=application/x-rtp, payload=(int)96,
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264  !
> application/x-rtp, payload=(int)96, media=(string)video,
> clock-rate=(int)90000, encoding-name=(string)H264  ! rtph264depay !
> video/x-h264, width=320, height=240, framerate=(fraction)30/1 ! queue !
> decodebin2 ! autovideosink", NULL);
>
> filesrc = gst_bin_get_by_name (GST_BIN (pipeline), "my_filesrc");
>  
> g_object_set(G_OBJECT(filesrc),"location","C:\\Users\\user\\Desktop\\load.pcap
> ",NULL);
>
>
> an dthis is the error I get:
>
>
> ** (basic-tutorial-1.exe:5240): CRITICAL **: validate_data: assertion `data
> != N
> ULL' failed
My guess is that the pcap file is corrupt. Under linux I would run:
G_DEBUG="fatal_criticals" gdb ./myapp
run it and when the apps gets terminated at the error, type 'bt' to get
a backtrace. This would tell where the assertion fired.
I did a quick grep over the gstreamer sources and could not find a
validate_data() function though. is this in your own code?

Stefan
>
>
> I don't understand what "data" it means.
> any ideas..?
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/problem-with-gst-parse-launch-function-tp4665561p4665642.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list