qtmux fails with crypto module

Hallo32 Hallo32 at gmx.net
Fri Jul 15 08:30:50 UTC 2016





Hello list,

if I add the encryption and decryption to the working gstreamer pipeline 
bellow.

    gst-launch-1.0 filesrc location=big_buck_bunny_1080p_h264.mov
    typefind=true ! qtdemux name=demux demux.video_0   ! queue   !
    video/x-h264  ! h264parse ! mux.  demux.audio_0   ! queue  !
    audio/mpeg  ! aacparse  ! queue  ! mux. mpegtsmux name=mux  !
    tsdemux ! video/x-h264 ! queue ! vpudec frame-drop=false !
    imxv4l2sink name=videosink force-aspect-ratio=true
    max-lateness=1000000 sync=true


    gst-launch-1.0 filesrc location=big_buck_bunny_1080p_h264.mov
    typefind=true ! crypto mode=enc ! crypto mode=dec ! qtdemux  
    name=demux demux.video_0 ! queue   ! video/x-h264  ! h264parse  !
    mux.  demux.audio_0   ! queue  ! audio/mpeg  ! aacparse  !  queue  !
    mux. mpegtsmux name=mux  ! tsdemux ! video/x-h264 ! queue ! vpudec
    frame-drop=false ! imxv4l2sink name=videosink
    force-aspect-ratio=true max-lateness=1000000 sync=true


The command fails with

    0:00:00.089051186  1047  0x1838960 LOG                    qtmux
    /bamboo/agent-home/xml-data/build-dir/MSSNIC-GR-JOB1/yocto/build.imx6qsabreauto-avb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.1-r0/gst-plugins-good-1.4.1/gst/isomp4/gstqtmux.c:3704:gst_qt_mux_register:
    Registering muxers
    0:00:00.091218369  1047  0x1838960 LOG                    qtmux
    /bamboo/agent-home/xml-data/build-dir/MSSNIC-GR-JOB1/yocto/build.imx6qsabreauto-avb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.1-r0/gst-plugins-good-1.4.1/gst/isomp4/gstqtmux.c:3742:gst_qt_mux_register:
    Finished registering muxers
    0:00:00.091331379  1047  0x1838960 LOG                    qtmux
    /bamboo/agent-home/xml-data/build-dir/MSSNIC-GR-JOB1/yocto/build.imx6qsabreauto-avb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.1-r0/gst-plugins-good-1.4.1/gst/isomp4/gstqtmux.c:3748:gst_qt_mux_register:
    Registering tags
    0:00:00.091419719  1047  0x1838960 LOG                    qtmux
    /bamboo/agent-home/xml-data/build-dir/MSSNIC-GR-JOB1/yocto/build.imx6qsabreauto-avb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.1-r0/gst-plugins-good-1.4.1/gst/isomp4/gstqtmux.c:3754:gst_qt_mux_register:
    Finished registering tags
    ====== IMXV4L2SINK: 4.0.3 build on Mar 31 2016 12:58:06. ======
    Setting pipeline to PAUSED ...
    display(/dev/fb0) resolution is (1920x1080).
    [INFO]    Product Info: i.MX6Q/D/S
    ====== VPUDEC: 4.0.3 build on Mar 31 2016 12:58:10. ======
         wrapper: 1.0.58 (VPUWRAPPER_ARM_LINUX Build on Mar 31 2016
    12:57:32)
         vpulib: 5.4.28
         firmware: 3.1.1.46063
    Pipeline is PREROLLING ...
    ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: This
    file is incomplete and cannot be played.
    Additional debug info:
    /bamboo/agent-home/xml-data/build-dir/MSSNIC-GR-JOB1/yocto/build.imx6qsabreauto-avb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.1-r0/gst-plugins-goo


Do you have an idea why it fails and how it can be fixed?
Did I miss any important information?


GStreamer Version:
gst-launch-1.0 --version
gst-launch-1.0 version 1.4.1
GStreamer 1.4.1
Unknown package origin

Source gst-crypto: https://github.com/RidgeRun/gst-crypto Branch: 
release-1.0

Best regards




More information about the gstreamer-devel mailing list