SifBoX

VDR su piattaforme nate per applicazioni embedded: Raspberry, Cubie, Olinuxino, ecc...

Moderatori: ragno, tapino, alez, zulu, davidea

unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

La cosa che mi fa pensare
è il README contenuto all'interno del plugin rpihddevice
dove dice

Codice: Seleziona tutto

Requirements:

  - valid MPEG2 licence
  - ffmpeg (tested with 1.0.7)
Sarà mica questo il problema ????
ho provato il flusso con
mplayer

Codice: Seleziona tutto

mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:3000/2
non ho video ma l'audio si sente bene così come sul canale SuperTennis HD
non ho video con mplayer ma l'audio è ok :D

quindi suppongo che dipende solo da rpihddevice :(
comunque mi sono arrivate le licenze e questa sera provo per vedere che ne esce.
biondo79
Messaggi: 200
Iscritto il: 20 ago 2007, 14:25

Re: SifBoX

Messaggio da biondo79 »

non mollare :)
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

Nulla anche con i dovuti codici :(
video Ok ma adio no
mentre tutto il ontrario con Mplayer
ecco che mi esce

Codice: Seleziona tutto

root ~ # mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:3000/2
MPlayer 1.1-4.7.4 (C) 2000-2012 MPlayer Team
192 audio & 400 video codecs

Playing http://127.0.0.1:3000/2.
Connecting to server 127.0.0.1[127.0.0.1]: 3000...

Cache size set to 8192 KBytes
Cache fill: 18.89% (1584464 bytes)   

libavformat version 54.63.104 (external)
Mismatching header version 54.6.100
libavformat file format detected.
[mp3 @ 0xb6739b78]Header missing
[mp3 @ 0xb6739b78]Header missing
[mp3 @ 0xb6739b78]Header missing
[mpegts @ 0xb6bad6b0]max_analyze_duration 5000000 reached at 5016000 microseconds
[mpegts @ 0xb6bad6b0]Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xb6bad6b0]Could not find codec parameters for stream 6 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xb6bad6b0]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (mpeg2video), -vid 0
[lavf] stream 1: audio (mp2), -aid 0, -alang ita
[lavf] stream 2: subtitle (dvb-teletext), -sid 0, -slang ita
[lavf] stream 3: audio (mp2), -aid 1, -alang oth
[lavf] stream 5: audio (mp2), -aid 2, -alang eng
LAVF: Program 8512 
LAVF: Program 8502 
LAVF: Program 8511 
LAVF: Program 8513 
LAVF: Program 8514 
LAVF: Program 8516 
LAVF: Program 8515 
LAVF: Program 8554 
LAVF: Program 8555 
LAVF: Program 8556 
LAVF: Program 272 
VIDEO:  [MPG2]  720x576  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.92.100 (external)
Mismatching header version 54.23.100
[mp2float @ 0xb6739b78]Header missing
Unsupported AVSampleFormat 8
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unsupported AVSampleFormat 6
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
[AO OSS] audio_setup: Can't open mixer device /dev/mixer: No such file or directory
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:77882.2 (21:38:02.2) of 0.0 (unknown)  9.2% 31%                               

MPlayer interrupted by signal 2 in module: enable_cache
nop_streaming_read error : Interrupted system call
Stream not seekable!



MPlayer interrupted by signal 2 in module: play_audio
A:77882.2 (21:38:02.2) of 0.0 (unknown)  9.2% 31%                               

Exiting... (Quit)
Helppppppppppp
Avatar utente
alez
Messaggi: 3074
Iscritto il: 09 mag 2007, 17:11

Re: SifBoX

Messaggio da alez »

Provato sia l'uscita HDMI che analogica?
Ciao alez
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

