Llink:transcoding: Difference between revisions

From Lundman Wiki
No edit summary
 
No edit summary
Line 1: Line 1:
=== Year Six ===
'''llink is a media streamer''' that lets you play movies, view online trailers, browse images or play music over a network using the http protocol. It should work with most Syabas NMT hardware (NetworkedMediaTank middleware based players), such as the Popcorn Hour A- and B-series, HDX, iSTAR, Egreat a whole range of others, possibly even a couple of older ones like the LinkTheater. Some of the best reasons to run llink is that it can run on a great many platforms, including most popular NAS devices - even on the NMT player itself - and it can play media directly from RAR files.  '''llink''' is also a '''UPNP MediaServer''', sometimes called DNLA/UPNP, and is able to talk to many UPNP devices.


2010. Lokien is 6, but just a couple of months away from 7. Kajerik is 3, and about halfway to 4.


It has been a while, I guess maybe because we have all become a team,.. somehow. It just flows, and everyone is mostly sane now. Kajerik used to have tantrums, as you would expect of a 3 year old, but they too, have faded.
[[Image:llink.screen2.jpg|right|thumb|100px|llink-2.2.0 aqua skin]]
[[Image:llink.screen3.jpg|right|thumb|100px|llink-1.9.9 jukebox skin]]
[[Image:llink.screen4.jpg|right|thumb|100px|llink-2.2.0 clterm skin]]
[[Image:llink.screen5.jpg|right|thumb|100px|llink-2.2.0 nmt skin]]
[[Image:Kamaishi_skies.jpg|right|thumb|100px|llink-2.2.0 kamaishi_skies skin]]


Lokien started school. That was quite the journey. Back at the start of the year, we were still quite concerned about his Speech Delay, and how it would affect him going to a Japanese school. Everything would presumably be harder for him as he would not have full Japanese at home. At the same time, his English would be much better than anyone in his class, but of course, compared to a child in New Zealand, he would be lagging in English as well.


By default, you tend to get assigned to the school that is closest to your home. In our case, it is Sanya School. But the largest school in Shibuya-ward is Jinnan, which has a much higher number of foreigners, and after-school care for those with special needs. Naturally we went to both schools to get a better understanding. When they say 'special needs', they really mean it. They can handle children with serious afflictions, far beyond what Lokien required.
=== llink overview ===


Either way, we applied for Lokien to go to Jinnan as well, and figured that the decision would be made for us. Either he got in, or he didn't.  We went to the lottery-day for Jinnan school. Basically, they do a lottery to determine the order of the children in the waiting list. Lokien got number 17, out of 26. So it was not definite for either direction. Previous years had seen all 30 children be placed, and some years only 12. We figured we would stay in the waiting list anyway, and went on holiday to NZ.


When we got back, as we had not heard anything we had figured that he was still in the waiting list, and Sanya would be the school. We were quite pleased with this outcome, as Sanya is very close to home. There is only one road to cross, and it has school crossing guards. We could see the benefits that Lokien could earn his independence to walk to school on his own (eventually) and all his class mates would all live nearby, within walking distance.  Whereas, Jinnan would be at least a Bus ride, or be transported by one of us parents.
* [[Llink:compatible_players|List of compatible players]]
==== Features ====


When we went to Sanya to sign up, they were a little surprised, as it turns out, he did in fact, get accepted into Jinnan school. Hah, so much for letting the decision work itself out. Oh well, we had already mentally prepared ourselves for Sanya, and that we would have to help him with extra work. So, Sanya is the school.
* Parses various video containers: vob, avi, ts, mkv, tp, mov, m2ts, evo.
* Streams any file type the NMT player can handle: mp3, flac, jpeg, png etc.
* Can play straight '''from rar files''': no more need to unrar your media. (Comes with special unrar-3.7.8-seek.)
* SSDP / UPnP discovery support (although minimal).
* [[Llink:skins|Skin support]]: make your own html templates  or choose from pre-built.
* Simple iMDb querying to look up media information for Jukebox skins.
* Both HD and SD skins available.
* Light, tiny and clean code for Unix, OsX and Windows. Compiles to most platforms.
* Paginating: support to send listings in pages, with tags for Next/Prev.
* PlayAll cgi tag, and PlayAllFrom.
* External subtitles: subtitle files can be consolidated in one directory.
* libdvdnav support (and libdvdcss): provides basic playback of DVD .iso and .img files and from DVD drives.
* UDF 2.50 BD5-ISO support: provides basic playback of Bluray and HD-DVD.
* (External process support, like mencoder: incomplete).
* Can initiate custom shell scripts.
* Keep track of what you have already seen: small database for 'watched' media.
* UPNP MediaServer
* Transcoding Streaming support added to 2.3.2


