Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added artifacts/videos/imagefiles_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artifacts/videos/imagefiles_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artifacts/videos/video-h265-flac.mp4
Binary file not shown.
Binary file added artifacts/videos/video-h265-mp3.mp4
Binary file not shown.
10 changes: 6 additions & 4 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ SAMPLE_APPS=(
# "gst-appsink-example"
"gst-sample-apps-utils"
"gst-camera-single-stream-example"
"gst-multi-stream-example"
# "gst-snapshot-stream-example"
# "gst-add-remove-streams-runtime"
# "gst-add-streams-as-bundle-example"
"gst-multi-camera-example"
# "gst-ai-classification"
# "gst-ai-face-detection"
# "gst-camera-single-stream-example"
# "GstD-camera-single-stream-example"
# "gst-video-playback-example"
# "gst-video-transcode-example"
)
Expand All @@ -41,7 +42,7 @@ show_help() {
echo " -l, --list List available sample apps"
echo
echo "To edit the sample app list:"
echo " - For C sample apps, edit SAMPLE_APPS in this script"
echo " - For C/C++ sample apps, edit SAMPLE_APPS in this script"
echo " - For Python sample apps, edit gst-plugins-imsdk/gst-python-examples/CMakeLists.txt"
echo
echo "Available sample apps:"
Expand Down Expand Up @@ -103,7 +104,7 @@ function qimsdk-cmake-configure() {
local CMAKE_CUSTOM_CONFIG_FLAGS=("$@")

(
export CFLAGS="-mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -pipe"
export CFLAGS="-mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -pipe ${EXTRA_CFLAGS:-}"
export CXXFLAGS="${CFLAGS} ${EXTRA_CXXFLAGS:-}"

local CMAKE_FLAGS=(
Expand Down Expand Up @@ -201,6 +202,7 @@ function qimsdk-build-sample-apps() {
"${INSTALL_LIBDIR}/libgstappsutils.so"* \
"${SYSROOT_LIBDIR}/" || return 1
else
EXTRA_CFLAGS="-I${SYSROOT_INCDIR}" \
EXTRA_CXXFLAGS="-I${SYSROOT_INCDIR}" \
qimsdk-cmake-build "${REPO_PATH}/gst-sample-apps/${APP}" || return 1
fi
Expand Down
4 changes: 4 additions & 0 deletions scripts/download_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ main() {
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/video1.mp4" "${outputmediapath}/"
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/video-flac.mp4" "${outputmediapath}/"
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/video-mp3.mp4" "${outputmediapath}/"
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/video-h265-mp3.mp4" "${outputmediapath}/"
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/video-h265-flac.mp4" "${outputmediapath}/"
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/imagefiles_1.jpg" "${outputmediapath}/"
download_file "https://raw.githubusercontent.com/quic/sample-apps-for-qualcomm-linux/refs/heads/main/artifacts/videos/imagefiles_2.jpg" "${outputmediapath}/"
fi

if [ "$version" == "GA1.3-rel" ]; then
Expand Down