alez ha scritto:Provato sia l'uscita HDMI che analogica?
si alez :( lo stesso effetto :(

ho notato solo una differenza tra ffmpeg 2.1.1 e 1.2.4
con 2.1.1 non si sente nulla solo un fortissimo fischio e brusio di sottofondo
mentre con 1.2.4 almeno le parole si distinguono
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

altra prova suggeritami da Grazymax

ho preso un TS fatto da un vdr standard e processato con ffmpeg -i
ecco che ne esce

Codice: Seleziona tutto

ffmpeg -i 00001.ts ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec  4 2013 04:16:48 with gcc 4.7.4 (Linaro GCC 4.7-2013.08) 20130812 (prerelease)
  configuration: --prefix=/usr --cpu=arm1176jzf-s --arch=arm --enable-cross-compile --cross-prefix=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/armv6-openbricks-linux-gnueabihf- --sysroot=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/armv6-openbricks-linux-gnueabihf/sysroot --sysinclude=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/armv6-openbricks-linux-gnueabihf/sysroot/usr/include --target-os=linux --nm=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/armv6-openbricks-linux-gnueabihf-nm --ar=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/armv6-openbricks-linux-gnueabihf-ar --as=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/armv6-openbricks-linux-gnueabihf-gcc --cc=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/armv6-openbricks-linux-gnueabihf-gcc --ld=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/armv6-openbricks-linux-gnueabihf-gcc --host-cc=/root/openrasp/build/build.raspberrypi.eglibc/toolchain/bin/host-  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x1cbf7b0] max_analyze_duration 5000000 reached at 5000000 microseconds
[mpegts @ 0x1cbf7b0] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from '00001.ts':
  Duration: 00:00:13.66, start: 40600.487600, bitrate: 3088 kb/s
  Program 132
    Stream #0:0[0xae]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1c7](ita): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s
    Stream #0:2[0x1c8](und): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s
At least one output file must be specified
lukkino
Messaggi: 1086
Iscritto il: 20 gen 2007, 09:49

Re: SifBoX

Messaggio da lukkino »

Ipotesi... non è che la cpu sia già al massimo e non riesce a processare il tutto?

Ciao
VDRBOX: GA-K8NS, AMD Sempron 2600+, Hauppauge Nexus 2.1, LFS
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

lukkino ha scritto:Ipotesi... non è che la cpu sia già al massimo e non riesce a processare il tutto?

Ciao
ecco non credo proprio :(

Codice: Seleziona tutto

Mem: 105152K used, 278116K free, 0K shrd, 6948K buff, 47352K cached
CPU:  5.6% usr  5.8% sys  0.2% nic 84.1% idle  0.0% io  0.2% irq  3.8% sirq
Load average: 0.20 0.28 0.14 1/109 699
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  630   563 root     S     316m 84.2   0  9.4 vdr -g /tmp -L /usr/lib/vdr/plugin
  190   149 root     S    19248  5.0   0  3.8 /usr/sbin/vtunerc -f S2
    3     2 root     SW       0  0.0   0  1.6 [ksoftirqd/0]
  699   667 root     R     2284  0.5   0  0.4 top
   29     2 root     SW<      0  0.0   0  0.4 [VCHIQ-0]
  119     1 root     S    47968 12.4   0  0.2 /usr/bin/libcec-daemon

secondo me (e me lo ha confermato anche grazy) dipende da ffmpeg
mi dite come dovrei fare il configure di ffmpeg ??
Grazie
al momento io faccio così
https://github.com/unixer/SifBoX-1.0/bl ... mpeg/build
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

Messa versione ffmpeg 0.10.7 e adesso tutto si sente bene ;)
chissà che cosa è andato storno nell'avanzamento :(
Pazienza
al momento lascio questa :D
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

Codice: Seleziona tutto

https://www.dropbox.com/s/p6df5327son2bbl/2013-12-05%2014.06.14.mp4
ecco il RaspBerry Pi con la sifbox cos'è in grado di fare :D
Avatar utente
alez
Messaggi: 3074
Iscritto il: 09 mag 2007, 17:11

Re: SifBoX

Messaggio da alez »

Complimenti :) non male per un decoder HD da circa 100 euro ma COMPLETAMENTE OpenSource!!!


P.s.: un po inquietante la sagoma del cameramen riflessa, Candyman Candyman Candyman :mrgreen:
Ciao alez
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

alez ha scritto:Complimenti :) non male per un decoder HD da circa 100 euro ma COMPLETAMENTE OpenSource!!!


P.s.: un po inquietante la sagoma del cameramen riflessa, Candyman Candyman Candyman :mrgreen:

Codice: Seleziona tutto

https://dl.dropboxusercontent.com/u/23897246/sifbox-1.3.raspberrypi.tar.xz
se ti va di provare ;)

