Caps Do Not Completely Specify the Output Format

Matthew Waters ystreet00 at gmail.com
Thu Oct 29 03:12:57 UTC 2020


You may need a videoconvert/videoscale/etc chain if your chosen sink 
doesn't like the video format that the decoders produce

On 29/10/20 1:12 pm, RedMarsBlueMoon wrote:
> Hi and thanks for the suggestion!
> I ran:
>
>> gst-launch-1.0 -v -m filesrc location=/home/pi/Videos/mulan.h264 !
>> h264parse ! queue ! v4l2h264dec ! queue ! autovideosink
> but it also didn't work and I got output ending with:
>
> Got message #54 from element "h264parse0" (error): 0:00:01.320284179  8828
> 0x16e96a0 WARN               structure
> gststructure.c:1832:priv_gst_structure_append_to_gstring: No value transform
> to serialize field 'gerror' of type 'GError'
> GstMessageError, gerror=(GError)NULL,
> debug=(string)"gstbaseparse.c\(3611\):\ gst_base_parse_loop\ \(\):\
> /GstPipeline:pipeline0/GstH264Parse:h264parse0:\012streaming\ stopped\,\
> reason\ not-negotiated\ \(-4\)", details=(structure)"details\,\
> flow-return\=\(int\)-4\;";
> ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: Internal
> data stream error.
> Additional debug info:
> gstbaseparse.c(3611): gst_base_parse_loop ():
> /GstPipeline:pipeline0/GstH264Parse:h264parse0:
> streaming stopped, reason not-negotiated (-4)
>
>
> I tried swapping the decoder for 'avdec_h264' with no luck. I also tried
> with the pre-muxed video file plus another .h264 file that is also correct.
>
> Btw, this is the output of doing,
>
> ffprobe /home/pi/Videos/mulan.h264
>
> [h264 @ 0x18e2a00] Stream #0: not enough frames to estimate rate; consider
> increasing probesize
> Input #0, h264, from '/home/pi/Videos/mulan.h264':
>    Duration: N/A, bitrate: N/A
>      Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive),
> 1920x804 [SAR 1:1 DAR 160:67], 90k tbr, 1200k tbn, 180k tbc
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201029/81f49dea/attachment.sig>


More information about the gstreamer-devel mailing list