Unsupported helper for Linux

Streaming to your iPhone, iPod, iPad...

Unsupported helper for Linux

Postby confusedvorlon » February 6th, 2011, 7:06 pm

Hi Folks,

A chap called Jens offered to build a helper for Linux.

It is now ready for beta testing!

I have used it in Ubuntu, and it definitely works for me. It is a command line utility at the moment though - and installing it requires that you are moderately competent at the command line.

<snip>

Please unzip, follow the instructions in the readme, and post here to let us know how it went for you!

Thank you Jens!

==Update==

0.1.2 available

this is the first version with a GUI.
Give it a try and join the conversation...

==Update==

0.1.3 now available

http://hobbyistsoftware.com/Downloads/V ... 1.3.tar.gz

-fixes utf8 issue
-uses --ignore-config in the conversion command
-fixes url parsing issue
confusedvorlon
Site Admin
 
Posts: 988
Joined: December 18th, 2008, 8:45 pm

Sound - Use AAC

Postby confusedvorlon » February 6th, 2011, 9:40 pm

The default setup on Ubuntu doesn't include the codecs needed for the default sound settings. If you go to settings in the iPhone app and choose 'Use AAC encoding' then it should work.

If you want to install the non-free codecs, then this is from Jens

---
for getting the restricted codecs like mp3 up and running it's a little bit of work.

The easiest way is to add the medibuntu repositories to your
/etc/apt/sources.list

deb http://packages.medibuntu.org/ maverick free non-free

And then add the pgp key with

"wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -"

after an apt-get update you can install the package non-free-codecs and the most of the codecs should work.
---
confusedvorlon
Site Admin
 
Posts: 988
Joined: December 18th, 2008, 8:45 pm

Re: Beta helper for Linux

Postby Eggman » February 6th, 2011, 11:55 pm

Hi,

Thanks for putting this app together. I've installed the application as per your instructions. However when I run the application is gives me the following error.

./VLCStreamerClient: symbol lookup error: ./VLCStreamerClient: undefined symbol: _ZN9QListData11detach_growEPii

Regards
Steve.
Eggman
 
Posts: 2
Joined: February 6th, 2011, 11:51 pm

Re: Beta helper for Linux

Postby ewomack » February 7th, 2011, 12:00 am

Initial report back:

System: Ubuntu 10.10 64bit

Typos in README:
audo apt-get install libqt4-core libqt4-gui libqt4-network libqt4-dbus libqt4-xml

Should be:
sudo apt-get install libqt4-core libqt4-gui libqt4-network libqt4-dbus libqt4-xml


sudo apt-get update" if vlc is already installed

Should be:
sudo apt-get upgrade" if vlc is already installed


All add-ons installed without error

First Run

VLCStreamerClient fails with:

Code: Select all
eric@jeffriestube0:~$ ./VLCStreamerClient
"2011-02-06 12:01:31:119:INFO : VLCStreamer Client Started"

(<unknown>:19142): Gtk-WARNING **:
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class:
ELFCLASS64

(<unknown>:19142): Gtk-WARNING **: Loading IM context type 'ibus' failed

(<unknown>:19142): Gtk-WARNING **:
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class:
ELFCLASS64

(<unknown>:19142): Gtk-WARNING **: Loading IM context type 'ibus' failed

(<unknown>:19142): Gtk-WARNING **:
/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class:
ELFCLASS64

(<unknown>:19142): Gtk-WARNING **: Loading IM context type 'ibus' failed
"2011-02-06 12:01:31:222:INFO :   Version 0.1.0"
"2011-02-06 12:01:31:222:INFO :   Beta"
"2011-02-06 12:01:31:226:INFO : ENCODER VLC Version:
 vlc: error while loading shared libraries: libvlccore.so.4: cannot
open shared object file: No such file or directory
"
"2011-02-06 12:01:31:226:ERROR: ENCODER Wrong version of VLC. Module
access_output_livehttp is missing"


VLC (which used to work properly) now also fails with:

Code: Select all
eric@jeffriestube0:~$ vlc
vlc: error while loading shared libraries: libvlccore.so.4: cannot
open shared object file: No such file or directory


A
Code: Select all
sudo apt-get purge vlc

then
Code: Select all
sudo apt-get install vlc

fixed this.

Playback

Client found the correct machine with no issues

Test 1 - mp4

Video:
1280x720
H.264/AVC
24fps
1501 kbps

Audio:
MPEG-4 AAC audio
Stereo
48000 Hz
159 kbps

0 Subtitle Tracks

Processed with 'Standard High Bandwidth' setting

Playback picture was clean
Video was slightly choppy
No audio

Test 2 - mkv

Video:
1280x720
H264
24fps
N/A

Audio:
MPEG-4 AAC audio
Stereo
48000 Hz
N/A

1 Subtitle Track

Processed with 'Standard Low Bandwidth' setting

Processing failed twice

Test 3 - mkv (different from Test 2)

Video:
1280x720
H264
24fps
N/A

Audio:
MPEG-4 AAC audio
Stereo
44100 Hz
N/A

1 Subtitle Track

Processed with 'Standard Low Bandwidth' setting

Processing failed

