Update: The simple Gstreamer pipeline works after restarting the Jetson.
Unfortunately I’m not sure which combination of changes made it work. It could have been the restart itself, or the restart combined with a subset of the newly installed packages.
[i]0:00:00.038626120
15239
0x516590
WARN
omx gstomx.c:2839:plugin_init:
Failed to load configuration file:
Valid key file could not be found in search dirs
(searched in:
/home/ubuntu/.config:
/etc/xdg/xdg-ubuntu:
/usr/share/upstart/xdg:
/etc/xdg
as per GST_OMX_CONFIG_DIR environment variable,
the xdg user config directory (or XDG_CONFIG_HOME)
and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED …
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB
and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB
and Mjstreaming[/i]
Notes:
No overlay appears. I sent a keyboard interrupt to stop the process.
I formatted the log with newlines.
I used export GST_DEBUG=3 to view the WARN message.
The command, sudo find / -name “gstomx”
yields: ./usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstomx.so
but not “gstomx.c” or anything else.
VLC isn’t working either (I’m not sure it ever did): “Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingBus error”
Totem isn’t working either (I’m not sure it every did) (posted long debug info in a reply) (update: totem works after installing gstreamer1.0-libav, but VLC and the simple Gstreamer pipeline still don’t work)
Installing gstreamer1.0-libav makes totem work, but VLC and the simple Gstreamer pipeline still don’t work. The simple pipeline is mentioned in the original post.
Detailed information:
ubuntu@mwk-jetson:~/Downloads$ sudo apt-get install gstreamer1.0-libav
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed: libavfilter-ffmpeg5 libavresample-ffmpeg2 libbs2b0 libflite1 libsodium18 libzmq5
The following NEW packages will be installed: gstreamer1.0-libav libavfilter-ffmpeg5 libavresample-ffmpeg2 libbs2b0 libflite1 libsodium18 libzmq5
0 upgraded, 7 newly installed, 0 to remove and 238 not upgraded.
Need to get 0 B/13.4 MB of archives.
After this operation, 29.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package libavresample-ffmpeg2:arm64.
(Reading database … 208357 files and directories currently installed.)
Preparing to unpack …/libavresample-ffmpeg2_7%3a2.8.8-0ubuntu0.16.04.1_arm64.deb …
Unpacking libavresample-ffmpeg2:arm64 (7:2.8.8-0ubuntu0.16.04.1) …
Selecting previously unselected package libbs2b0:arm64.
Preparing to unpack …/libbs2b0_3.1.0+dfsg-2.2_arm64.deb …
Unpacking libbs2b0:arm64 (3.1.0+dfsg-2.2) …
Selecting previously unselected package libflite1:arm64.
Preparing to unpack …/libflite1_2.0.0-release-1_arm64.deb …
Unpacking libflite1:arm64 (2.0.0-release-1) …
Selecting previously unselected package libsodium18:arm64.
Preparing to unpack …/libsodium18_1.0.8-5_arm64.deb …
Unpacking libsodium18:arm64 (1.0.8-5) …
Selecting previously unselected package libzmq5:arm64.
Preparing to unpack …/libzmq5_4.1.4-7_arm64.deb …
Unpacking libzmq5:arm64 (4.1.4-7) …
Selecting previously unselected package libavfilter-ffmpeg5:arm64.
Preparing to unpack …/libavfilter-ffmpeg5_7%3a2.8.8-0ubuntu0.16.04.1_arm64.deb …
Unpacking libavfilter-ffmpeg5:arm64 (7:2.8.8-0ubuntu0.16.04.1) …
Selecting previously unselected package gstreamer1.0-libav:arm64.
Preparing to unpack …/gstreamer1.0-libav_1.8.1-1~ubuntu1_arm64.deb …
Unpacking gstreamer1.0-libav:arm64 (1.8.1-1~ubuntu1) …
Processing triggers for libc-bin (2.23-0ubuntu3) …
Setting up libavresample-ffmpeg2:arm64 (7:2.8.8-0ubuntu0.16.04.1) …
Setting up libbs2b0:arm64 (3.1.0+dfsg-2.2) …
Setting up libflite1:arm64 (2.0.0-release-1) …
Setting up libsodium18:arm64 (1.0.8-5) …
Setting up libzmq5:arm64 (4.1.4-7) …
Setting up libavfilter-ffmpeg5:arm64 (7:2.8.8-0ubuntu0.16.04.1) …
Setting up gstreamer1.0-libav:arm64 (1.8.1-1~ubuntu1) …
Processing triggers for libc-bin (2.23-0ubuntu3) …
ubuntu@mwk-jetson:~/Downloads$ totem sample.mp4 # successfully plays the video
0:00:01.296878419 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.297000397 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.408868245 22471 0x5580e0d290 WARN basesrc gstbasesrc.c:3489:gst_base_src_start_complete: pad not activated yet
0:00:01.409948754 22471 0x5580e0d290 WARN basesrc gstbasesrc.c:3489:gst_base_src_start_complete: pad not activated yet
0:00:01.410883013 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.411081709 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.415161609 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.415378742 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.481646815 22471 0x7f600f2b70 WARN qtdemux qtdemux_types.c:222:qtdemux_type_get: unknown QuickTime node type iods
0:00:01.481849521 22471 0x7f600f2b70 WARN qtdemux qtdemux.c:2642:qtdemux_parse_trex: failed to find fragment defaults for stream 1
0:00:01.482011446 22471 0x7f600f2b70 WARN qtdemux qtdemux.c:2642:qtdemux_parse_trex: failed to find fragment defaults for stream 2
0:00:01.482633522 22471 0x7f600f2b70 WARN basesrc gstbasesrc.c:2396:gst_base_src_update_length: processing at or past EOS
0:00:01.652753186 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.653019641 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.656111688 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.656351424 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.656999177 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.657193706 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.658995820 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.659311650 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.695308726 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.695382944 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.695421329 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.695460912 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.695495547 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
0:00:01.695662993 22471 0x5580e0d290 FIXME bin gstbin.c:4149:gst_bin_query: implement duration caching in GstBin again
Update: The simple Gstreamer pipeline works after restarting the Jetson.
Unfortunately I’m not sure which combination of changes made it work. It could have been the restart itself, or the restart combined with a subset of the following newly installed packages.
Old:
[b]The simple Gstreamer pipeline still does not display the on-board camera stream, even after installing the following packages:[/b]
gstreamer1.0-plugins-good
gstreamer1.0-plugins-good-dbg
gstreamer1.0-plugins-base
gstreamer1.0-plugins-base-apps
gstreamer1.0-plugins-base-dbg
gstreamer1.0-plugins-ugly
gstreamer1.0-plugins-ugly-dbg
gstreamer1.0-tools
gstreamer-qapt
gstreamer-tools
gstreamer1.0-packagekit
gstreamer1.0-nice
gstreamer1.0-libav-dbg
gstreamer1.0-clutter
gstreamer1.0-dvswitch
I attempted to install these, but received “Unable to fetch some archives” or similar:
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-bad-dbg
gstreamer1.0-plugins-bad-faad
gstreamer1.0-plugins-bad-videoparsers
gstreamer1.0-rtsp
gstreamer1.0-rtsp-dbg
gstreamer1.0-vaapi
These were already installed:
gstreamer1.0-plugins-ugly-amr
gstreamer1.0-x
gstreamer1.0-libav
gstreamer1.0-alsa
gstreamer1.0-clutter-3.0