社区首页 >问答首页 >GStreer1.0缺少元素:高通v4l2h264enc RB5

GStreer1.0缺少元素:高通v4l2h264enc RB5
EN

Stack Overflow用户
提问于 2022-08-22 04:22:10
回答 1查看 228关注 0票数 1

在开始之前,我知道我要问的问题几乎是一样的,但由于这个问题几乎是董事会的具体问题,我仍然会问。

我有一个高通RB5机器人视觉工具包,其中有ov9282相机。我配置了一个更轻的Ubuntu18.04,内核版本为5.15.0(5.15.0-qcomtt-arm64)。我已经从源代码构建了gstreamer1.0(1.20.2)。我使用的介子命令:

代码语言:javascript
代码运行次数:0
复制
meson configure build -Dgst-plugins-bad:v4l2codecs=enabled -Dgst-plugins-good:v4l2=enabled -Dgst-plugins-good:v4l2-gudev=enabled

正如您所看到的,我启用了所有与v4l2相关的插件和元素,而且我似乎获得了部分成功。介子之后,我执行ninja install来创建符号链接。到目前为止,我还没有遇到任何问题。当我提示gst-inspect-1.0 video4linux2时,它会显示.so文件中的元素。

代码语言:javascript
代码运行次数:0
复制
root@linaro-developer:~# gst-inspect-1.0 video4linux2
Plugin Details:
  Name                     video4linux2
  Description              elements for Video 4 Linux
  Filename                 /usr/local/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so
  Version                  1.20.2.1
  License                  LGPL
  Source module            gst-plugins-good
  Binary package           GStreamer Good Plug-ins git
  Origin URL               Unknown package origin

  v4l2deviceprovider: Video (video4linux2) Device Provider
  v4l2h264dec: V4L2 H264 Decoder
  v4l2h265dec: V4L2 H265 Decoder
  v4l2mpeg2dec: V4L2 MPEG2 Decoder
  v4l2radio: Radio (video4linux2) Tuner
  v4l2sink: Video (video4linux2) Sink
  v4l2src: Video (video4linux2) Source
  v4l2vp8dec: V4L2 VP8 Decoder
  v4l2vp9dec: V4L2 VP9 Decoder

  9 features:
  +-- 8 elements
  +-- 1 device providers

但是,在build目录中,我可以看到我需要的gstv4l2h264enc.c.o文件。

代码语言:javascript
代码运行次数:0
复制
root@linaro-developer:/home/linaro/gstreamer/build/subprojects/gst-plugins-good/sys/v4l2/libgstvideo4linux2.so.p# ls
gstv4l2.c.o        gstv4l2colorbalance.c.o    gstv4l2h263enc.c.o    gstv4l2h265enc.c.o     gstv4l2mpeg4enc.c.o  gstv4l2src.c.o    gstv4l2videoenc.c.o   gstv4l2vp9codec.c.o  tunernorm.c.o
gstv4l2allocator.c.o   gstv4l2deviceprovider.c.o  gstv4l2h264codec.c.o  gstv4l2jpegenc.c.o     gstv4l2object.c.o    gstv4l2transform.c.o  gstv4l2vidorient.c.o  gstv4l2vp9enc.c.o    v4l2-utils.c.o
gstv4l2bufferpool.c.o  gstv4l2element.c.o     gstv4l2h264enc.c.o    gstv4l2mpeg2codec.c.o  gstv4l2radio.c.o     gstv4l2tuner.c.o      gstv4l2vp8codec.c.o   tuner.c.o        v4l2_calls.c.o
gstv4l2codec.c.o       gstv4l2fwhtenc.c.o     gstv4l2h265codec.c.o  gstv4l2mpeg4codec.c.o  gstv4l2sink.c.o      gstv4l2videodec.c.o   gstv4l2vp8enc.c.o tunerchannel.c.o

此外,我查看了.so文件的内容,以确保正确构建了gstv4l2模块。输出的nm -D libgstvideo4linux2.so,我可以在文件中看到编码参数。