Processed with 'Standard High Bandwidth' setting

Processing failed

Side note - both videos on test 2 and 3 played correctly with with VLC when played locally.

Test 4 - avi

Video:
512x348
XVID MPEG-4
24fps
N/A

Audio:
MPEG 1 Audio, Layer 3 (MP3)
Stereo
48000 Hz
32 kbps

0 Subtitle Tracks

Processed with 'Standard High Bandwidth' setting

Playback picture was clean
Video was slightly choppy
No audio
Last edited by ewomack on February 7th, 2011, 8:35 pm, edited 1 time in total.
ewomack
 
Posts: 4
Joined: February 6th, 2011, 11:48 pm

Re: Beta helper for Linux

Postby ewomack » February 7th, 2011, 12:21 am

Update

After a reboot of the machine, the videos listed that failed to process now cause a seg fault when played locally.

Other media players play the video fine, it's only VLC 1.2 that is failing.
ewomack
 
Posts: 4
Joined: February 6th, 2011, 11:48 pm

Re: Beta helper for Linux

Postby JensSt » February 7th, 2011, 7:31 am

Hi!

@eggman:

Have you installed the Qt libraries with: sudo apt-get install libqt4-core libqt4-gui libqt4-network libqt4-dbus libqt4-xml?
It seems that you are missing at least the QtCore.

@ewomack:

Thank you for this detailed analysis. The typos will be corrected for the next version.
Honestly I haven't tried the setup on a 64bit machine but I'll try this evening and I'll come back to you.
Missing audio usually means that you are missing some codecs (non-free-codecs from medibuntu).

Stay tuned!

Jens
JensSt
 
Posts: 9
Joined: February 7th, 2011, 7:02 am

Re: Beta helper for Linux

Postby ewomack » February 7th, 2011, 8:34 pm

Audio update

Test machine had the repository for the local mirror, but did not have w64codecs installed.

This:
Code: Select all
sudo apt-get install w64codecs

Fixed it.

Test 1 - mp4 - Same as previous Test 1 file
Video:
1280x720
H.264/AVC
24fps
1501 kbps

Audio:
MPEG-4 AAC audio
Stereo
48000 Hz
159 kbps

0 Subtitle Tracks

Processed with 'Standard Low Bandwidth' setting

Playback picture was slightly pixelated
Video was slightly choppy during large screen changes (view panning and such)
Audio had a tinny, almost electronic quality to it.
Audio and video stayed in sync throughout.

Heavy buffer interruptions when attempting to play at first chance during processing.
Minor buffer interruptions at start when processing was 50% complete.
No buffering when processing was complete.

Network notes
Test machine connected via copper gigabit to 802.11n capable router running DD-WRT v24-sp2 (08/07/10) mega
No other active clients during video tests.

Complete Medibuntu HOWTO here:
https://help.ubuntu.com/community/Medibuntu
ewomack
 
Posts: 4
Joined: February 6th, 2011, 11:48 pm

Re: Beta helper for Linux

Postby confusedvorlon » February 7th, 2011, 11:25 pm

top tip on buffering interruptions:

two possible causes:

1 - the stream just hasn't converted yet.

The only solutions here are to either get a faster computer, or wait until the conversion is finished before watching stuff.
You can tell if this is the problem by keeping an eye on how much of the movie shows as processed

2 - the network connection is struggling

If you get significant buffering when the movie is already converted, then this is your problem.
For a _lot_ of people, the fix is to turn off bluetooth on your iphone/ipad (settings/general/bluetooth).

It seems that bluetooth and wifi use the same antenna, and bluetooth kills wifi.

If that doesn't help, then you are into the world of diagnosing your wifi connection. The web will have more tips than me here, but one major one is to look into what channel your wifi router is using (it may be the same channel as all your neighbours).
Similarly - if someone else on your router is running a bunch of p2p traffic then that is likely to slow the network.
confusedvorlon
Site Admin
 
Posts: 988
Joined: December 18th, 2008, 8:45 pm

Re: Beta helper for Linux

Postby Eggman » February 8th, 2011, 5:43 am

Hi Jens,

I did try the install of QT. I had noticed the original typo in the readme. Anyhow here is the output.

sudo apt-get install libqt4-core libqt4-gui libqt4-network libqt4-dbus libqt4-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-core is already the newest version.
libqt4-gui is already the newest version.
libqt4-network is already the newest version.
libqt4-dbus is already the newest version.
libqt4-xml is already the newest version.

I am running version 4.6.2 of libqt4-core if tha tis any help.
Eggman
 
Posts: 2
Joined: February 6th, 2011, 11:51 pm

Re: Beta helper for Linux

Postby JensSt » February 8th, 2011, 12:14 pm

ewomack wrote:Audio update

Test machine had the repository for the local mirror, but did not have w64codecs installed.

This:
Code: Select all
sudo apt-get install w64codecs

Fixed it.


Thank you for your time figuring it out.
Another ADD to the README for the next version. ;-)
JensSt
 
Posts: 9
Joined: February 7th, 2011, 7:02 am

Next

Return to VLC Streamer

Who is online

Users browsing this forum: No registered users and 2 guests

cron