First day of school, we all joined in, there was a ceremony, and photo ops, the usual speeches and so on. Lokiens class has some 36 students (the exact maximum for a single class). He already knows one friend in the class, who went to the same Hoikuen (day care) as Lokien.  Lokien was really proud to get his own train pass, home key and independence to walk to school without us. We do still tail him ' up the road' where he meets his class mates, and then they go on together, without us. As it turns out, because he is a foreigner in the school (actually, the only white kid in the school) the ward organises for him to get private Japanese classes when there is a generic Japanese class for the rest. As it turns out, since there are no foreigners in year 2 either, he gets 2 private classes a week. This turns out to be really good news. Had we known this last year, we might not have stressed as much as we did.
<paypal></paypal>


He seems to excel at maths, and English (well, compared to peers), and appears to be on same level with his Hiragana as the other class mates. He does his homework as soon as he gets home, and no special concerns from his teachers, yet. He seems to really enjoy school, and we have no issues to get him up and going in the mornings. (knock on wood).


He is very easy to get along with now, I have taken him to the cinema, and find that there is no stress at all, as compared to taking a new born out the first day! He has earned my trust in him after all, and he is great to take out. Not at all an effort to take out on the trains, or to a restaurant, movies and so on. He appears kind to other kids, and does not hit or do mean things. To the point where maybe he is tipping towards being 'too nice', if that makes sense.
=== Todo ===


