Gstreamer no faac element

hongyuanlu hongyuanlu at outlook.com
Wed Jun 7 12:21:48 UTC 2017


VIDEO_SOURCE="v4l2src device=/dev/video0"
VIDEO_SOURCE_FORMAT="video/x-raw, format=I420, width=1280, height=720,
framerate=30/1"
VIDEO_ENC="omxh264enc ! h264parse"
AUDIO_SOURCE="alsasrc device=hw:0"
AUDIO_SOURCE_FORMAT="audio/x-raw, format=S16LE, rate=48000, channels=2"
AUDIO_ENC="faac ! aacparse"
MUXER="qtmux"
SINK="filesink location=sample.mp4"

timeout -s INT 10 gst-launch-1.0 -v -e \
${VIDEO_SOURCE} ! ${VIDEO_SOURCE_FORMAT} ! ${VIDEO_ENC} ! queue ! qtmux0. \
${AUDIO_SOURCE} ! ${AUDIO_SOURCE_FORMAT} ! ${AUDIO_ENC} ! queue ! qtmux0. \
${MUXER} \
! ${SINK}

I am using this code to store video and audio into a single file, however,
it does not work since there is no faac element. 

I am working on Raspbian kernel version 4.9. Is there any advice against it?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-no-faac-element-tp4683228.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list