libera/#maemo/ Tuesday, 2019-11-19

sunshavihi guys. If I have a video with a couple of audio streams japanese and english. Is there a way of listening english when the default audio is japanese?01:16
Maxdamantussunshavi: on mplayer/mpv, the key for switching audio streams is '#'01:20
Maxdamantusdunno what people use to play things on Maemo though.01:20
sunshavithe built-in media player is the one that get the better quality01:26
sunshavimplayer is not that good even it recognize more formats01:26
sunshavion my workstation mpv gives me better performance than mplayer. Has somebody compiled mpv for n900?01:27
sunshaviperhaps i could try it01:27
sunshavimplayer is not able of playing my converted video in the best quality for n90001:28
DocScrutinizer05playing videos is mainly a question of encoding/decoding (h.264(?) etc) where the hw support in N900 OMAP3 CPU is limited, of original resolution and (down)scaling. I know all this isn't exactly helpful info for you, but it may shed some light on what to look for02:21
sunshavithen i am going to find the command for reencoding it with ffmpeg an setting-up english as the default launguage.02:23
sunshavidocscrutinizer05: thanks02:23
DocScrutinizer05stuff like mpv, mplayer etc usually(!) will do mere software decoding, while the "built-in" genuine mediaplayer uses a lib that exploits the DSP02:24
DocScrutinizer05mafw?02:24
DocScrutinizer05~ocp02:25
DocScrutinizer05~docs02:26
infobotAsterisk documentation is available at http://wiki.asterisk.org (Official Asterisk Documentation Wiki), the Voip-Info wiki at http://voip-info.org (~voip-info) or Asterisk: The Future of Telephony (~book)02:26
DocScrutinizer05meh!02:26
DocScrutinizer05~listvalues #maemo.*mediaplayer02:27
infobotFactoid search of '#maemo.*mediaplayer' by value returned no results.02:27
DocScrutinizer05~listvalues #maemo.*player02:27
infobotFactoid search of '#maemo.*player' by value returned no results.02:27
DocScrutinizer05~listvalues #maemo*player02:27
infobotFactoid search of '#maemo*player' by value returned no results.02:27
DocScrutinizer05~development02:28
infobotdevelopment is, like, http://www.handhelds.org/z/wiki/How%20to%20compile%20applications%20and%20develop%20for%20the%20iPAQ02:28
DocScrutinizer05ohmy02:28
DocScrutinizer05I'm an idiot02:28
DocScrutinizer05~listvalues mafw02:28
infobotFactoid search of 'mafw' by value (1): mafw.02:28
DocScrutinizer05~mafw02:29
infobotrumour has it, mafw is http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Multimedia_Components/Media_Application_Framework_%28MAFW%2902:29
DocScrutinizer05sunshavi: ^^^02:31
DocScrutinizer05gstreamer is your best bet, along with players that use gstreamer plugins for playback of videos02:32
sunshavidocscrutinizer05: thanks i am going to check it03:20
grywhy does https://maemo.org/packages/ require login? where do i browse the packages without logging in?04:27
sunshavigry: rm the 's' from https. :)04:29
gryThat works. Thank you. How do I install lighttpd on a n900? At the moment I get http://dpaste.com/2WZ2J55.txt .04:31
sunshavisudo rm /var/lib/dpkg/lock04:33
grysunshavi: Thanks.04:34
grysunshavi: "root is not in the sudoers file.  This incident will be reported." <-- Haha. Removed the "sudo". That worked.04:34
grysunshavi: Now I have http://dpaste.com/2FHW0SB.txt04:34
sunshavii do not remember the exact cmd probably install sudser04:35
sunshavifor getting sudo working04:35
sunshavilet me check my n90004:35
sunshaviyes it is sudser04:36
sunshavifor now you need to know ur root pwd04:37
grysunshavi: yes, I know my root password; how do I resolve the dependency problem in the last paste?04:39
sunshavidownload manually libpcre305:19
gryhmm05:20
sunshavifrom https//maemo.org/packages/05:20
sunshaviand use dpkg -i libprce3xyz.deb05:20
grythis has separate downloads for separate architectures05:20
gryand i don't know my architecture05:20
sunshaviarmel05:21
sunshaviand also freemantle05:21
gryFremantle SDK free armellibpcre3 6.7-1osso1+r105:21
grythis is ok?05:21
sunshavithe last one was just in case05:21
sunshavii guess. yes05:21
gry"-sh: wget: not found" excellent.. what package is that, please, if you remember? o_O05:22
sunshavilet me check05:24
sunshavirc  wget                                                1.10.2-2osso3                              retrieves files from the web05:25
sunshavi05:25
sunshavithe name is wget05:25
gryok, thanks so much05:27
grylighttpd is installing now; thanks for your help, sunshavi05:30
sunshaviyw05:31
gryi may also need php, but 'apt-cache search php' returned no relevant results as i can see05:31
gryhttp://dpaste.com/0R3RQHN.txt05:32
grymaybe i should add extras-devel, http://maemo.org/packages/view/php5/05:33
sunshavinow you know. You can install it manually. If not there compile it05:34
gryok, thanks05:34
sunshaviat the right sido on  http://maemo.org/packages there is info about the last compiled packages. People still compile some maemo packages05:35
sunshavis/sido/side/05:37
infobotsunshavi meant: at the right side on  http://maemo.org/packages there is info about the last compiled packages. People still compile some maemo packages05:37
brolin_empeysixwheeledbeast: I realise that “BIOS” is commonly (mis)used to mean “(motherboard) firmware” even though the IBM PC/AT compatible BIOS seems to have been largely replaced by the (u)EFI in the x86 computer market but I thought that an Intel x86 platform motherboard, at least a desktop/workstation/server/notebook one, that has a literal BIOS as opposed to EFI is necessarily old because apparently all COTS motherboards use only EFI, not BIOS, beginning08:01
brolin_empey somewhere after Nehalem.08:01
brolin_empeyBy “Intel x86 platform motherboard” I mean all brands of motherboards that use an x86 platform from Intel, not only Intel brand of motherboards.08:05
brolin_empeyI have not been following recent developments in the AMD x86 market but I guess that somewhat recent motherboards for an AMD x86 platform are the same as somewhat recent motherboards for an Intel x86 platform in that most if not all motherboards now use EFI instead of BIOS.  Is there any Ryzen era or Socket AM3 or newer (Socket AM4) motherboard that still uses BIOS instead of EFI?08:12
KotCzarnysunshavi: if all you need is changing/removing audio track, avconv/ffmpeg will re-mux the file without re-encoding (much faster)08:25
DocScrutinizer05sudser is BS. use `root`12:04
DocScrutinizer05sudo rm /var/lib/dpkg/lock strongly deprecated, you just wait until apt-worker did its thing12:07
KotCzarnyyou mean 'discouraged'12:07
DocScrutinizer05I mean PFUIBAH!12:08
bencohsunshavi: hmm, I wrote a gstreamer-based video player that allows cycling through audio track as well12:12
bencoh(and it benefits from hardware video decoding as well, since it's gstreamer-based)12:12
DocScrutinizer05it's known in olden times HAM started apt-worker backend which locked the dpkg database for up to 1ß minutes after closing HAM. Fix: get speedyham/cssu and don't use HAM at all when you want to use apt/dpkg12:13
bencohI have never released it though ... if you want to try it: http://muarf.org/~bencoh/maemo/gstkplay12:13
bencoh(press # to cycle through audio)12:13
DocScrutinizer05hi bencoh12:13
bencohDocScrutinizer05: hey there :)12:13
DocScrutinizer05apropos: `root` is an alias for gainroot12:14
DocScrutinizer05which still is the only one of two supported ways to gain root, ssh root@localhost  being the other one12:15
DocScrutinizer05iirc sudser fubars your system12:16
DocScrutinizer05by fubar I mean: reflash to fix, uninstall won'tdo shit12:18
DocScrutinizer05the sudo system in maemo is a tad... special12:18
DocScrutinizer05it been ahead of its time, implementing stuff like sudoers.d/* when official sudo package zpstream didn't have any of that yet12:19
* KotCzarny uses rootsh app12:20
DocScrutinizer05that's the one. gainroot comes with rootsh12:20
DocScrutinizer05~jrtools12:21
infobotfrom memory, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools12:21
DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/tools#.22root.22_your_device12:22
sicelofor my sync question a couple of days ago, i want to try syncevolution(n900) + radicale (server) + davx5 (android/fdroid) for syncing contacts bettween n900 & sgs712:57
sicelocrossing fingers that it'll work12:58
DocScrutinizer05good luck! :-)12:59
DocScrutinizer05apropos gainroot, it's`sudo gainroot`13:02
DocScrutinizer05aka `root`13:03
sunshavii installed sudser on 2010. and never looked back again13:06
sunshaviit has do the work for me. without issues. If I reflash I could re-though it. I use it from my times with N800 (the best tablet far away cos of the dpad)13:07
sunshavi~sudser15:18
sunshavibencoh: thanks. It works15:57
bencoh:)15:57
bencohsunshavi: http://pastebin.notk.org/pastebin.php?show=f4ef8e805 for the full shortcuts list15:58
bencoh(I eventually disabled subtitles though, so cycling through text won't do anything unless I'm mistaken)15:59
bencoh(and I really need to commit/push that code ...)16:00
sunshaviand actually it helps also cos tracker does not activate on every video playback16:03
sunshaviyes about subtitles. this video has subtitles and it is not showing up16:03
sunshavithis is just an idea. But perhaps could be possible converting youtube-dl to a binary app on n900. I have read it is possible to convert a python script to binary. :). Who knows maybe someday. youtube-dl changes almost once a month16:08
KotCzarnysunshavi: not going to happen just because of that16:09
KotCzarnybetter to keep it as a script16:09
bencohsunshavi: you can use my player with cutetube16:10
bencohregarding subtitles, enabling them just kills performances16:10
sunshaviok. not an issue at all then16:11
bencoh:)16:11
sunshavicutetube is not working on my device16:11
bencoheither it's a libsoup/tls issue (fmg released a fixed version on tmo), or cutetube stopped working altogether16:12
sunshavii have tried fmg last version. But video is not playing16:12
KotCzarnyisnt there cutetube2 or something?16:12
bencohKotCzarny: sure, I mean cutetube2 :)16:12
sunshaviit searches. But it does not play16:12
KotCzarny:)16:12
bencohI'll have to try that later here16:13
sunshaviwe checked with maxdamantus. He helped me. But we did not get it working on my device.16:13
sunshavibencoh: I am going to try to use gstkplay with cutetube and see where it leads16:14
sunshavibencoh: it did not worked. perhaps tls is the issue who knows16:21
bencohlemme check here16:48
bencohhere cutetube2 fails retrieving the video formats list ...16:51
bencohI probably need to update cutetube or qyoutube, but ...16:52
bencohyup, works with latest qyoutube (built from github.com/fmg)16:59
bencohand gstkplay is playing a https url17:00
bencohI think you need an patched gstreamer/soup plugin for that, but I don't quite remember to be honest ...17:06
sunshavilet's see my versions17:07
bencohhmm it doesn't look like I patched gst-plugins-good here, so libsoup might be enough17:09
sunshavihttps://termbin.com/aj6x17:09
bencoh2.30.2-1+squeeze1+0m5 same here17:10
bencohI also have 2.26.3-3maemo0 but I suppose that one is not used (?)17:10
sunshavii do not have that one17:11
sunshavihave You compiled cutetube2?. Could that be the issue?17:11
bencohcutetube2 is from extras(-devel iirc)17:12
sunshavii have got mine from tmo17:12
bencohI just recompiled qyoutube http://muarf.org/~bencoh/maemo/qyoutube_0.1.9-2_armel.deb17:12
bencohcutetube2 0.5.217:12
sunshaviSetting up qyoutube (0.1.9-2) ...17:15
sunshavii am going to try it now17:15
sunshaviyes17:16
bencohit should only fix the "no stream found" issue17:16
sunshaviit works17:16
bencohyay :)17:16
sunshavithat was the issue17:16
sunshavibencoh: thanks17:16
bencohyw :)17:16
bencohoh by the way, the main reason I eventually decided to use it with cutetube is to avoid the video tearing issues17:17
bencohcutetube2 (and probably every qt/phonon video player on n900) shows some tearing (probably due to how the qt/gst bridge works)17:18
sunshavimmm. by dft i have open media player. probably it should work too. But the best thing is playing youtube videos (video podcast). i follow several ones17:18
bencohfor some reason mediaplayer does not always play here17:19
bencohit somehow fails to load media ... and reloading mafw-gst usually helps with that17:19
bencohat some point I gave up on it17:19
sunshavigood to know. probably first time i am going to watch youtube  videos on n90017:20
bencohand I've always wanted a lightweight player with mplayer-like bindings/behavior anyway17:20
sunshaviyes. but mplayer is resource hog. And does not play best quality for n900 videos17:21
bencohhaha, I check/fix it on mine from time to time, but I hardly ever use it for real either17:21
bencohwhich is why I implemented gstkplayer as a replacement, yeah :)17:21
bencoh(wasn't that hard either to be honest)17:21
sunshaviit is time. You know. i have used gstreamer for playing audio on n800. the commands were not easily found. It differs from my workstation commands (time has happened).17:22
bencohUsing gst-launch is just a horrible experience :)17:23
sunshavithat's the one i was using17:23
dreamer1.0 or 0.1? :P17:24
bencohboth are horrible I'd say :>17:24
dreamer(but yeah gst-launch is just meant for debugging the gst API, not to actually use in 'production')17:24
sunshavii do not remember exactly. But let me see what i have on my n90017:24
* dreamer is guilty of using gst-launch directly despite all warnings not to17:24
sunshavii have used most time n800 than n90017:25
sunshavithis is my line: exec gst-launch-1.0 filesrc location="$1" ! $MY_AUDIO_CODEC ! $MY_OUT_PLUGIN17:26
sunshavihttps://termbin.com/j8wx17:31
sicelosunshavi: iirc MaxD mentioned that youtube-dl works in EasyDeb, s/cu17:53
siceloah, error17:54
sunshaviyes. within a chroot18:03
KotCzarnythere is gst12318:08
KotCzarnywhich simplifies interacting with gstreamer18:08
sunshavikotczarny: i did not know at that time18:17
MaxdamantusYes, I use it in a debian chroot (just regular debian, haven't used easydeb)19:57
MaxdamantusYou don't need to build it either, just check out and directly run `youtube_dl/__main__.py` (I have that symlinked to make it easier)20:01
MaxdamantusIt has some optional compilation step which seems to just bundle the sources into a single file.20:01
MaxdamantusIt might have a faster startup time when using the compiled version. Without compilation, `youtube-dl --help` takes 8 seconds, but since I usually only use it when I have very slow internet speeds available, that extra startup time isn't particularly important for me.20:05

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!