代码语言:javascript
代码运行次数:0
复制
U GST_CAT_DEFAULT
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 w __cxa_finalize@GLIBC_2.17
                 U __errno_location@GLIBC_2.17
                 U __getauxval@GLIBC_2.17
                 w __gmon_start__
                 U _gst_caps_features_memory_system_memory
                 U _gst_caps_type
                 U _gst_debug_category_new
                 U _gst_debug_get_category
                 U _gst_debug_min
                 U _gst_debug_register_funcptr
                 U _gst_element_error_printf
                 U _gst_fraction_range_type
                 U _gst_fraction_type
                 U _gst_int_range_type
                 U _gst_structure_type
                 U _gst_value_list_type
                 U clock_gettime@GLIBC_2.17
                 U close@GLIBC_2.17
                 U dup@GLIBC_2.17
                 U g_ascii_strcasecmp
                 U g_ascii_strdown
                 U g_ascii_strtod
                 U g_ascii_table
                 U g_ascii_tolower
                 U g_assertion_message_expr
                 U g_clear_error
                 U g_cond_broadcast
                 U g_cond_clear
                 U g_cond_init
                 U g_cond_signal
                 U g_cond_wait
                 U g_datalist_clear
                 U g_datalist_id_get_data
                 U g_datalist_id_set_data_full
                 U g_enum_register_static
                 U g_error_new_literal
                 U g_flags_register_static
                 U g_free
                 U g_get_real_time
                 U g_getenv
                 U g_idle_source_new
                 U g_intern_static_string
                 U g_list_delete_link
                 U g_list_find_custom
                 U g_list_foreach
                 U g_list_free
                 U g_list_free_full
                 U g_list_insert_sorted_with_data
                 U g_list_prepend
                 U g_list_remove
                 U g_list_reverse
                 U g_list_sort
                 U g_log
                 U g_main_context_new
                 U g_main_context_push_thread_default
                 U g_main_context_ref
                 U g_main_context_unref
                 U g_main_loop_new
                 U g_main_loop_quit
                 U g_main_loop_ref
                 U g_main_loop_run
                 U g_main_loop_unref
                 U g_malloc
                 U g_malloc0
                 U g_mutex_lock
                 U g_mutex_unlock
                 U g_object_class_install_property
                 U g_object_get
                 U g_object_new
                 U g_object_ref
                 U g_object_ref_sink
                 U g_object_set
                 U g_object_unref
                 U g_once_init_enter
                 U g_once_init_leave
                 U g_param_spec_boolean
                 U g_param_spec_boxed
                 U g_param_spec_enum
                 U g_param_spec_flags
                 U g_param_spec_int
                 U g_param_spec_string
                 U g_param_spec_uint
                 U g_path_get_basename
                 U g_quark_from_string
                 U g_quark_to_string
                 U g_queue_clear
                 U g_queue_foreach
                 U g_queue_push_tail
                 U g_rec_mutex_lock
                 U g_rec_mutex_unlock
                 U g_return_if_fail_warning
                 U g_set_error_literal
                 U g_signal_connect_data
                 U g_signal_emit
                 U g_signal_emit_by_name
                 U g_signal_handler_block
                 U g_signal_handler_disconnect
                 U g_signal_handler_unblock
                 U g_signal_new
                 U g_slice_alloc
                 U g_slice_free1
                 U g_slist_foreach
                 U g_slist_free
                 U g_slist_insert_sorted
                 U g_source_attach
                 U g_source_set_callback
                 U g_source_unref
                 U g_str_equal
                 U g_strcmp0
                 U g_strconcat
                 U g_strdup
                 U g_strdup_printf
                 U g_strerror
                 U g_thread_join
                 U g_thread_new
                 U g_type_add_interface_static
                 U g_type_check_instance_is_a
                 U g_type_check_value
                 U g_type_check_value_holds
                 U g_type_class_adjust_private_offset
                 U g_type_class_peek_parent
                 U g_type_from_name
                 U g_type_interface_peek
                 U g_type_name
                 U g_type_query
                 U g_type_register_static
                 U g_type_register_static_simple
                 U g_udev_client_new
                 U g_udev_client_query_by_subsystem
                 U g_udev_device_get_device_file
                 U g_udev_device_get_property
                 U g_udev_device_get_property_as_int
                 U g_udev_device_get_sysfs_path
                 U g_value_copy
                 U g_value_dup_string
                 U g_value_get_boolean
                 U g_value_get_enum
                 U g_value_get_int
                 U g_value_get_string
                 U g_value_get_uint
                 U g_value_init
                 U g_value_set_boolean
                 U g_value_set_enum
                 U g_value_set_flags
                 U g_value_set_int
                 U g_value_set_string
                 U g_value_set_uint
                 U g_value_take_string
                 U g_value_transform
                 U g_value_unset
                 U gst_allocator_get_type
                 U gst_atomic_queue_length
                 U gst_atomic_queue_new
                 U gst_atomic_queue_pop
                 U gst_atomic_queue_push
                 U gst_atomic_queue_unref
                 U gst_base_sink_wait_preroll
                 U gst_base_src_get_allocator
                 U gst_base_src_get_buffer_pool
                 U gst_base_src_negotiate
                 U gst_base_src_set_caps
                 U gst_base_src_set_format
                 U gst_base_src_set_live
                 U gst_base_transform_get_buffer_pool
                 U gst_base_transform_get_type
                 U gst_base_transform_is_passthrough
                 U gst_base_transform_set_passthrough
                 U gst_base_transform_set_qos_enabled
                 U gst_buffer_add_video_meta_full
                 U gst_buffer_append_memory
                 U gst_buffer_copy_into
                 U gst_buffer_copy_region
                 U gst_buffer_fill
                 U gst_buffer_get_size
                 U gst_buffer_get_video_meta
                 U gst_buffer_map
                 U gst_buffer_n_memory
                 U gst_buffer_new
                 U gst_buffer_new_allocate
                 U gst_buffer_peek_memory
                 U gst_buffer_pool_acquire_buffer
                 U gst_buffer_pool_config_add_option
                 U gst_buffer_pool_config_get_allocator
                 U gst_buffer_pool_config_get_params
                 U gst_buffer_pool_config_has_option
                 U gst_buffer_pool_config_set_allocator
                 U gst_buffer_pool_config_set_params
                 U gst_buffer_pool_config_validate_params
                 U gst_buffer_pool_get_config
                 U gst_buffer_pool_get_type
                 U gst_buffer_pool_is_active
                 U gst_buffer_pool_set_active
                 U gst_buffer_pool_set_config
                 U gst_buffer_pool_set_flushing
                 U gst_buffer_resize
                 U gst_buffer_unmap
                 U gst_caps_append
                 U gst_caps_append_structure
                 U gst_caps_append_structure_full
                 U gst_caps_can_intersect
                 U gst_caps_copy_nth
                 U gst_caps_features_copy
                 U gst_caps_features_is_any
                 U gst_caps_features_is_equal
                 U gst_caps_features_new
                 U gst_caps_fixate
                 U gst_caps_foreach
                 U gst_caps_get_features
                 U gst_caps_get_size
                 U gst_caps_get_structure
                 U gst_caps_intersect
                 U gst_caps_intersect_full
                 U gst_caps_is_any
                 U gst_caps_is_empty
                 U gst_caps_is_equal
                 U gst_caps_is_fixed
                 U gst_caps_is_subset
                 U gst_caps_is_subset_structure_full
                 U gst_caps_map_in_place
                 U gst_caps_merge
                 U gst_caps_new_empty
                 U gst_caps_normalize
                 U gst_caps_set_features
                 U gst_caps_set_value
                 U gst_caps_simplify
                 U gst_caps_truncate
                 U gst_clock_get_time
                 U gst_color_balance_channel_get_type
                 U gst_color_balance_get_type
                 U gst_core_error_quark
                 U gst_debug_log
                 U gst_device_get_type
                 U gst_device_provider_class_set_static_metadata
                 U gst_device_provider_device_add
                 U gst_device_provider_device_remove
                 U gst_device_provider_get_type
                 U gst_device_provider_register
                 U gst_dmabuf_allocator_new
                 U gst_dmabuf_memory_get_fd
                 U gst_element_class_add_pad_template
                 U gst_element_class_set_metadata
                 U gst_element_class_set_static_metadata
                 U gst_element_factory_make
                 U gst_element_get_type
                 U gst_element_message_full
                 U gst_element_post_message
                 U gst_element_register
                 U gst_fd_allocator_alloc
                 U gst_flow_get_name
                 U gst_is_dmabuf_memory
                 U gst_memory_get_sizes
                 U gst_memory_init
                 U gst_memory_is_type
                 U gst_memory_resize
                 U gst_message_new_qos
                 U gst_mini_object_copy
                 U gst_mini_object_get_qdata
                 U gst_mini_object_is_writable
                 U gst_mini_object_make_writable
                 U gst_mini_object_ref
                 U gst_mini_object_replace
                 U gst_mini_object_set_qdata
                 U gst_mini_object_steal_qdata
                 U gst_mini_object_unref
                 U gst_object_get_name
                 U gst_object_ref
                 U gst_object_ref_sink
                 U gst_object_sync_values
                 U gst_object_unref
                 U gst_pad_get_allowed_caps
                 U gst_pad_get_current_caps
                 U gst_pad_get_pad_template_caps
                 U gst_pad_get_task_state
                 U gst_pad_pause_task
                 U gst_pad_peer_query
                 U gst_pad_peer_query_caps
                 U gst_pad_query_caps
                 U gst_pad_start_task
                 U gst_pad_stop_task
                 U gst_pad_template_new
                 U gst_plugin_add_dependency
                 U gst_plugin_register_static
