Avimux refused caps video/x-h264 [simplified]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Avimux refused caps video/x-h264 [simplified]

William Salibrici

Hello,

I simplified the receiver pipeline from my original post [7/12/16] that demonstrates the ‘avimux refused caps’ issue. My focus now is just the video leg and anyone should be able to easily duplicate this problem. Both of my development machines are windows 7, 64 bit and I’m using GStreamer 1.8.1 with your windows pre-built binaries.

Here is the simplified receiver pipeline that fails. The pipeline starts ok and runs for a little bit but it eventually fails with the ‘not negotiated’ error.

udpsrc address="192.168.1.101"
caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,payload=96" ! rtph264depay ! h264parse ! avimux ! filesink location= C:/my/movie.avi sync=true

 

Here is the sender pipeline, run on a separate machine. Pipeline starts ok and runs without errors.

videotestsrc is-live=TRUE ! videoconvert ! videorate ! openh264enc ! rtph264pay !
udpsink clients="192.168.1.101:5004"

 

The attached debug log for the simplified receiver pipeline that fails was obtained with: GST_DEBUG=2,*udp*:6,*avi*:6,*h264*:6,*caps*:6. Line 114 of the file shows the ‘avimux refused caps’ problem.

Here is a similar receiver pipeline [just displays the video] that works ok with the sender above:

udpsrc address="192.168.1.101"
caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,payload=96" ! rtph264depay ! h264parse ! openh264dec ! videoconvert ! d3dvideosink

 

Here is another similar pipeline for which avimux works ok, but without the rtph264pay/ rtph264depay elements. The standard Windows media player plays this avi file ok.

videotestsrc is-live=TRUE ! videoconvert ! videorate ! openh264enc ! h264parse ! avimux ! filesink location= C:/my/movie.avi

 

I’m using standard Gstreamer elements in a simple receiver pipeline that should just work. Perhaps I have them connected improperly although I don’t get any errors for pipeline startup. Any ideas to resolve this ‘avimux refused caps’ issue?

Any help would be much appreciated.

Thank you,

Bill

 


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

debug-2.log (31K) Download Attachment