shm elements : Stream corruption
adrien_sch
adrien.schwartzentruber at gmail.com
Tue Mar 11 11:50:09 PDT 2014
Hello guys,
I want to share a encoded stream between different process but unfortunately
it seems that the stream is corrupted between the two process, or I'm doing
something wrong, or it is simply not possible (but nothing is impossible :)
). Other information : I could observe the same thing with a raw image
stream when my platform is overloaded (cpu near 100%).
I'm stuck, so thx a lot for your help.
Video sample :
http://www.axis.com/movies/products/p5534_low.mp4
Provider side :
gst-launch-1.0 filesrc location=/home/memphis/samples/axis_p5534_mpeg4.mp4 !
qtdemux ! mpeg4videoparse ! shmsink socket-path=/tmp/test_socket
wait-for-connection=FALSE shm-size=1000000 sync=TRUE
enable-last-sample=FALSE async=FALSE
Client side :
gst-launch-1.0 shmsrc socket-path=/tmp/test_socket is-live=TRUE !
video/mpeg, mpegversion=\(int\)4, systemstream=\(boolean\)false,
profile=\(string\)simple, level=\(string\)1,
codec_data=\(buffer\)000001b001000001b58913000001000000012000c48d8800cd1e04439443000001b24c61766335312e34302e34,
width=\(int\)960, height=\(int\)540, pixel-aspect-ratio=\(fraction\)1/1,
parsed=\(boolean\)true ! decodebin ! videoconvert ! xvimagesink sync=FALSE
async=FALSE
Gstreamer debug output :
0:00:00.098379327 24167 0x1cd9190 ERROR libav :0::
warning: first frame is no keyframe
0:00:00.098418298 24167 0x1cd9190 WARN libav
gstavviddec.c:688:gst_ffmpegviddec_get_buffer:<avdec_mpeg4-0> already
alloc'ed output buffer for frame
0:00:00.098432002 24167 0x1cd9190 ERROR libav :0::
get_buffer() failed (-1 0 (nil))
0:00:00.098461756 24167 0x1cd9190 WARN libav
gstavviddec.c:1320:gst_ffmpegviddec_frame:<avdec_mpeg4-0> avdec_mpeg4:
decoding error (len: -1, have_data: 1)
0:00:00.162553625 24167 0x1cd9190 ERROR libav :0::
ac-tex damaged at 59 33
0:00:00.162627415 24167 0x1cd9190 ERROR libav :0::
Error at MB: 2072
0:00:00.162777782 24167 0x1cd9190 ERROR libav :0::
marker does not match f_code
0:00:00.241265907 24167 0x1cd9190 ERROR libav :0::
ac-tex damaged at 59 33
0:00:00.241338865 24167 0x1cd9190 ERROR libav :0::
Error at MB: 2072
0:00:00.241440723 24167 0x1cd9190 ERROR libav :0::
marker does not match f_code
0:00:00.320947336 24167 0x1cd9190 ERROR libav :0::
ac-tex damaged at 59 33
0:00:00.321020642 24167 0x1cd9190 ERROR libav :0::
Error at MB: 2072
0:00:00.321055952 24167 0x1cd9190 ERROR libav :0::
marker does not match f_code
0:00:00.321158437 24167 0x1cd9190 ERROR libav :0::
marker does not match f_code
0:00:00.440814670 24167 0x1cd9190 ERROR libav :0::
ac-tex damaged at 59 33
0:00:00.440922875 24167 0x1cd9190 ERROR libav :0::
Error at MB: 2072
0:00:00.440959758 24167 0x1cd9190 ERROR libav :0::
marker does not match f_code
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/shm-elements-Stream-corruption-tp4665898.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list