000000000000aa50 T gst_plugin_video4linux2_get_desc
000000000000aa60 T gst_plugin_video4linux2_register
                 U gst_poll_add_fd
                 U gst_poll_fd_ctl_pri
                 U gst_poll_fd_ctl_read
                 U gst_poll_fd_ctl_write
                 U gst_poll_fd_has_error
                 U gst_poll_fd_has_pri
                 U gst_poll_fd_init
                 U gst_poll_free
                 U gst_poll_new
                 U gst_poll_set_flushing
                 U gst_poll_wait
                 U gst_push_src_get_type
                 U gst_query_add_allocation_meta
                 U gst_query_add_allocation_param
                 U gst_query_add_allocation_pool
                 U gst_query_find_allocation_meta
                 U gst_query_get_n_allocation_params
                 U gst_query_get_n_allocation_pools
                 U gst_query_new_allocation
                 U gst_query_parse_allocation
                 U gst_query_parse_caps
                 U gst_query_parse_nth_allocation_meta
                 U gst_query_parse_nth_allocation_param
                 U gst_query_parse_nth_allocation_pool
                 U gst_query_set_caps_result
                 U gst_query_set_latency
                 U gst_query_set_nth_allocation_param
                 U gst_query_set_nth_allocation_pool
                 U gst_resource_error_quark
                 U gst_static_caps_get
                 U gst_stream_error_quark
                 U gst_structure_copy
                 U gst_structure_fixate_field
                 U gst_structure_fixate_field_nearest_fraction
                 U gst_structure_fixate_field_nearest_int
                 U gst_structure_fixate_field_string
                 U gst_structure_foreach
                 U gst_structure_free
                 U gst_structure_get_fraction
                 U gst_structure_get_int
                 U gst_structure_get_name
                 U gst_structure_get_string
                 U gst_structure_get_uint
                 U gst_structure_get_value
                 U gst_structure_has_field
                 U gst_structure_has_name
                 U gst_structure_map_in_place
                 U gst_structure_n_fields
                 U gst_structure_new
                 U gst_structure_new_empty
                 U gst_structure_nth_field_name
                 U gst_structure_remove_field
                 U gst_structure_remove_fields
                 U gst_structure_set
                 U gst_structure_set_value
                 U gst_structure_take_value
                 U gst_structure_to_string
                 U gst_type_mark_as_plugin_api
                 U gst_uri_error_quark
                 U gst_uri_handler_get_type
                 U gst_util_fraction_multiply
                 U gst_util_greatest_common_divisor
                 U gst_util_uint64_scale_int
                 U gst_value_compare
                 U gst_value_fraction_subtract
                 U gst_value_get_fraction_denominator
                 U gst_value_get_fraction_numerator
                 U gst_value_get_structure
                 U gst_value_intersect
                 U gst_value_is_fixed
                 U gst_value_list_append_and_take_value
                 U gst_value_list_append_value
                 U gst_value_list_get_size
                 U gst_value_list_get_value
                 U gst_value_set_fraction
                 U gst_value_set_fraction_range_full
                 U gst_value_set_int_range_step
                 U gst_value_set_structure
                 U gst_value_subtract
                 U gst_video_alignment_reset
                 U gst_video_calculate_display_ratio
                 U gst_video_codec_frame_unref
                 U gst_video_codec_state_ref
                 U gst_video_codec_state_unref
                 U gst_video_colorimetry_is_equal
                 U gst_video_colorimetry_to_string
                 U gst_video_decoder_drop_frame
                 U gst_video_decoder_finish_frame
                 U gst_video_decoder_get_buffer_pool
                 U gst_video_decoder_get_frame
                 U gst_video_decoder_get_oldest_frame
                 U gst_video_decoder_get_type
                 U gst_video_decoder_negotiate
                 U gst_video_decoder_proxy_getcaps
                 U gst_video_decoder_set_latency
                 U gst_video_decoder_set_output_state
                 U gst_video_decoder_set_packetized
                 U gst_video_encoder_allocate_output_buffer
                 U gst_video_encoder_finish_frame
                 U gst_video_encoder_get_frame
                 U gst_video_encoder_get_oldest_frame
                 U gst_video_encoder_get_output_state
                 U gst_video_encoder_get_type
                 U gst_video_encoder_negotiate
                 U gst_video_encoder_set_latency
                 U gst_video_encoder_set_output_state
                 U gst_video_format_to_string
                 U gst_video_frame_copy
                 U gst_video_frame_map
                 U gst_video_frame_unmap
                 U gst_video_info_align_full
                 U gst_video_info_from_caps
                 U gst_video_info_init
                 U gst_video_info_set_interlaced_format
                 U gst_video_info_to_caps
                 U gst_video_interlace_mode_to_string
                 U gst_video_meta_api_get_type
                 U gst_video_meta_get_plane_height
                 U gst_video_meta_set_alignment
                 U gst_video_orientation_get_type
                 U gst_video_sink_get_type
                 U ioctl@GLIBC_2.17
                 U memcpy@GLIBC_2.17
                 U memset@GLIBC_2.17
                 U mmap64@GLIBC_2.17
                 U munmap@GLIBC_2.17
                 U open64@GLIBC_2.17
                 U read@GLIBC_2.17
                 U stat64@GLIBC_2.33
                 U strcmp@GLIBC_2.17
                 U strcpy@GLIBC_2.17
                 U strerror@GLIBC_2.17
                 U strlen@GLIBC_2.17
                 U strncpy@GLIBC_2.17