c'è da smanettare un po all'inizio ancora la definitiva è da fare ma una volta che parte va veloce
Problemi con il remote.conf di vdr ed il telecomando cec
magari
lancia prima

Codice: Seleziona tutto

stop vdr
poi cancella il remote.conf di vdr e rifallo con questi codici

Codice: Seleziona tutto

LIRC.Up KEY_UP
LIRC.Down KEY_DOWN
LIRC.Menu KEY_MENU
LIRC.Ok KEY_OK
LIRC.Back KEY_EXIT
LIRC.Left KEY_LEFT
LIRC.Right KEY_RIGHT
LIRC.Red KEY_RED
LIRC.Green KEY_GREEN
LIRC.Yellow KEY_YELLOW
LIRC.Blue KEY_BLUE
LIRC.0 KEY_0
LIRC.1 KEY_1
LIRC.2 KEY_2
LIRC.3 KEY_3
LIRC.4 KEY_4
LIRC.5 KEY_5
LIRC.6 KEY_6
LIRC.7 KEY_7
LIRC.8 KEY_8
LIRC.9 KEY_9
LIRC.Info KEY_INFO
LIRC.Play KEY_PLAY
LIRC.Pause KEY_PAUSE
LIRC.Stop KEY_STOP
LIRC.Record KEY_RECORD
LIRC.FastFwd KEY_FASTFORWARD
LIRC.FastRew KEY_REWIND
LIRC.Next KEY_NEXT
LIRC.Prev KEY_BACKSPACE
LIRC.Power KEY_POWER2
LIRC.Channel+ KEY_CHANNELUP
LIRC.Channel- KEY_CHANNELDOWN
LIRC.PrevChannel KEY_PREVIOUS
LIRC.Volume+ KEY_VOLUMEUP
LIRC.Volume- KEY_VOLUMEDOWN
LIRC.Mute KEY_MUTE
LIRC.Subtitles KEY_SUBTITLE
LIRC.Schedule KEY_EPG
LIRC.Channels KEY_CHANNEL
LIRC.Commands KEY_FAVORITES
LIRC.Audio KEY_LANGUAGE
LIRC.Timers KEY_TIME
LIRC.Recordings KEY_PVR
LIRC.Setup KEY_SETUP
LIRC.User0 KEY_COMPOSE
LIRC.User1 KEY_CONTEXT_MENU
LIRC.User2 KEY_MEDIA
LIRC.User3 KEY_EJECTCD
LIRC.User4 KEY_TV
LIRC.User5 KEY_AUDIO
LIRC.User6 KEY_VIDEO
LIRC.User7 KEY_IMAGES
LIRC.User8 KEY_FN
LIRC.User9 KEY_SCREEN
KBD.Up         00000000001B5B41
KBD.Down       00000000001B5B42
KBD.Menu       000000000000006D
KBD.Ok         000000000000000D
KBD.Back       000000000000007F
KBD.Left       00000000001B5B44
KBD.Right      00000000001B5B43
KBD.Red        000000001B5B5B41
KBD.Green      000000001B5B5B42
KBD.Yellow     000000001B5B5B43
KBD.Blue       000000001B5B5B44
KBD.0          0000000000000030
KBD.1          0000000000000031
KBD.2          0000000000000032
KBD.3          0000000000000033
KBD.4          0000000000000034
KBD.5          0000000000000035
KBD.6          0000000000000036
KBD.7          0000000000000037
KBD.8          0000000000000038
KBD.9          0000000000000039
KBD.Info       0000000000000069
KBD.FastFwd    0000001B5B31377E
KBD.FastRew    000000001B5B5B45
KBD.Power      0000000000000070
KBD.Volume+    0000001B5B32347E
KBD.Volume-    0000001B5B32337E
KBD.Mute       0000001B5B32317E
KBD.User7      0000001B5B31387E
KBD.User8      0000001B5B31397E
KBD.User9      0000001B5B32307E
XKeySym.Up         Up
XKeySym.Down       Down
XKeySym.Menu       m
XKeySym.Ok         Return
XKeySym.Back       BackSpace
XKeySym.Left       Left
XKeySym.Right      Right
XKeySym.Red        F1
XKeySym.Green      F2
XKeySym.Yellow     F3
XKeySym.Blue       F4
XKeySym.0          0
XKeySym.1          1
XKeySym.2          2
XKeySym.3          3
XKeySym.4          4
XKeySym.5          5
XKeySym.6          6
XKeySym.7          7
XKeySym.8          8
XKeySym.9          9
XKeySym.Info       i
XKeySym.Pause      space
XKeySym.FastFwd    F6
XKeySym.FastRew    F5
XKeySym.Power      p
XKeySym.Volume+    F12
XKeySym.Volume-    F11
XKeySym.Mute       F10
XKeySym.User7      F7
XKeySym.User8      F8
XKeySym.User9      F9

