Re: [gentoo-user] OT: what audio file format / container to play on Android.

2016-07-01 Thread Willie M
On 07/01/2016 03:10 PM, Stroller wrote:
> I've only recently started using my Android device for playing audio.
> 
> About once a week I listen to a podcast, which is usually an MP3 I've 
> downloaded from NPR.org.
> 
> On my laptop I copy these to Google Drive (big shout to net-misc/drive) and 
> then I can access then via Drive on my Android phone.
> 
> Google Drive on Android seems to play these audio files on a built-in player; 
> its only controls are to skip forwards or backwards 30 seconds, but this is 
> adequate for podcasts. 
> 
> I have here a BBC radio show that I downloaded a couple of weeks ago with 
> net-misc/youtube-dl.
> 
> When downloaded it saves as an .mp4 file. I have also tried renaming it to 
> .m4a but, either way, Google Drive complains "unable to process this video".
> 
> How do I need to process this audio to get it to play, please?
> 
> I'd obviously prefer to keep the same audio stream, rather than transcoding 
> it. I assume that the player can handle AAC (??), it just needs to be in 
> another container.
> 
> Thanks in advance for any suggestions,
> 
> Stroller.
> 
> 
> 
> Details:
> 
> 
> $ youtube-dl http://www.bbc.co.uk/programmes/b07fl5bh
> [bbc.co.uk] b07fl5bh: Downloading video page
> [bbc.co.uk] b07fl2qw: Downloading media selection XML
> [bbc.co.uk] b07fl2qw: Downloading m3u8 information
> [bbc.co.uk] b07fl2qw: Downloading m3u8 information
> [bbc.co.uk] b07fl2qw: Downloading m3u8 information
> [hlsnative] Downloading m3u8 manifest
> [hlsnative] Total fragments: 390
> [download] Destination: The Bronze Age Collapse, In Our Time - BBC Radio 
> 4-b07fl2qw.mp4
> [download] 100% of 40.56MiB in 01:42
> [ffmpeg] Fixing malformated aac bitstream in "The Bronze Age Collapse, In Our 
> Time - BBC Radio 4-b07fl2qw.mp4"
> $ file The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\ -\ BBC\ Radio\ 
> 4-b07fl2qw.mp4
> The Bronze Age Collapse, In Our Time - BBC Radio 4-b07fl2qw.mp4: ISO Media, 
> MP4 Base Media v1 [IS0 14496-12:2003]
> $ midentify The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\ -\ BBC\ Radio\ 
> 4-b07fl2qw.mp4
> ID_AUDIO_ID=0
> ID_AID_0_LANG=eng
> ID_CLIP_INFO_NAME0=major_brand
> ID_CLIP_INFO_VALUE0=isom
> ID_CLIP_INFO_NAME1=minor_version
> ID_CLIP_INFO_VALUE1=512
> ID_CLIP_INFO_NAME2=compatible_brands
> ID_CLIP_INFO_VALUE2=isomiso2mp41
> ID_CLIP_INFO_NAME3=encoder
> ID_CLIP_INFO_VALUE3=Lavf56.25.101
> ID_CLIP_INFO_N=4
> ID_FILENAME=The\ Bronze\ Age\ Collapse,\ In\ Our\ Time\ -\ BBC\ Radio\ 
> 4-b07fl2qw.mp4
> ID_DEMUXER=lavfpref
> ID_AUDIO_FORMAT=MP4A
> ID_AUDIO_BITRATE=128000
> ID_AUDIO_RATE=48000
> ID_AUDIO_NCH=2
> ID_START_TIME=0.00
> ID_LENGTH=2495.91
> ID_SEEKABLE=1
> ID_CHAPTERS=0
> ID_AUDIO_BITRATE=128000
> ID_AUDIO_RATE=48000
> ID_AUDIO_NCH=2
> ID_AUDIO_CODEC=ffaac
> ID_EXIT=EOF
> $
> 
> 

You can just have youtube-dl download just the audio of the youtube video.

youtube-dl -x --audio-format mp3 http://www.bbc.co.uk/programmes/b07fl5bh

You can also set other formats for the audio

"best", "aac", "vorbis", "mp3", "m4a", "opus", or "wav"

-- 

Willie Matthews
matthews.willi...@gmail.com



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Call for opinions and/or use cases regarding games.eclass

