最近Tumbleweed装kodi不能放视频了

最近Tumbleweed装kodi后,kodi一播放视频就自动退出,不知道怎么了,系统各种更新也正常更了,是不是内核太新?

从命令行里启动 kodi,然后打开视频,看看报什么错误。

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: 2017年 11月 21日 星期二 19:40:23 CST
Kodi Options:
Arch: x86_64
Kernel: Linux 4.13.12-1-default #1 SMP PREEMPT Wed Nov 8 11:21:09 UTC 2017 (9151c66)
Release: openSUSE Tumbleweed
############## END SYSTEM INFO ##############

############### STACK TRACE #################
############# END STACK TRACE ###############

################# LOG FILE ##################

19:40:09.087 T:139764850474560 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:40:09.087 T:139764850474560 NOTICE: -----------------------------------------------------------------------
19:40:09.087 T:139764850474560 NOTICE: Starting Kodi (17.5 Git:20170822-7fc6da0). Platform: Linux x86 64-bit
19:40:09.087 T:139764850474560 NOTICE: Using Release Kodi x64 build
19:40:09.087 T:139764850474560 NOTICE: Kodi compiled Oct 28 2017 by GCC 7.2.1 for Linux x86 64-bit version 4.14.0 (265728)
19:40:09.087 T:139764850474560 NOTICE: Running on openSUSE Tumbleweed 20171117, kernel: Linux x86 64-bit version 4.13.12-1-default
19:40:09.087 T:139764850474560 NOTICE: FFmpeg version/source: 3.4
19:40:09.087 T:139764850474560 NOTICE: Host CPU: Intel® Core™ i5-5200U CPU @ 2.20GHz, 4 cores available
19:40:09.087 T:139764850474560 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:40:09.087 T:139764850474560 NOTICE: special://xbmcbin/ is mapped to: /usr/lib64/kodi
19:40:09.087 T:139764850474560 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib64/kodi/addons
19:40:09.087 T:139764850474560 NOTICE: special://masterprofile/ is mapped to: /home/Falcon-Chang/.kodi/userdata
19:40:09.087 T:139764850474560 NOTICE: special://envhome/ is mapped to: /home/Falcon-Chang
19:40:09.087 T:139764850474560 NOTICE: special://home/ is mapped to: /home/Falcon-Chang/.kodi
19:40:09.087 T:139764850474560 NOTICE: special://temp/ is mapped to: /home/Falcon-Chang/.kodi/temp
19:40:09.087 T:139764850474560 NOTICE: special://logpath/ is mapped to: /home/Falcon-Chang/.kodi/temp
19:40:09.087 T:139764850474560 NOTICE: The executable running is: /usr/lib64/kodi/kodi.bin
19:40:09.087 T:139764850474560 NOTICE: Local hostname: Falcon-Chang
19:40:09.087 T:139764850474560 NOTICE: Log File is located: /home/Falcon-Chang/.kodi/temp//kodi.log
19:40:09.087 T:139764850474560 NOTICE: -----------------------------------------------------------------------
19:40:09.111 T:139764850474560 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'OnLowBattery’
19:40:09.113 T:139764850474560 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanSuspend’
19:40:09.114 T:139764850474560 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanHibernate’
19:40:09.117 T:139764850474560 NOTICE: load settings…
19:40:09.130 T:139764850474560 NOTICE: Found 1 Lists of Devices
19:40:09.130 T:139764850474560 NOTICE: Enumerated PULSE devices:
19:40:09.130 T:139764850474560 NOTICE: Device 1
19:40:09.130 T:139764850474560 NOTICE: m_deviceName : Default
19:40:09.130 T:139764850474560 NOTICE: m_displayName : Default
19:40:09.130 T:139764850474560 NOTICE: m_displayNameExtra: Default Output Device (PULSEAUDIO)
19:40:09.130 T:139764850474560 NOTICE: m_deviceType : AE_DEVTYPE_PCM
19:40:09.130 T:139764850474560 NOTICE: m_channels : FL,FR
19:40:09.130 T:139764850474560 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
19:40:09.130 T:139764850474560 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
19:40:09.130 T:139764850474560 NOTICE: m_streamTypes : No passthrough capabilities
19:40:09.130 T:139764850474560 NOTICE: Device 2
19:40:09.130 T:139764850474560 NOTICE: m_deviceName : alsa_output.pci-0000_00_1b.0.analog-stereo
19:40:09.130 T:139764850474560 NOTICE: m_displayName : 内置音频 模拟立体声
19:40:09.130 T:139764850474560 NOTICE: m_displayNameExtra: 扬声器 (PULSEAUDIO)
19:40:09.130 T:139764850474560 NOTICE: m_deviceType : AE_DEVTYPE_PCM
19:40:09.130 T:139764850474560 NOTICE: m_channels : FL,FR
19:40:09.130 T:139764850474560 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
19:40:09.130 T:139764850474560 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
19:40:09.130 T:139764850474560 NOTICE: m_streamTypes : No passthrough capabilities
19:40:09.132 T:139764850474560 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:40:09.132 T:139764850474560 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:40:09.132 T:139764850474560 NOTICE: Default Video Player: VideoPlayer
19:40:09.132 T:139764850474560 NOTICE: Default Audio Player: paplayer
19:40:09.132 T:139764850474560 NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:40:09.132 T:139764850474560 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
19:40:09.132 T:139764850474560 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
19:40:09.132 T:139764850474560 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:40:09.132 T:139764850474560 NOTICE: Loaded playercorefactory configuration
19:40:09.132 T:139764850474560 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:40:09.132 T:139764850474560 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:40:09.134 T:139764850474560 NOTICE: Running database version Addons27
19:40:09.275 T:139764850474560 NOTICE: ADDONS: Using repository repository.xbmc.org
19:40:09.307 T:139764371040000 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
19:40:09.344 T:139764850474560 NOTICE: Checking resolution 16
19:40:09.379 T:139764850474560 NOTICE: Using visual 0x41
19:40:09.396 T:139764850474560 NOTICE: GL_VENDOR = Intel Open Source Technology Center
19:40:09.396 T:139764850474560 NOTICE: GL_RENDERER = Mesa DRI Intel® HD Graphics 5500 (Broadwell GT2)
19:40:09.396 T:139764850474560 NOTICE: GL_VERSION = 3.0 Mesa 17.2.5
19:40:09.396 T:139764850474560 NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.30
19:40:09.397 T:139764850474560 NOTICE: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_
ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_EXT_shader_samples_identical GL_KHR_no_error GL_MESA_shader_integer_functions
19:40:09.483 T:139764850474560 ERROR: Unable to load libcec.so.4, reason: libcec.so.4: cannot open shared object file: No such file or directory
19:40:09.486 T:139764390004480 NOTICE: Running database version Addons27
19:40:09.486 T:139764390004480 NOTICE: Running database version ViewModes6
19:40:09.487 T:139764390004480 NOTICE: Running database version Textures13
19:40:09.487 T:139764390004480 NOTICE: Running database version MyMusic60
19:40:09.488 T:139764390004480 NOTICE: Running database version MyVideos107
19:40:09.489 T:139764390004480 NOTICE: Running database version TV29
19:40:09.489 T:139764390004480 NOTICE: Running database version Epg11
19:40:09.492 T:139764850474560 NOTICE: start dvd mediatype detection
19:40:09.573 T:139764850474560 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
19:40:09.608 T:139764850474560 NOTICE: UpdateLibraries: Starting video library startup scan
19:40:09.608 T:139764850474560 NOTICE: UpdateLibraries: Starting music library startup scan
19:40:09.612 T:139764850474560 NOTICE: initialize done
19:40:09.613 T:139764850474560 NOTICE: Running the application…
19:40:09.615 T:139764850474560 NOTICE: starting zeroconf publishing
19:40:09.615 T:139764850474560 NOTICE: starting upnp client
19:40:09.616 T:139762782426880 NOTICE: ES: Starting UDP Event server on port 9777
19:40:09.616 T:139762782426880 NOTICE: UDP: Listening on port 9777 (ipv6 : false)
19:40:09.678 T:139764390004480 NOTICE: VideoInfoScanner: Starting scan …
19:40:09.861 T:139764390004480 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
19:40:10.139 T:139763185080064 NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
19:40:20.053 T:139763193472768 ERROR: GetDirectory - Error getting
19:40:22.891 T:139764850474560 ERROR: Previous line repeats 6 times.
19:40:22.891 T:139764850474560 NOTICE: VideoPlayer: Opening: /run/media/Falcon-Chang/6C667A146679DF70/heyzo_hd_1413_full.mp4
19:40:22.891 T:139764850474560 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:40:22.891 T:139763185080064 NOTICE: Creating InputStream
19:40:22.892 T:139763185080064 NOTICE: Creating Demuxer
19:40:22.949 T:139763185080064 NOTICE: Opening stream: 0 source: 256
19:40:22.949 T:139763185080064 NOTICE: Creating video codec with codec id: 28
19:40:22.949 T:139763185080064 ERROR: Unsupported video codec
19:40:22.949 T:139763185080064 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
19:40:22.949 T:139763185080064 NOTICE: Opening stream: 1 source: 256
19:40:22.949 T:139763185080064 NOTICE: Finding audio codec for: 86018
19:40:22.949 T:139763185080064 ERROR: Unsupported audio codec
19:40:22.949 T:139763185080064 WARNING: OpenStream - Unsupported stream 1. Stream disabled.
19:40:22.949 T:139763185080064 ERROR: CDVDDemuxFFmpeg::ParsePacket() unable to open codec -22

############### END LOG FILE ################

############ END Kodi CRASH LOG #############

又感觉似乎是解码器不对

解码器的问题,先加 packman 源,然后安装解码器。

sudo zypper install ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav libdvdcss2

最后到

下载 pkmswitch100.rb 并运行,确保你的解码器都是来自 packman 源。

苏姐没更新,现在应该有一部分不能用了。手动更改吧(

什么没更新?

我前几天用你的脚本发现更新不了,看了下代码发现包名是写死的,以为是包名变了……
仔细看了一下应该不是这个原因… 具体为什么我也不清楚了(

不如试试能不能用什么更宽泛的方法比对,因为目前这样有一些包还是不能切换。

苏姐脚本的不能更新是因为 zypper se 的内容变了

bingo! 的确是因为 zypper se 的内容变了,现在已经修复了。