Jump to content


Photo

Air Video Server HD for Linux


  • Please log in to reply
288 replies to this topic

#41 Spasitel

Spasitel

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 10 December 2014 - 09:05 PM

What do you want to deploy it on? ARM build makes sense of course, but only if we have hardware accelerated transcoding covered on that platform.


I have a Cubox-i machine. It is based on the i.mx6 processor, it has a built-in vpu powerful enough to do live transcoding, afaik.

#42 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 11 December 2014 - 08:10 PM

On CentOS 7 have error: missing codec AC3

# uname -a

Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ vlc -v
VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
 
so I do not poyal - a PIN must be specified when connecting to the server? eventually add servers manually


#43 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 11 December 2014 - 08:34 PM

 

On CentOS 7 have error: missing codec AC3

# uname -a

Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ vlc -v
VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
 
so I do not poyal - a PIN must be specified when connecting to the server? eventually add servers manually

VLC should have taken care of that. Where is it installed? The patch to libvlc and libvlccore is set in server.properties. Also server pin should not be necessary on local network, if avahi is installed and running.



#44 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 11 December 2014 - 08:38 PM

I have a Cubox-i machine. It is based on the i.mx6 processor, it has a built-in vpu powerful enough to do live transcoding, afaik.

Looks good, but we'd need to build support for hardware encoders and decoders, the CPU itself would most likely not be powerful enough for transcoding.



#45 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 12 December 2014 - 04:55 AM

VLC should have taken care of that. Where is it installed? The patch to libvlc and libvlccore is set in server.properties. Also server pin should not be necessary on local network, if avahi is installed and running.

/usr/lib64/vlc



#46 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 12 December 2014 - 10:59 AM

/usr/lib64/vlc

You'll need to set VLC path in Server.properties



#47 IceIceBird

IceIceBird

    Member

  • Members
  • PipPip
  • 26 posts

Posted 12 December 2014 - 12:58 PM

When converting/downloading video to device I get this error message
 

[0x7f6288008928] a52tofloat32 audio filter warning: liba52 couldn't do the requested downmix 0x8->0x1


#48 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 12 December 2014 - 01:07 PM

[0x7f6288008928] a52tofloat32 audio filter warning: liba52 couldn't do the requested downmix 0x8->0x1

Does the file still play or does the playback fails?



#49 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 12 December 2014 - 03:24 PM

You'll need to set VLC path in Server.properties

Of course I read that you need to make changes to the configuration file before running :) But what it did not help ...



#50 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 12 December 2014 - 04:48 PM

I'll have to run it on CentOs myself then. 



#51 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 12 December 2014 - 06:07 PM

I'll have to run it on CentOs myself then. 

# find / -name vlc
/home/korp/.local/share/vlc
/usr/bin/vlc
/usr/lib64/vlc

 

/usr/share/vlc
 
I tried two path:
/usr/bin/vlc
/usr/lib64/vlc
 
but in both cases got an error. Set a path for you?


#52 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 12 December 2014 - 06:11 PM

the path should go to container folder (i.e. /usr/lib in libvlc path is /usr/lib/libvlc...), but it is possible that the structure is different and Air Video Server HD will just not find it anyway. So far on every distribution I have tired the VLC libraries was directly in /usr/lib



#53 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 12 December 2014 - 06:34 PM

And what version of the OS you use? I'm trying to 7, but the problem is that there is no proven package repositories under 7 version installed from somewhere, nowhere, and as a result could not find in his system libvlc. Probably will have to try to build yourself vlc.



#54 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 12 December 2014 - 06:50 PM

I haven't tested it on CentOS yet (or any other RPM based distributions for that matter). I'll do it when I get back to the office.



#55 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 12 December 2014 - 08:24 PM

Realized what was wrong. It was necessary to specify a / usr / lib64 /, and I was finishing at the end of vlc. Tired for a week :( At the weekend will be tested on various video!

In general on CentOS 7 simply connect the repository li.nux.ro and set out vlc. In general, it comes down to two commands:

rpm -Uvh http://li.nux.ro/dow....nux.noarch.rpm

yum install vlc



#56 marioscube

marioscube

    Member

  • Members
  • PipPip
  • 12 posts

Posted 12 December 2014 - 09:19 PM

Interesting ........

 

I changed in Linux Mint 16 the fine in Server.properties

 

from     VLCLibraryPath = /usr/lib/

to          VLCLibraryPath = /usr/lib/vlc

 

and now there are no more crashes!

 

However: on some media files I get the error:

 

Air Video Server is missing codec: MP3

or

Air Video Server is missing codec: AC3

 

Transcoding does not seem to work with this setting.

 

Files coded with aac work (passthrough). 

 

Problem = VLC?



#57 admin

admin

    Administrator

  • Administrators
  • 2573 posts

Posted 12 December 2014 - 09:40 PM

It works because no VLC plugins are loaded (path is wrong and and thus you have no codecs either). Didn't you get my email? It's one particular VLC plugin that crashes it in your case:

iibinhibit_plugin.so from /usr/lib/vlc/plugins/misc. If you remove it it shouldn't crash (at least not this way). It tries to do a dbus call which crashes, probably because Air Video Server HD already loads different dbus library instance (although it doesn't crash on my installation)



#58 marioscube

marioscube

    Member

  • Members
  • PipPip
  • 12 posts

Posted 12 December 2014 - 11:18 PM

Thank you!

 

removing /urs/lib/vlc/plugins/misc/libinhibit_plugin.so leads to an (vlc)error; no crash; files play

 

removing libdbus-1.so.3 seems to work.

 

(I had not checked my e-mail on another PC)  :)



#59 KorP

KorP

    Member

  • Members
  • PipPip
  • 28 posts

Posted 13 December 2014 - 06:56 AM

Tried to play mkv, mts, mp4, video with subtitles, until he met a single shoal !!!! thanks!



#60 IceIceBird

IceIceBird

    Member

  • Members
  • PipPip
  • 26 posts

Posted 13 December 2014 - 03:20 PM

Does the file still play or does the playback fails?

It plays






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users