2016-07-01 Thread Daniel Campbell
On 07/01/2016 12:34 PM, Terry Z. wrote:
> On Fri, Jul 1, 2016 at 4:27 AM, Daniel Campbell  > wrote:
> 
> Most of us know about the games.eclass history. Let's put that aside;
> I'm looking for user consensus on packages that use(d) games.eclass.
> 
> 1. Do you take advantage of games.eclass features, including restricting
> game access to a given group and installing games outside of /usr and/or
> on different media?
> 
> 
> I like the game group feature.  On a multiuser system it makes it fairly
> simplistic to ensure access goes to whom I want to have access to those
> games.  It also behaves similarly to other services which allow non root
> users to run things based on their group membership.
> 
> I do not really care much about the ability to install outside of /usr,
> but I can see that being very useful.  Of course, a symlink can provide
> this same feature.

Could you share a little more about your use case? You mentioned
multi-user and restricting based on group membership. Do you have
children that you don't want playing specific games, is this a work
environment?

The more information, the merrier. With the removal of games.eclass,
this case is going away, so if I or others can learn more about your use
case, we might be able to help you figure out how to better meet that
use case, or begin drafting features and/or documentation to make this
possible again.

> 2. If yes, how do you feel about the removal of the eclass? Did you rely
> on its functionality? Does your use case require it?
> 
> 
> I have very few personal ebuilds that take advantage of much of the
> features other than the group reqs etc.  Still, I see the value in them.
>  
Which features are your personal ebuilds using? Could you supply a
snippet or even a paste somewhere that shows what you're doing?

> 3. If yes, _what is your use case_? Which features are important to your
> use case wrt games and what can Gentoo do to improve that.
> 
> 
> I make use of the games group in my personal ebuilds.  I find some of
> the other features provided in games.eclass potentially useful, but do
> not make immediate needs of them.
>  
> 
> We cannot make concrete decisions without concrete evidence, so please
> answer and speak for your use case. This will serve as a public record
> of interest, and might even inspire a few people. :)
> 
> Thanks for your time,
> 
> ~zlg
> --
> Daniel Campbell - Gentoo Developer
> OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net 
> fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
> -- 
> The irony is that Bill Gates claims to be making a stable operating
> system and Linus Torvalds claims to be trying to take over the world.
> -- seen on the net

Thanks again for supplying information to help form an accurate view of
things.


-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6



signature.asc
Description: OpenPGP digital signature


[gentoo-user] OT: what audio file format / container to play on Android.

2016-07-01 Thread Stroller
I've only recently started using my Android device for playing audio.

About once a week I listen to a podcast, which is usually an MP3 I've 
downloaded from NPR.org.

On my laptop I copy these to Google Drive (big shout to net-misc/drive) and 
then I can access then via Drive on my Android phone.

Google Drive on Android seems to play these audio files on a built-in player; 
its only controls are to skip forwards or backwards 30 seconds, but this is 
adequate for podcasts. 

I have here a BBC radio show that I downloaded a couple of weeks ago with 
net-misc/youtube-dl.

When downloaded it saves as an .mp4 file. I have also tried renaming it to .m4a 
but, either way, Google Drive complains "unable to process this video".

How do I need to process this audio to get it to play, please?

I'd obviously prefer to keep the same audio stream, rather than transcoding it. 
I assume that the player can handle AAC (??), it just needs to be in another 
container.

Thanks in advance for any suggestions,

Stroller.



Details:


$ youtube-dl http://www.bbc.co.uk/programmes/b07fl5bh
[bbc.co.uk] b07fl5bh: Downloading video page
[bbc.co.uk] b07fl2qw: Downloading media selection XML
[bbc.co.uk] b07fl2qw: Downloading m3u8 information
[bbc.co.uk] b07fl2qw: Downloading m3u8 information
[bbc.co.uk] b07fl2qw: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 390
[download] Destination: The Bronze Age Collapse, In Our Time - BBC Radio 
4-b07fl2qw.mp4
[download] 100% of 40.56MiB in 01:42
[ffmpeg] Fixing malformated aac bitstream in "The Bronze Age Collapse, In Our 
Time - BBC Radio 4-b07fl2qw.mp4"
$ file The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\ -\ BBC\ Radio\ 
4-b07fl2qw.mp4
The Bronze Age Collapse, In Our Time - BBC Radio 4-b07fl2qw.mp4: ISO Media, MP4 
Base Media v1 [IS0 14496-12:2003]
$ midentify The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\ -\ BBC\ Radio\ 
4-b07fl2qw.mp4
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=isom
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=512
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isomiso2mp41
ID_CLIP_INFO_NAME3=encoder
ID_CLIP_INFO_VALUE3=Lavf56.25.101
ID_CLIP_INFO_N=4
ID_FILENAME=The\ Bronze\ Age\ Collapse,\ In\ Our\ Time\ -\ BBC\ Radio\ 
4-b07fl2qw.mp4
ID_DEMUXER=lavfpref
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=2495.91
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffaac
ID_EXIT=EOF
$