He can occasionally have episodes where he gets 'super focused' on someone, or something. Like he used to be at the height of hyperlexia. Usually, it is that he just can not leave Kajerik alone, and follows him around until we have to hold Lokien back. Or it is some toy that he just has to have. He can't continue to play with other things either, he will just sit there and wait for the toy he has to have, for however long it takes. (we're talking 20 minutes or more). Complete tunnel vision! 
In no particular order:
* Add a transparent FTP fs layer? this would be well nice if it worked with RAR. ''Be quite easy to do now as a 'unrar' replacement, 'unftp'.''
* Scraping/parsing of .NFO files (for media info).
* mms:// protocol support (libmms looks ok, but has own select() call, needs deeper inspection).
** Implemented as unmms (unrar clone) but Stream support on PCH is lacking. Please bug Syabas about letting us set stream-mode
* Scrape/look for subtitles (ex. http://www.subtitlesource.org/title/tt0325710/).
* Proposed [[llink:menus|menus]]. Partly working since v2.2.0
* Configuration via web page.
* [http://www.teamavalaunch.com/ Avalaunch] style backgrounds. (Ex. fetch picture from [http://apod.nasa.gov/apod/archivepix.html NASA] every 30s and refresh) for mp3/playlists.
* Playing mp3s, and photos from RAR files don't appear to work.
* When playing music, allow to specify pictures to view.
* <s>Explore what more power we get from libdvdnav: choose audio tracks etc.</s> ALso, subtitle streams since C200 can display!
* Support [http://www.antp.be/software/moviecatalog ANT's Movie Database] .xml files.
** Difficult. ANT did weird things like put entire DB in one giant XML, with no references to the disk path.
* Support [http://www.movienizer.com Movienizer's Movie Database] .xml files.  Please provide sample .xml files for inspection.
* Remote skin support, e.g. invoke play from an iPhone or any other web enabled device.
* Apparently directories/files with "&" may not get a tick in the visited db. URL decoding?
* Make ticked directories become un-ticked when new files (unticked) files are added to the directory.
* Add NMJ sqlite DB support. Test MediaInfo source [http://www.lundman.net/ftp/test-mediainfo.c] is working.
* BUG: upnp missing filters/sortcriteria.


Lokien will fall asleep within minutes at night, and wakes up early in the morning, ready to go. I would describe him as a morning person at the moment.
=== User guide and other documentation  ===


Kajerik is still going to Hoikuen, the same one that he and Lokien went to last year. He has moved up to the middle room, momo gumi. He isn't too sure about going, and had a period of not wanting to go at all. Nowhere near as strongly as Lokien was at one time, but still occasionally reluctant.  Recently he has been resigned and accepting of it. It has helped that the pool opened at Hoikuen as he, this year at least, appears to enjoy splashing around in the pool. He speaks considerably better English that Lokien did at that age. Full, complete sentences compared to Lokien's 10-word vocabulary.
Feel free to contribute to the wiki documentation:


Kajerik's lengthy battle this year was toilet training. He got the peeing down pretty much the first day, and did well with it on average. Some days he didn't care, some days he had completely dry nappies . However, with pooing it was an entirely different story. He appeared to just plain not care to do that. I think he understood what was going on, but just did not see the point. He managed to not go to the toilet for 5 days, somehow, and learned to be really sneaky about it. He would simply, quietly, walk out of the room, and fill his nappy in about 12 seconds. Quite impressive when you think about the length he took to not have to go to the toilet. But in the end, he figured it out, and was proud about the whole situation. Strangely, since Lokien was toilet trained a little later than Kajerik, it turns out that they figured it out at about the same time, to the month.  If they aren't ready, they just aren't.
* [[Llink:user_guide|User guide]] for functions.
* [[Llink:Windows_installation|Installation guide]] for Windows.
* [[llink:Linux_installation|Installation guide]] for Linux.
* [[llink:macros|Macros]] supported by the HTML engine in llink.
* [[llink:Samples|Sample Files]] for configuring llink Jukebox xml.
* [[llink:Compiling|Compiling]] Guide for compiling, cross-compiling and compiling on Windows.


Kajerik is quite a cheerful and mischievous little bugger, but already would appear a little less physical than Lokien. Kajerik does appear to like music and singing a little more though. Hoikuen has expressed some small concern that he does not speak much Japanese, and has not really made 'good' friends there, 'is there a speech problem'? Here at least we can just smile and know that Kajerik is just fine with his speech. It is true he uses much less Japanese, since he plays with Lokien for hours each day and they tend to play in English if they are at home. Lokien easily switches to Japanese when he plays with other friends, and I know Kajerik understands Japanese quite well. He just appears to 'not wanting to speak Japanese' by choice.  I suspect he will most likely make a friend close to his age soon enough. We all remember his much cooler it was to play with older kids.
=== Download binaries ===


There is little, to no stress taking Kajerik out, he is easier to 'steer' than his brother was. Much more accepting to directions. But will generally 'tire' more quickly to be carried, or pushed around. At least, until there is something of interest, then he'll be happy to jog off again.  
Note: if you are in luck, devices not listed here may share platform and architecture.
Please report your success/failure.


Kajerik will generally take longer to fall asleep, just stuffs around in bed for a while, but he is good about it. Stays quiet for his brother's sake, and eventually falls a sleep. He sleeps a little longer in the mornings, and take longer to snap out the morning grumpy mood. Like myself, I would describe him as a night person, at the moment.
* [[llink:windows|Windows]] 2.3.0 binaries for Windows OS
* [[llink:osx|OsX]] 2.3.1 binaries for Apple Macintosh Os X. App Store submitted.
* [[llink:nmt|NMT]] 2.3.0 binaries for the Network Media Tank (Popcornhour A-100, C200 etc.) '''Please use CSI to install'''
* [[llink:linux|Linux]] 2.3.0 binaries for Linux OS, Intel (add more if you can)
* [[llink:opensolaris|OpenSolaris]] 2.2.5 binaries for OpenSolaris (Solaris 11) OS, Intel
* [[llink:readynas|ReadyNAS]] 2.2.2 binaries and instructions for Infrant/Netgear ReadyNAS
* [[llink:synology|Synology]] 2.2.4 binaries and older, instructions for Synology NAS (ppc and arm)
* [[llink:asus_wl-500gl|Asus WL-500GL]] binaries for Asus router running OpenWrt
* [[llink:Asus WL-500g Premium|Asus WL-500g Premium]] binaries for Asus router running Oleg's firmware
* [[llink:landisk|landisk]] binaries for IO-Data landisk uhdl-av, cpu-SH4
* "[[llink on a stick]]" let's you run llink from a USB stick or external USB drive (unmaintained)
* [[Llink:dlink_dns323|D-Link DNS-323]] binaries and instructions for D-Link NAS
* [http://forum.excito.net/viewtopic.php?p=6195 Bubba server] 2.2.0 Linux compile instructions (no binaries)
* [http://www.azboxworld.com/index.php?page=Thread&postID=66741#post66741 AzBox HD] 2.2.0 plugin binaries
* [[llink:buffalo|Buffalo]] 2.2.3 binaries and instructions for Buffalo Linkstation (arm)
* [[llink:Thecus|Thecus]] N5200-N0503 2.2.2 binaries (intel Atom)
* [[llink:qnap|QNAP]] 2.2.4 binaries for QNAP TS-109/209 series (arm)


 
''(Compilers, you can upload new versions directly in the wiki, see Synology page as example)''
Together they are great. They play together very well, show each other new things and generally get along well. They occasionally melt down a little and hassle each other (too far), but are fairly good at knowing the limits.  They can both make each other cry, so it is not a one-way street by any means. There can still be some improvements in their diets I think, but that seems to work itself out too, with time.


Lokien loves cheese, sausages, ham, omelets, fries, milk, milkshakes, bananas, sembe, bread, rice, chicken, plain cakes, and hates anything sweet like chocolate, coke, icing, chips.
=== Sources ===
Kajerik loves rice, fries, chicken nuggets, sausages, plain cakes, bread, chocolate, chips, coke and hates icing, milkshakes, bananas, cheese.


So they are different in their likes and don't like. They both eat everything served at school/hoikuen though, which is a very Asian fare. Including miso-soup and strange fish with vegetables.
* [[llink:sources|Sources]] Build your own for your platform. Includes autoconf for Unix and project files for Windows Visual Studio.
* libdvdcss sources are: [http://download.videolan.org/pub/libdvdcss/1.2.10/ libdvdcss-1.2.10.tar.gz]
* [[llink:mime|mime.types]] defining MIME types, generally not needed, only if you use it with a browser.
* <s>libdvdnav sources are: [http://www.mplayerhq.hu/MPlayer/releases/dvdnav/ libdvdnav-4.1.2]</s> ''libdvdnav sources now included.''
* <s>libdvdread with MSVC++ Project files: [http://www.lundman.net/ftp/llink/libdvdread-0.9.7-win32.tar.gz</s>
* <s>libdvdread sources for llink v2.0.8 to 2.1.1 only are: [http://www.dtek.chalmers.se/groups/dvd/downloads.shtml libdvdread-0.9.7.tar.bz]</s>


We went to NZ and a short trip to Chiba this year, there were minor issues with Kajerik being restrained in a car, but overall they were excellent family-style holidays. We all had a great time, and had fun both traveling and being there. We learned that Lokien can't have two milkshakes in one day in Kuala Lumpur, and how to (not) fly with kids having chickenpox. It was great to see the interaction between our kids and my brother's three kids, as well as how my brother's family interacted internally. I can also look back at myself and how I was, and behaved, when Lokien was first born and know how much of the 'new parent' stress really is .. well.. amusing, but you can't know that until you have been through it. I know it doesn't help to tell 'new parents' to 'relax more', but really, you should relax more. :)
=== Known issues ===
 
Although llink is capable of many things, there are limitations that should be known to users.
Please read here for details: [[Llink:Known_issues]]
 
=== Changelog ===
 
The [[llink:changelog|llink changelog]] contains the basic release notes history.
 
 
=== Transcoding ===
 
* [[llink:transcoding|Transcoding]] is a large subject, full of endless tweaks and hacks. I am hoping there are users willing to help find the correct settings that will work for most.

Revision as of 08:27, 29 September 2011

llink is a media streamer that lets you play movies, view online trailers, browse images or play music over a network using the http protocol. It should work with most Syabas NMT hardware (NetworkedMediaTank middleware based players), such as the Popcorn Hour A- and B-series, HDX, iSTAR, Egreat a whole range of others, possibly even a couple of older ones like the LinkTheater. Some of the best reasons to run llink is that it can run on a great many platforms, including most popular NAS devices - even on the NMT player itself - and it can play media directly from RAR files. llink is also a UPNP MediaServer, sometimes called DNLA/UPNP, and is able to talk to many UPNP devices.


llink-2.2.0 aqua skin
llink-1.9.9 jukebox skin
llink-2.2.0 clterm skin
llink-2.2.0 nmt skin
llink-2.2.0 kamaishi_skies skin


llink overview

Features

  • Parses various video containers: vob, avi, ts, mkv, tp, mov, m2ts, evo.
  • Streams any file type the NMT player can handle: mp3, flac, jpeg, png etc.
  • Can play straight from rar files: no more need to unrar your media. (Comes with special unrar-3.7.8-seek.)
  • SSDP / UPnP discovery support (although minimal).
  • Skin support: make your own html templates or choose from pre-built.
  • Simple iMDb querying to look up media information for Jukebox skins.
  • Both HD and SD skins available.
  • Light, tiny and clean code for Unix, OsX and Windows. Compiles to most platforms.
  • Paginating: support to send listings in pages, with tags for Next/Prev.
  • PlayAll cgi tag, and PlayAllFrom.
  • External subtitles: subtitle files can be consolidated in one directory.
  • libdvdnav support (and libdvdcss): provides basic playback of DVD .iso and .img files and from DVD drives.
  • UDF 2.50 BD5-ISO support: provides basic playback of Bluray and HD-DVD.
  • (External process support, like mencoder: incomplete).
  • Can initiate custom shell scripts.
  • Keep track of what you have already seen: small database for 'watched' media.
  • UPNP MediaServer
  • Transcoding Streaming support added to 2.3.2

<paypal></paypal>


Todo

In no particular order:

  • Add a transparent FTP fs layer? this would be well nice if it worked with RAR. Be quite easy to do now as a 'unrar' replacement, 'unftp'.
  • Scraping/parsing of .NFO files (for media info).
  • mms:// protocol support (libmms looks ok, but has own select() call, needs deeper inspection).
    • Implemented as unmms (unrar clone) but Stream support on PCH is lacking. Please bug Syabas about letting us set stream-mode
  • Scrape/look for subtitles (ex. http://www.subtitlesource.org/title/tt0325710/).
  • Proposed menus. Partly working since v2.2.0
  • Configuration via web page.
  • Avalaunch style backgrounds. (Ex. fetch picture from NASA every 30s and refresh) for mp3/playlists.
  • Playing mp3s, and photos from RAR files don't appear to work.
  • When playing music, allow to specify pictures to view.
  • Explore what more power we get from libdvdnav: choose audio tracks etc. ALso, subtitle streams since C200 can display!
  • Support ANT's Movie Database .xml files.
    • Difficult. ANT did weird things like put entire DB in one giant XML, with no references to the disk path.
  • Support Movienizer's Movie Database .xml files. Please provide sample .xml files for inspection.
  • Remote skin support, e.g. invoke play from an iPhone or any other web enabled device.
  • Apparently directories/files with "&" may not get a tick in the visited db. URL decoding?
  • Make ticked directories become un-ticked when new files (unticked) files are added to the directory.
  • Add NMJ sqlite DB support. Test MediaInfo source [1] is working.
  • BUG: upnp missing filters/sortcriteria.

User guide and other documentation

Feel free to contribute to the wiki documentation:

Download binaries

Note: if you are in luck, devices not listed here may share platform and architecture. Please report your success/failure.

  • Windows 2.3.0 binaries for Windows OS
  • OsX 2.3.1 binaries for Apple Macintosh Os X. App Store submitted.
  • NMT 2.3.0 binaries for the Network Media Tank (Popcornhour A-100, C200 etc.) Please use CSI to install
  • Linux 2.3.0 binaries for Linux OS, Intel (add more if you can)
  • OpenSolaris 2.2.5 binaries for OpenSolaris (Solaris 11) OS, Intel
  • ReadyNAS 2.2.2 binaries and instructions for Infrant/Netgear ReadyNAS
  • Synology 2.2.4 binaries and older, instructions for Synology NAS (ppc and arm)
  • Asus WL-500GL binaries for Asus router running OpenWrt
  • Asus WL-500g Premium binaries for Asus router running Oleg's firmware
  • landisk binaries for IO-Data landisk uhdl-av, cpu-SH4
  • "llink on a stick" let's you run llink from a USB stick or external USB drive (unmaintained)
  • D-Link DNS-323 binaries and instructions for D-Link NAS
  • Bubba server 2.2.0 Linux compile instructions (no binaries)
  • AzBox HD 2.2.0 plugin binaries
  • Buffalo 2.2.3 binaries and instructions for Buffalo Linkstation (arm)
  • Thecus N5200-N0503 2.2.2 binaries (intel Atom)
  • QNAP 2.2.4 binaries for QNAP TS-109/209 series (arm)

(Compilers, you can upload new versions directly in the wiki, see Synology page as example)

Sources

Known issues

Although llink is capable of many things, there are limitations that should be known to users. Please read here for details: Llink:Known_issues

Changelog

The llink changelog contains the basic release notes history.


Transcoding

  • Transcoding is a large subject, full of endless tweaks and hacks. I am hoping there are users willing to help find the correct settings that will work for most.