Gstreamer no faac element

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer no faac element

hongyuanlu
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?
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer no faac element

Yasushi SHOJI-2
Hi,

On Wed, Jun 7, 2017 at 9:21 PM, hongyuanlu <[hidden email]> wrote:
> 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?

Debian currently doesn't support faac.
Read: /usr/share/doc/gstreamer1.0-plugins-bad/README.Debian

You can always build it by your self.
-- 
                yashi

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