graphtft-fe.Up         0000000000000062
graphtft-fe.Down       0000000000000068
graphtft-fe.Menu       0000000000000047
graphtft-fe.Ok         0000000000000024
graphtft-fe.Back       0000000000000016
graphtft-fe.Left       0000000000000064
graphtft-fe.Right      0000000000000066
graphtft-fe.Red        0000000000000043
graphtft-fe.Green      0000000000000044
graphtft-fe.Yellow     0000000000000045
graphtft-fe.Blue       0000000000000046
graphtft-fe.0          0000000000000013
graphtft-fe.1          000000000000000A
graphtft-fe.2          000000000000000B
graphtft-fe.3          000000000000000C
graphtft-fe.4          000000000000000D
graphtft-fe.5          000000000000000E
graphtft-fe.6          000000000000000F
graphtft-fe.7          0000000000000010
graphtft-fe.8          0000000000000011
graphtft-fe.9          0000000000000012
graphtft-fe.Info       0000000000000048
graphtft-fe.Volume+    0000000000000063
graphtft-fe.Volume-    0000000000000069
graphtft-fe.Mute       0000000000000067

remote-libcec-daemon.Up         0000000100010067
remote-libcec-daemon.Down       000000010001006C
remote-libcec-daemon.Menu       000000010001016D
remote-libcec-daemon.Ok         000000010001001C
remote-libcec-daemon.Back       000000010001000E
remote-libcec-daemon.Left       0000000100010069
remote-libcec-daemon.Right      000000010001006A
remote-libcec-daemon.Red        000000010001018E
remote-libcec-daemon.Green      000000010001018F
remote-libcec-daemon.Yellow     0000000100010190
remote-libcec-daemon.Blue       0000000100010191
remote-libcec-daemon.0          000000010001000B
remote-libcec-daemon.1          0000000100010002
remote-libcec-daemon.2          0000000100010003
remote-libcec-daemon.3          0000000100010004
remote-libcec-daemon.4          0000000100010005
remote-libcec-daemon.5          0000000100010006
remote-libcec-daemon.6          0000000100010007
remote-libcec-daemon.7          0000000100010008
remote-libcec-daemon.8          0000000100010009
remote-libcec-daemon.9          000000010001000A
remote-libcec-daemon.Info       00000001000100A3
remote-libcec-daemon.FastFwd    00000001000100D0
remote-libcec-daemon.FastRew    00000001000100A8
Se non ti inteserra il tuner virtuale
edita il file /etc/pvr.conf e metti su off la voce VTUNER="off"

dai un rebbot
e prova

P.S. Meno male che non ho filmato nulla di illecito :D
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: SifBoX

Messaggio da davidea »

Sbaglio o il filmato mi è sembrato desincronizzato con l audio?

Inviato dal mio GT-N7100 utilizzando Tapatalk
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

davidea ha scritto:Sbaglio o il filmato mi è sembrato desincronizzato con l audio?

Inviato dal mio GT-N7100 utilizzando Tapatalk
No sbagli
ho fatto altri test anche ieri sera e l'audio era sincronizzato
l'unica cosa che ho notato è che non deinterlaccia il video
ma quest'ozione ancora nel plugin rasphddevice non c'è :(
unixer
Messaggi: 205
Iscritto il: 07 dic 2009, 23:21

Re: SifBoX

Messaggio da unixer »

ecco una versione con delle piccole migliorie ;)

Codice: Seleziona tutto

https://www.dropbox.com/s/95cowk7wgn3azkl/sifbox-1.2.1.raspberrypi.tar.xz
Rispondi