作为最后一步,看到GStreer1.0无法找到v4l2h264enc或任何其他编码元素是令人沮丧的。输出.

代码语言:javascript
代码运行次数:0
复制
root@linaro-developer:/home/linaro/gstreamer/build/subprojects/gst-plugins-good/sys/v4l2# gst-inspect-1.0 v4l2h264enc
No such element or plugin 'v4l2h264enc'

因此,在我错过的地方,任何帮助、评论或指导都将不胜感激。

EN

回答 1

Stack Overflow用户

发布于 2022-08-22 07:11:45

查看gstreamer设置中哪些编码器当前处于活动状态:

代码语言:javascript
代码运行次数:0
复制
gst-inspect-1.0 | grep '264.*enc'

也许你可以用一个列出的编码器代替。

https://github.com/raspberrypi/linux/issues/3974看到类似的关于覆盆子Pi的问题

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73445072

复制
相关文章
网页title图标_php 数据库显示在页面并能修改
重新定义TCPDF中的K_PATH_IMAGES常量(define(‘K_PATH_IMAGES’, xxxx) , 需要定义在加载tcpdf.php 之前)
全栈程序员站长
2022/10/03
4.2K0
网页实时显示时间_html页面布局代码
桌面新建记事本,将下列代码复制粘贴,重命名后缀为.html,保存,用浏览器打开即可
全栈程序员站长
2022/10/03
4K0
网页实时显示时间_html页面布局代码
在开启了CloudFlare的页面中显示当前节点信息
正如本站底部右下角所显示的那样当前CDN节点: San Jose, CA, United States - (SJC),是不是感觉有丶炫酷?请继续往下看
yumusb
2020/08/28
5.1K0
为什么html在浏览器中不能显示图片_做html网页图片显示不出来
我遇到的问题是写了一个HTML程序,结果在网页上面不能显示,原因是图片路径放置错了。
全栈程序员站长
2022/09/20
5.8K0
为什么html在浏览器中不能显示图片_做html网页图片显示不出来
weex eros APP 如何在vue页面显示图片,循环添加多张图片显示在vue页面上
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/acoolgiser/article/details/89016852
acoolgiser
2019/04/17
2K0
Python 实战(1):在网页上显示信息
上次简单介绍了 web.py。今天先来粗略解释下那个 hello world 页面的代码: import web 导入 web.py 模块。 urls = ( '/', 'index' ) 这是指定网站 url 的匹配规则,左边是正则表达式,右边是对应处理函数的名称。 class index: def GET(self): return "Hello, world!" 这便是处理请求的函数 index。GET 和 POST 是 HTTP 的两种请求方式,一般来说,GET 用于请求网
Crossin先生
2018/04/16
1.7K0
自定义wordpress每个分类显示多少页面数
一般的分页只需要在后台设置->阅读->博客中显示的页数,即可设置网站的分页,但是这么设置的分页是全站通用的,无论是首页、分类、搜索都显示一个分页数,但是若我们想单独控制某一个页面显示多少呢?下面我们就说说这种怎么实现。
PHP学习网
2022/08/03
7250
为抛弃刘海屏,苹果预备在显示屏上打孔,但这似乎已经落伍了
随着人脸识别解锁、支付等应用的兴起,相关技术及元器件也成为了移动智能手机的标配。从iPhone X发布至今,其后几乎每一款品牌都有支持人脸识别的新机发布,但也始终没能从根本上解决iPhone“刘海屏”的问题。当然,苹果也一直在尝试研究出更好的替代方案。
镁客网
2018/11/23
5630
在3D游戏中显示网页
在游戏中显示网页? 为什么要这么做呢? 其实可以做不少的应用: 嵌入帮助文档, 比如技能介绍, 可以做得很漂亮, 各种排版方式用传统UI做起来很费劲 活动公告页面直接在游戏中查看 游戏内的BBS/社区
逍遥剑客
2018/05/21
6440
直接iframe方式在网页上显示天气插件
天气预报调用网址(可定制):http://www.tianqi.com/plugin/
科控物联
2023/09/22
1.4K0
直接iframe方式在网页上显示天气插件
将jpeg图片显示在framebuffer上
点击(此处)折叠或打开 /************************************************** * example5.c * Author: T-bagwell * * Compile:gcc -Wall example5.c -o example5 *************************************************/ #include <stdio.h> #inclu
用户3765803
2019/03/05
1.2K0
浏览器中输入 URL 到网页显示的过程
图片来源:《图解HTTP》 总体来说分为以下几个过程: DNS 解析 TCP 连接 发送 HTTP 请求 服务器处理请求并返回 HTTP 报文 浏览器解析渲染页面 连接结束 具体可以参考下面这篇文章: 从输入 URL 到页面加载发生了什么? 常见 HTTP 状态码 状态码 各协议与 HTTP 协议之间的关系 图片来源:《图解HTTP》
happyJared
2019/06/24
1.4K0
在web浏览器上显示室内温度(nodeJs+arduino+socket.io)
上次的nodejs操作arduino入门篇中实现了如何连接arduino。这次我们来实现通过arduino测量室内温度并在浏览器上显示出来。 【所需材料】 硬件:LM35温度传感器,arduino u
用户1749219
2018/05/16
2.2K0
浏览器将URL变成一个屏幕上显示的网页的过程?
前言   一个浏览器是怎么工作的? 正文 URL变网页过程:   1.浏览器通过http或https协议,向服务端请求页面   2.将请求过来的HEML代码通过解析,构建DOM树   3.计算DOM
Dawnzhang
2019/03/08
7910
浏览器将URL变成一个屏幕上显示的网页的过程?
PC页面全屏显示以及退出全屏显示
//点击,进入全屏 $('#btn4').click(()=>{ let el = document.documentElement; let rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen || el.msRequestFullScreen; if(typeof rfs != 'undefined' && rfs){ rfs.call
用户1174387
2021/10/26
5.3K0
如何下载网页上的视频?
You-get是GitHub上的一个项目,也可以说是一个命令行程序,帮助大家下载大多主流网站上的视频、图片及音频。支持的网站非常多,我们可以先来看一部分。
狼啸风云
2020/07/27
4.1K0
如何下载网页上的视频?
javascript 获取多种主流浏览器显示页面高度(转)
IE中: document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.documentElement.clientWidth ==> 可见区域宽度 document.documentElement.clientHeight ==> 可见区域高度 FireFox中: document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.documentElement.clientWidth ==> 可见区域宽度 document.documentElement.clientHeight ==> 可见区域高度 Opera中:  document.body.clientWidth ==> 可见区域宽度 document.body.clientHeight ==> 可见区域高度 document.documentElement.clientWidth ==> 页面对象宽度(即BODY对象宽度加上Margin宽) document.documentElement.clientHeight ==> 页面对象高度(即BODY对象高度加上Margin高) 没有定义W3C的标准,则 IE为: document.documentElement.clientWidth ==> 0 document.documentElement.clientHeight ==> 0 FireFox为: document.documentElement.clientWidth ==> 页面对象宽度(即BODY对象宽度加上Margin宽)document.documentElement.clientHeight ==> 页面对象高度(即BODY对象高度加上Margin高) Opera为: document.documentElement.clientWidth ==> 页面对象宽度(即BODY对象宽度加上Margin宽)document.documentElement.clientHeight ==> 页面对象高度(即BODY对象高度加上Margin高)
lin_zone
2018/08/15
9830
Confluence 如何在页面中显示目录
在默认情况下,Confluence 是不能在页面中显示目录和当前页面中的内容导航的。
HoneyMoose
2021/12/14
1.9K0
【JavaScript小项目】在网页上显示选择的图片
思路分析 选用<input type="file">原生组件,实现该组件美化。 选用<img src="file">实现图片预览。 代码实现 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>图片预览</title> <script src="js/test.js"> function upload(file) { cons
efonfighting
2020/02/13
1.2K0
如何在html页面显示html标签源码
这是一篇不正经实现方案报道。 1 引言 先来看个问答: stackoverflow: Why was the xmp HTML tag deprecated? [duplicate] 这个问题感觉
celineWong7
2020/11/05
11.5K0

相似问题

无法访问Azure容器服务

11

WebDriver容器无法访问DockerComposeContainer服务

15

服务结构容器-无法访问群集内的服务

13

使用Kubernetes的Azure容器服务-无法访问Internet的容器

216

Azure容器服务容器无法访问除80以外的其他端口

12
添加站长 进交流群

领取专属 10元无门槛券

AI混元助手 在线答疑

扫码加入开发者社群
关注 腾讯云开发者公众号

洞察 腾讯核心技术

剖析业界实践案例

扫码关注腾讯云开发者公众号
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档