Hi all,
I downloaded OSSBuild 0.10.6 using it under windows. I have in a Linux PC the following pipe gst-launch -v gstrtpbin v4l2src ! ! video/x-raw-yuv,width=320,height=240, framerate=15/1 ! videorate ! ffmpegcolorspace ! x264enc byte-stream=true bitrate=128 ! rtph264pay pt=99 ! udpsink port=5000 host=192.168.100.194 In reception I use a java program using java-gstreamer 1.4 in order to decode the stream and visualize it in swing videocomponent. In reception the pipe is gst-launch udpsrc caps=application/x-rtp,media=video,clock-rate=90000, encoding- name=H264 port=5000 ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! autovideosink If I start first the java program and after the send pipe on linux the program works well although sometimes it crashes saying that there is a problem on lib avcodec. If I start the Linux pipe and after the java program, the video isn't fluent and in the console I can see 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: non- existing PPS referenced 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: non- existing PPS 0 referenced 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: decode_slice_header error 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: no frame! 0:00:04.687500000 3680 033F3030 ERROR ffmpeg .:0:: non- existing PPS referenced 0:00:04.687500000 3680 033F3030 ERROR ffmpeg .:0:: non- existing PPS 0 referenced 0:00:04.687500000 3680 033F3030 ERROR ffmpeg .:0:: decode_slice_header error The same code instead works well without any problem under Linux, so the problem is related to windows OSSBuild library. How I can solve it? Thanks in advance and have a nice day G.. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I think the problem is in rtph264depay that doesn't work well on
windows, look at the following bug: https://bugzilla.gnome.org/show_bug.cgi?id=633831 in you are on windows xp you should see a crash too, the crash is not present on windows 7 Il giorno gio, 24/02/2011 alle 15.10 +0100, [hidden email] ha scritto: > Hi all, > I downloaded OSSBuild 0.10.6 using it under windows. > I have in a Linux PC the following pipe > > gst-launch -v gstrtpbin v4l2src ! ! video/x-raw-yuv,width=320,height=240, > framerate=15/1 ! videorate ! ffmpegcolorspace ! x264enc byte-stream=true > bitrate=128 ! rtph264pay pt=99 ! udpsink port=5000 host=192.168.100.194 > > In reception I use a java program using java-gstreamer 1.4 in order to decode > the stream and visualize it in swing videocomponent. In reception the pipe is > > gst-launch udpsrc caps=application/x-rtp,media=video,clock-rate=90000, > encoding- > name=H264 port=5000 ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! > autovideosink instead of autovideosink try: d3dvideosink sync=false > > If I start first the java program and after the send pipe on linux the > program > works well although sometimes it crashes saying that there is a problem on > lib > avcodec. If I start the Linux pipe and after the java program, the video > isn't > fluent and in the console I can see > > 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: non- > existing PPS referenced > 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: non- > existing PPS 0 referenced > 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: > decode_slice_header error > 0:00:04.671875000 3680 033F3030 ERROR ffmpeg .:0:: no > frame! > 0:00:04.687500000 3680 033F3030 ERROR ffmpeg .:0:: non- > existing PPS referenced > 0:00:04.687500000 3680 033F3030 ERROR ffmpeg .:0:: non- > existing PPS 0 referenced > 0:00:04.687500000 3680 033F3030 ERROR ffmpeg .:0:: > decode_slice_header error > based on my experience you should see this error after a while in any case and this will impact on the quality of the video you see > > The same code instead works well without any problem under Linux, so the > problem is related to windows OSSBuild library. How I can solve it? I think the problem is gstreamer on windows and not OSSBuild, Nicola > > > Thanks in advance and have a nice day > G.. > _______________________________________________ > 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 |