Re: [gentoo-user] Call for opinions and/or use cases regarding games.eclass

2016-07-01 Thread Terry Z.
On Fri, Jul 1, 2016 at 4:27 AM, Daniel Campbell  wrote:

> Most of us know about the games.eclass history. Let's put that aside;
> I'm looking for user consensus on packages that use(d) games.eclass.
>
> 1. Do you take advantage of games.eclass features, including restricting
> game access to a given group and installing games outside of /usr and/or
> on different media?
>
>
I like the game group feature.  On a multiuser system it makes it fairly
simplistic to ensure access goes to whom I want to have access to those
games.  It also behaves similarly to other services which allow non root
users to run things based on their group membership.

I do not really care much about the ability to install outside of /usr, but
I can see that being very useful.  Of course, a symlink can provide this
same feature.

2. If yes, how do you feel about the removal of the eclass? Did you rely
> on its functionality? Does your use case require it?
>

I have very few personal ebuilds that take advantage of much of the
features other than the group reqs etc.  Still, I see the value in them.


>
> 3. If yes, _what is your use case_? Which features are important to your
> use case wrt games and what can Gentoo do to improve that.
>

I make use of the games group in my personal ebuilds.  I find some of the
other features provided in games.eclass potentially useful, but do not make
immediate needs of them.


> We cannot make concrete decisions without concrete evidence, so please
> answer and speak for your use case. This will serve as a public record
> of interest, and might even inspire a few people. :)
>
> Thanks for your time,
>
> ~zlg
> --
> Daniel Campbell - Gentoo Developer
> OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
> fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
>
>


-- 
The irony is that Bill Gates claims to be making a stable operating system
and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Re: [gentoo-user] Call for opinions and/or use cases regarding games.eclass

2016-07-01 Thread Rich Freeman
On Fri, Jul 1, 2016 at 1:27 PM, Róbert Čerňanský  wrote:
>
> I'm not sure what are all the features it provides.  But I do like that
> (at least) some games share scores between users (in /var/games). It is
> "nice to have" feature.
>
> Also it is great advantage that emerge can ask for original game
> installation media.  I'd feel more sorry for this one to be gone.
>

Fortunately neither of these would go away.

-- 
Rich



Re: [gentoo-user] Call for opinions and/or use cases regarding games.eclass

2016-07-01 Thread Róbert Čerňanský
On Fri, 1 Jul 2016 01:27:37 -0700
Daniel Campbell  wrote:

> 1. Do you take advantage of games.eclass features, including
> restricting game access to a given group and installing games outside
> of /usr and/or on different media?

I'm not sure what are all the features it provides.  But I do like that
(at least) some games share scores between users (in /var/games). It is
"nice to have" feature.

Also it is great advantage that emerge can ask for original game
installation media.  I'd feel more sorry for this one to be gone.

> 3. If yes, _what is your use case_? Which features are important to
> your use case wrt games and what can Gentoo do to improve that?

More games. ;-)

Robert


-- 
Róbert Čerňanský
E-mail: ope...@tightmail.com
Jabber: h...@jabber.sk



[gentoo-user] Security Onion on Gentoo

2016-07-01 Thread James
Hello,


So net-analyzer/suricata is all the rage now. The 'Security Onion' is
often pitched as a suricata distro. [1] Many of the commonly listed
packages that are part of the security onion are already in gentoo.

So, are there suricata users on gentoo-user? If so, do you use any
of the key listed software found on the security onion, as part of your
IDS/NDS/etc security toolset?


Would anyone be interested in combining these software components found
on the securtiy onion onto gentoo? [2] 


[2] https://securityonion.net/

[1] https://oisf.net/suricata/

[3] http://pevma.blogspot.com/search/label/Suricata




[gentoo-user] Call for opinions and/or use cases regarding games.eclass

2016-07-01 Thread Daniel Campbell
Most of us know about the games.eclass history. Let's put that aside;
I'm looking for user consensus on packages that use(d) games.eclass.

1. Do you take advantage of games.eclass features, including restricting
game access to a given group and installing games outside of /usr and/or
on different media?

2. If yes, how do you feel about the removal of the eclass? Did you rely
on its functionality? Does your use case require it?

3. If yes, _what is your use case_? Which features are important to your
use case wrt games and what can Gentoo do to improve that?

We cannot make concrete decisions without concrete evidence, so please
answer and speak for your use case. This will serve as a public record
of interest, and might even inspire a few people. :)

Thanks for your time,

~zlg
-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6



signature.asc
Description: OpenPGP digital signature