Benutzeravatar
BERLINHIMMEL
Mitglied

Beiträge:103
Registriert:27. Mar 2016
Wohnort:Berlin

MPG2 und VC-1 Codec spinnen rum / gehen nicht

28. Aug 2016, 15:43

Ich habe mir im April eine Lizenz für MPG2 im Onlineshop vom RP Projekt gekauft und bin der Meinung, dass ich damals mit dem Befehl "vcgencmd codec_enabled MPG2" eine positive Rückmeldung bekommen hatte, also das es funktioniert.

Nun habe ich an diesem WE noch eine Lizenz für VC-1 gekauft, um die Wiedergabe von Blu-Ray mittels externen Player weiter zu testen. Auch diesen Code habe ich in die config.txt (Verzeichnis /flash/config.txt) geschrieben. Gebe ich nun aber im Terminal via SSH ein: "vcgencmd codec_enabled WVC1" bekomme ich als Meldung diese Auskunft:

Code: Alles auswählen

OpenELEC:~ # vcgencmd codec_enabled WVC1
vc_gencmd_send returned -1
vchi_msg_dequeue -> -1(22)


Die selbe Meldung auch beim MPG2

Code: Alles auswählen

OpenELEC:~ # vcgencmd codec_enabled MPG2
vc_gencmd_send returned -1
vchi_msg_dequeue -> -1(22)


Das sieht mir nicht danach aus, dass die Codes funktionieren. Auch wenn ich den WVC1 wieder rausnehme und nur den MPG lasse, bleibt der Fehler bestehen. Neustart habe ich natürlich auch gemacht vom System.

Die config.txt sieht bei mir so aus:

Code: Alles auswählen

################################################################################
#      This file is part of OpenELEC - http://www.openelec.tv
#      Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#      Inspired and partly copied from:
#  http://youresuchageek.blogspot.fr/2012/09/howto-raspberry-pi-openelec-on.html
#
#  OpenELEC is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 2 of the License, or
#  (at your option) any later version.
#
#  OpenELEC is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with OpenELEC.  If not, see <http://www.gnu.org/licenses/>.
################################################################################
# Bootloader configuration - config.txt
################################################################################

################################################################################
# Memory (System/GPU configuration )
################################################################################

# default GPU memory split (do not change if you do not know what you are doing)
  gpu_mem=128

# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
  gpu_mem_256=112
  gpu_mem_512=160
  gpu_mem_1024=256

################################################################################
# Overclocking settings
# WARNING: Do not change/enable if you do not know what you are doing!
#          The System may become unstable or you can have data corruption or
#          you can loose your warranty if you set wrong settings
#
# please read: http://elinux.org/RPi_config.txt#Overclocking_configuration
################################################################################

# Overclock mode settings.
#
# default recommended values are: arm_freq | core_freq | sdram_freq | over_voltage
# no overclocking               :    700   |    250    |    400     |      0
# mode 'Modest'                 :    800   |    300    |    400     |      0
# mode 'Medium'                 :    900   |    333    |    450     |      2
# mode 'High'                   :    950   |    450    |    450     |      6
# mode 'Turbo'                  :   1000   |    500    |    600     |      6
# mode 'Pi2'                    :   1000   |    500    |    500     |      2

# arm_freq=700
# core_freq=250
# sdram_freq=400
# over_voltage=0

# set to 'force_turbo=1' to disable dynamic overclocking (you can lose your warranty!)
  force_turbo=0

# If you have any data corruption using Turbo Mode and overclocking
# try with this setting uncommented
# If this still fails, try to use Medium mode without "over_voltage=2"
# If it ultimately keeps failing, forget about this until it gets fixed
# Use a more conservative mode that will works fine in any cases:
# initial_turbo=30

################################################################################
# Overscan settings
################################################################################

# Make display smaller to stop text spilling off the screen
# see also http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=15700
# overscan_scale=1
# disable_overscan=1

# Adapt overscan values to your needs
# overscan_left=57
# overscan_right=59
# overscan_top=20
# overscan_bottom=20

################################################################################
# various settings see also: http://elinux.org/RPi_config.txt
################################################################################

# Force HDMI even if unplugged or powered off
  hdmi_force_hotplug=1

# Doesn't sent initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
  hdmi_ignore_cec_init=1

################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com
################################################################################

# decode_MPG2=0x00000000
# decode_WVC1=0x00000000
# decode_DTS=0x00000000
# decode_DDP=0x00000000

################################################################################
# End of default configuration
# all values below this line were inserted from config.txt.bk (your old config)
# and can be merged with the above values
################################################################################

# Ambilight Modul aktivieren
  dtparam=spi=on

# USB Power
  max_usb_current=1

# Infrarot Empfaenger
  dtoverlay=lirc-rpi
  dtparam=spi=on
 
# Lizenzen 
  decode_MPG2=0x36XXXXXX
  decode_WVC1=0xXXXXXXXX


Ich habe auch schon versucht, weiter oben die Lizenzen ein zu fügen wo die aktuellen (offiziellen) Platzhalter zu sehen sind. Aber im Grunde ist es ja wohl egal, wo sie am Ende stehen oder?

Hab ich nun doch irgendwas falsch eingefügt oder übersehen? Oder hat jemand das selbige Problem gehabt? Bin derzeit etwas ratlos.
Mein Projekt "Ambilight hinter eine Leinwand" erfolgreich abgeschlossen.

KarstenL
Mitglied

Beiträge:693
Registriert:25. Nov 2015

MPG2 und VC-1 Codec spinnen rum / gehen nicht

28. Aug 2016, 21:28

evtl den raspi gewechselt?
Gruß
Karsten

Pi3 mit PicorePlayer Hifiberry DAC+ und LMS, Odroid C2 libreELEC .

BERLINHIMMEL
Mitglied

Beiträge:103
Registriert:27. Mar 2016
Wohnort:Berlin

MPG2 und VC-1 Codec spinnen rum / gehen nicht

28. Aug 2016, 21:30

Nein
Mein Projekt "Ambilight hinter eine Leinwand" erfolgreich abgeschlossen.

KarstenL
Mitglied

Beiträge:693
Registriert:25. Nov 2015

MPG2 und VC-1 Codec spinnen rum / gehen nicht

28. Aug 2016, 22:00

einziger Unterschied zu meiner Config:
ich habe den Codec in die vorgegebenen Zeilen eingetragen und die Beschriftung der Zeile fängt ganz vorne an. ob das hilft............?
Gruß
Karsten

Pi3 mit PicorePlayer Hifiberry DAC+ und LMS, Odroid C2 libreELEC .

KarstenL
Mitglied

Beiträge:693
Registriert:25. Nov 2015

MPG2 und VC-1 Codec spinnen rum / gehen nicht

28. Aug 2016, 22:07

siehe Bild

5.png
Gruß
Karsten

Pi3 mit PicorePlayer Hifiberry DAC+ und LMS, Odroid C2 libreELEC .

Zurück zu „Raspberry Pi“