Re: [gentoo-user] perl-cleaner lerfovers

2015-02-16 Thread Mick
On Monday 16 Feb 2015 16:35:15 Alexander Kapshuk wrote:
 On Mon, Feb 16, 2015 at 12:52 AM, Walter Dnes waltd...@waltdnes.org wrote:
  On Sat, Feb 14, 2015 at 02:46:01PM +0200, Alexander Kapshuk wrote
  
   I didn't know that. Thanks. I seem to have quite a few in my world file
  
  at
  
   the moment. I didn't put any of them in there by hand though, to the
   best of my knowledge.
   
   grep -i libs /var/lib/portage/world
   dev-libs/glib
   dev-libs/libevent
   dev-libs/libyaml
   media-libs/gst-plugins-base
   media-libs/gst-plugins-base:0.10
   media-libs/gstreamer
   media-libs/gstreamer:0.10
   media-libs/libpng
   media-libs/libpng:1.2
   media-libs/libpng:1.5
   media-libs/libv4l
   media-libs/webrtc-audio-processing
   sys-libs/gpm
   
As Peter has noted, you probably updated most of these files manually
  
  without supplying the -1 (or --oneshot) option.  I do know that
  sys-libs/gpm must be in world if you want a text-console mouse-pointer,
  because it's a user-selected install.  I checked on my system.  The
  following are on my system, but not in world.
  
  dev-libs/glib
  dev-libs/libevent
  media-libs/libpng (=media-libs/libpng-1.6.16)
  
If you've emerged any package with the gstreamer flag, then...
  
  media-libs/gst-plugins-base
  media-libs/gst-plugins-base:0.10
  media-libs/gstreamer
  media-libs/gstreamer:0.10
  
  ...don't belong in world.  If you want to clean up world safely, I
  suggest the following...
  
  1) make a backup of /var/lib/portage/world
  
  2) edit /var/lib/portage/world, by removing the following lines...
  
  dev-libs/glib
  dev-libs/libevent
  media-libs/libpng
  media-libs/libpng:1.2
  media-libs/libpng:1.5
  media-libs/gst-plugins-base
  media-libs/gst-plugins-base:0.10
  media-libs/gstreamer
  media-libs/gstreamer:0.10
  
  3) run the command emerge -p --depclean and post the output back here
  before doing anything more.
  
  --
  Walter Dnes waltd...@waltdnes.org
  I don't run desktop environments; I run useful applications
 
 Thanks for your reply.
 
 What I've done on two of my gentoo systems is, what had been suggested in
 one of the earlier replies to this thread. I ran emerge -C `grep -i libs
 /var/lib/portage/world`, followed by emerge @preserved-rebuild.
 While on another one of my systems I tried emerge --deselect `grep -i libs
 /var/lib/portage/world`, followed by emerge --depclean.
 
 As a result, I no longer have any libs in my world set.
 
 I should probably put sys-libs/gpm back into the world set via emerge
 --noreplace, based on what you said about the package.
 
 I should probably look into what does and what doesn't have to go into the
 world file. Up until recently I assumed that portage would figure that out
 for me.

It does/should.  Until you run regenworld, or emerge -u package.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re:pipelight problems

2015-02-16 Thread NP-Hardass
Justin Findlay jfind...@gmail.com Wrote in message:
 I have been using pipelight in firefox successfully for several months.
 However, recently I upgraded wine and pipelight and now
 pipelight/silverlight is not recognized by firefox and is not listed
 under plugins at about:addons.
 
 I've followed the instructions here:
 http://wiki.gentoo.org/wiki/Netflix/Pipelight and everything worked
 except for this step:
 
 demeter ~ master # pipelight-plugin --enable silverlight
 ERROR: Your system is missing a copy of
 /usr/lib64/pipelight/libpipelight.so at
 /usr/lib64/pipelight/libpipelight-silverlight5.1.so
 
 After I did
 
 ln -s
 /usr/lib64/debug/usr/lib64/pipelight/libpipelight-silverlight5.1.so.debug 
 /usr/lib64/pipelight/libpipelight-silverlight5.1.so
 
 everything else seemed to work correctly according to the wiki instructions.
 
 This is what I've tried so far:
 
 rm -fr .wine-pipelight/
 mv .mozilla mozilla
 downgrade firefox from 35.0 to 31.4.0
 
 emerge and further info:
 https://gist.github.com/jfindlay/889430e783e19a6798c8
 
 
 Justin
 
 
 

I dont have a running system n front of me at this moment and I
 will
post back when I am, but if I recall correctly, there is a
 flag to create mozilla plugins. Give that a try. Also, if you use
 IRC, I frequent #gentoo-wine and offer help there when people
 request it.
-- 
--
NP-Hardass


Android NewsGroup Reader
http://usenet.sinaapp.com/




[gentoo-user] Re:pipelight problems

2015-02-16 Thread NP-Hardass
Justin Findlay jfind...@gmail.com Wrote in message:
 I have been using pipelight in firefox successfully for several months.
 However, recently I upgraded wine and pipelight and now
 pipelight/silverlight is not recognized by firefox and is not listed
 under plugins at about:addons.
 
 I've followed the instructions here:
 http://wiki.gentoo.org/wiki/Netflix/Pipelight and everything worked
 except for this step:
 
 demeter ~ master # pipelight-plugin --enable silverlight
 ERROR: Your system is missing a copy of
 /usr/lib64/pipelight/libpipelight.so at
 /usr/lib64/pipelight/libpipelight-silverlight5.1.so
 
 After I did
 
 ln -s
 /usr/lib64/debug/usr/lib64/pipelight/libpipelight-silverlight5.1.so.debug 
 /usr/lib64/pipelight/libpipelight-silverlight5.1.so
 
 everything else seemed to work correctly according to the wiki instructions.
 
 This is what I've tried so far:
 
 rm -fr .wine-pipelight/
 mv .mozilla mozilla
 downgrade firefox from 35.0 to 31.4.0
 
 emerge and further info:
 https://gist.github.com/jfindlay/889430e783e19a6798c8
 
 
 Justin
 
 
 

--create-mozilla-plugins
That was the flag i was thinking of.

--
NP-Hardass


Android NewsGroup Reader
http://usenet.sinaapp.com/




Re: [gentoo-user] firefox 31.3 - no youtube video

2015-02-16 Thread Mick
On Monday 16 Feb 2015 06:51:54 cov...@ccs.covici.com wrote:
 Gevisz gev...@gmail.com wrote:
  On Sun, 15 Feb 2015 23:29:22 -0700 Joseph syscon...@gmail.com wrote:
   After recent update to Firefox 31.3 youtube videos won't play.
  
  Recent update of Firefox was to 31.4, at least on amd64
  but when I was on 31.3 I noticed no change in my youtube
  experience: approximately half of their videos can be played.
  
  P.S. I have no flash player installed.
 
 Try a new profile, I had a similar problem and that solved it.  You may
 need flash also, as I could never get the html5 player to work with
 firefox -- currently 35.0.1.

You may want to have a look here:

http://wiki.gentoo.org/wiki/ALSA#HTML5_does_not_play_in_firefox_browser


-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] perl-cleaner lerfovers

2015-02-16 Thread Alexander Kapshuk
On Mon, Feb 16, 2015 at 12:52 AM, Walter Dnes waltd...@waltdnes.org wrote:

 On Sat, Feb 14, 2015 at 02:46:01PM +0200, Alexander Kapshuk wrote
 
  I didn't know that. Thanks. I seem to have quite a few in my world file
 at
  the moment. I didn't put any of them in there by hand though, to the best
  of my knowledge.
 
  grep -i libs /var/lib/portage/world
  dev-libs/glib
  dev-libs/libevent
  dev-libs/libyaml
  media-libs/gst-plugins-base
  media-libs/gst-plugins-base:0.10
  media-libs/gstreamer
  media-libs/gstreamer:0.10
  media-libs/libpng
  media-libs/libpng:1.2
  media-libs/libpng:1.5
  media-libs/libv4l
  media-libs/webrtc-audio-processing
  sys-libs/gpm

   As Peter has noted, you probably updated most of these files manually
 without supplying the -1 (or --oneshot) option.  I do know that
 sys-libs/gpm must be in world if you want a text-console mouse-pointer,
 because it's a user-selected install.  I checked on my system.  The
 following are on my system, but not in world.

 dev-libs/glib
 dev-libs/libevent
 media-libs/libpng (=media-libs/libpng-1.6.16)

   If you've emerged any package with the gstreamer flag, then...

 media-libs/gst-plugins-base
 media-libs/gst-plugins-base:0.10
 media-libs/gstreamer
 media-libs/gstreamer:0.10

 ...don't belong in world.  If you want to clean up world safely, I
 suggest the following...

 1) make a backup of /var/lib/portage/world

 2) edit /var/lib/portage/world, by removing the following lines...

 dev-libs/glib
 dev-libs/libevent
 media-libs/libpng
 media-libs/libpng:1.2
 media-libs/libpng:1.5
 media-libs/gst-plugins-base
 media-libs/gst-plugins-base:0.10
 media-libs/gstreamer
 media-libs/gstreamer:0.10

 3) run the command emerge -p --depclean and post the output back here
 before doing anything more.

 --
 Walter Dnes waltd...@waltdnes.org
 I don't run desktop environments; I run useful applications


Thanks for your reply.

What I've done on two of my gentoo systems is, what had been suggested in
one of the earlier replies to this thread. I ran emerge -C `grep -i libs
/var/lib/portage/world`, followed by emerge @preserved-rebuild.
While on another one of my systems I tried emerge --deselect `grep -i libs
/var/lib/portage/world`, followed by emerge --depclean.

As a result, I no longer have any libs in my world set.

I should probably put sys-libs/gpm back into the world set via emerge
--noreplace, based on what you said about the package.

I should probably look into what does and what doesn't have to go into the
world file. Up until recently I assumed that portage would figure that out
for me.


Re: [gentoo-user] Package conflict while trying to emerge chromium

2015-02-16 Thread Gevisz
On Fri, 13 Feb 2015 23:05:16 + Neil Bothwick n...@digimed.co.uk wrote:

 On Fri, 13 Feb 2015 19:36:45 +0200, Gevisz wrote:
 
   Has that line actually been inserted into package.use?
   Portage doesn't add it to the live file, you need to run
   cfg-update or similar to handle it.  
  
  As I have said, it was inserted in the ._cfg0002_package.use file
  as the recommendation to insert it to the package.use.
 
 Inserting it into ._cfg0002_package.use does nothing but cause portage to
 prompt you to run etc-update. Until you do that nothing has changed as
 portage will still tell you to add the USE change.

Thank you for your reply but my point was that two *default* USE flag setting
produce the package block.




Re: [gentoo-user] Package conflict while trying to emerge chromium

2015-02-16 Thread Gevisz
On Fri, 13 Feb 2015 18:11:31 -0500 Walter Dnes waltd...@waltdnes.org wrote:

 On Fri, Feb 13, 2015 at 08:02:08PM +0200, Gevisz wrote
  
  2. I am not sure but my guess is that the gstreamer allows me to watch
 the video from youtube (partially), edX, cousera, etc. in a web-browser
 (I mainly use Firefox), as I never install any flash player to avoid
 too many flashing while browsing the Internet. (Would be interested
 to know if this my guess is correct.)
 
   I use the Seamonkey variant of Firefox.  It has a more classic GUI
 interface, and a few other differences.  It also has an option in the
 settings...
 
 Edit == Preferences == Advanced == Scripts  Plugins
 
   You can choose whether or not to Activate all plugins by default.
 ***THIS IS NOT AN ADDON*** like Flashblock, so you don't have to worry
 about the author keeping up with the current version of the browser.  It
 is a built-in setting.  If you turn that option off, you get a box that
 says Activate Adobe Flash on any page with Flash on it.  You can click
 on the box, and that activates only the one instance.  If there are
 several flash boxes on a page, you can click on just the one(s) you
 want.

Thank you for information I will try to look into the Firefox settings
more attentively now. But about 6 or 7 years ago, yet on Ubuntu, I tried
to disable Adobe Flash player and have managed to accomplish it only after
uninstalling it. Interestingly enough, after that I was no able to install
it back on the same computer. Well, to be more precise, I could install it
back, but it did not work any more. :-)  




Re: [gentoo-user] Re: repos.conf migration lost overlay priority

2015-02-16 Thread Mike Gilbert
On Sat, Feb 14, 2015 at 9:25 AM, Nikos Chantziaras rea...@gmail.com wrote:
 On a side note, someone should inform the portage devs that higher
 priorities should equal lower numbers. Don't do it the opposite way to the
 rest of the world, please :-P

That someone could be you. Send mail to
gentoo-portage-...@lists.gentoo.org or join us in #gentoo-portage on
IRC.



Re: [gentoo-user] Package conflict while trying to emerge chromium

2015-02-16 Thread Gevisz
On Sat, 14 Feb 2015 11:36:48 +0100 Marc Joliet mar...@gmx.de wrote:

 Am Fri, 13 Feb 2015 18:11:31 -0500
 schrieb Walter Dnes waltd...@waltdnes.org:
 
  On Fri, Feb 13, 2015 at 08:02:08PM +0200, Gevisz wrote
   
   2. I am not sure but my guess is that the gstreamer allows me to watch
  the video from youtube (partially), edX, cousera, etc. in a web-browser
  (I mainly use Firefox), as I never install any flash player to avoid
  too many flashing while browsing the Internet. (Would be interested
  to know if this my guess is correct.)
 
 Yes, you are correct, at least for Firefox (but I would be surprised if it 
 were
 different for qtwebkit). Note that the dependencies aren't specified in the
 ebuild itself, but in the mozconfig-* eclasses.  See for example the
 mozconfig-v5.34 eclass:
 
   gstreamer? (
   =media-libs/gstreamer-1.2.3:1.0
   =media-libs/gst-plugins-base-1.2.3:1.0
   =media-libs/gst-plugins-good-1.2.3:1.0
   =media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0
   )
 
 The libav gstreamer plug-in is what lets you watch MP4 videos (and don't
 let the name fool you, it also works with ffmpeg).

Thank you for information.

 And if you install
 gst-plugins-mad:1.0, then you can also play MP3s in Firefox (see
 https://bugs.gentoo.org/show_bug.cgi?id=536530).
 
I use the Seamonkey variant of Firefox.  It has a more classic GUI
  interface, and a few other differences.  It also has an option in the
  settings...
  
  Edit == Preferences == Advanced == Scripts  Plugins
  
You can choose whether or not to Activate all plugins by default.
  ***THIS IS NOT AN ADDON*** like Flashblock, so you don't have to worry
  about the author keeping up with the current version of the browser.  It
  is a built-in setting.  If you turn that option off, you get a box that
  says Activate Adobe Flash on any page with Flash on it.  You can click
  on the box, and that activates only the one instance.  If there are
  several flash boxes on a page, you can click on just the one(s) you
  want.
 
 A variant of this setting also exists in Firefox, albeit it is accessed from 
 the
 about:addons page under Plugins.  There you get a per-plugin tri-state 
 setting,
 where you can choose between always on, always off, or always ask.  With
 the latter, you get the same behaviour you described: a placeholder that you 
 can
 click to selectively activate Flash.
 
 Personally, I don't like that way of doing things, because unless you
 completely deactivate Flash, Youtube will stupidly never attempt to use HTML5
 videos (I guess it sees that you have Flash installed?).

Yes, it is bad because now I can see at least half of the youtube videos via 
html5.

 Thus, I use the FlashDisable extension, which simply makes it easier to toggle
 between always on and always off (although it won't allow you to 
 selectively
 activate Flash per instance on a page, which is too bad, although I rarely 
 see this).

Thank you for this hint also.

 One thing I've joyfully noticed is how rare the instances where I need to
 activate Flash are becoming :-).

I hope that with time youtube will completely switch to html5, so flash player
won't be needed. Till then youtube-dl can be a good way to switch flash player 
on,
at least for youtube. :-)

 




Re: [gentoo-user] firefox 31.3 - no youtube video

2015-02-16 Thread covici
Mick michaelkintz...@gmail.com wrote:

 On Monday 16 Feb 2015 06:51:54 cov...@ccs.covici.com wrote:
  Gevisz gev...@gmail.com wrote:
   On Sun, 15 Feb 2015 23:29:22 -0700 Joseph syscon...@gmail.com wrote:
After recent update to Firefox 31.3 youtube videos won't play.
   
   Recent update of Firefox was to 31.4, at least on amd64
   but when I was on 31.3 I noticed no change in my youtube
   experience: approximately half of their videos can be played.
   
   P.S. I have no flash player installed.
  
  Try a new profile, I had a similar problem and that solved it.  You may
  need flash also, as I could never get the html5 player to work with
  firefox -- currently 35.0.1.
 
 You may want to have a look here:
 
 http://wiki.gentoo.org/wiki/ALSA#HTML5_does_not_play_in_firefox_browser

Alsa works fine here, here is my /proc/asond/cards
 0 [emu10k1]: EMU10K1 - SB Live! 5.1 Dell OEM [SB0228]
  SB Live! 5.1 Dell OEM [SB0228] (rev.10,
 serial:0x80661102) at 0x9000, irq 19


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: off topic: rotating a video

2015-02-16 Thread Nikos Chantziaras

On 16/02/15 22:51, gottl...@nyu.edu wrote:

I apologize in advance for this off topic query.

I took a video with my phone (galaxy note 4) and via google+ uploaded it
to my mail laptop.  It is an mp4 and plays fine on both the phone and
the labtop except that it is sideways.

I was surprised that neither the player on the phone nor the player on
the laptop (totem, I run gnome) seems to offer a rotation option.

Am I missing a slightly hidden option or do I need another program.
I do not do video editing and do no plan to in the near future.


You can change the metadata of the mp4 file without re-encoding it. This 
requires that the player you play the video in actually respects that 
metadata though! mplayer and mpv respect it. Your phone's player might not.


You need ffmpeg for this (media-video/ffmpeg).

  ffmpeg -i yourvideo.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

This tells media players to rotate the video 90 degrees clockwise. If 
you want to rotate 90 degrees counter-clockwise, use rotate=270 instead.


I don't know what the command is if you're using libav instead, but I 
suspect it has to be something similar.





Re: [gentoo-user] perl-cleaner lerfovers

2015-02-16 Thread Neil Bothwick
On Mon, 16 Feb 2015 18:35:15 +0200, Alexander Kapshuk wrote:

 What I've done on two of my gentoo systems is, what had been suggested
 in one of the earlier replies to this thread. I ran emerge -C `grep -i
 libs /var/lib/portage/world`, followed by emerge @preserved-rebuild.

That could have been dangerous, unmerging important libs just because
they have found their way into @world.

 While on another one of my systems I tried emerge --deselect `grep -i
 libs /var/lib/portage/world`, followed by emerge --depclean.

That is far more sensible.
 
 As a result, I no longer have any libs in my world set.

Or you could have done

sed -i /libs\//d /var/lib/portage/world
emerge -ca


-- 
Neil Bothwick

All things being equal, fat people use more soap.


pgp1_2hRhTxG6.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] off topic: rotating a video

2015-02-16 Thread Daniel Pielmeier
gottl...@nyu.edu schrieb am 16.02.2015 um 21:51:
 I apologize in advance for this off topic query.
 
 I took a video with my phone (galaxy note 4) and via google+ uploaded it
 to my mail laptop.  It is an mp4 and plays fine on both the phone and
 the labtop except that it is sideways.
 
 I was surprised that neither the player on the phone nor the player on
 the laptop (totem, I run gnome) seems to offer a rotation option.
 
 Am I missing a slightly hidden option or do I need another program.
 I do not do video editing and do no plan to in the near future.
 
 thanks,
 allan
 
 


Funny, I did search for this just a few minutes ago.

Rotate when playing back with VLC [1]

Re-encode the video and rotate it with ffmpeg [2]

[1]
http://www.howtogeek.com/howto/14751/rotate-a-video-90-degrees-with-vlc-or-windows-live-movie-maker/?PageSpeed=noscript

[2] http://stackoverflow.com/questions/3937387/rotating-videos-with-ffmpeg

-- 
Regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] cookies

2015-02-16 Thread Mick
On Tuesday 17 Feb 2015 03:50:18 Joseph wrote:
 In my firefox I have setting:
 - Accept cookies YES
   - From third parties NEVER
   - ask me every time
 
 Some webpages keep sending 100's of cookies so I decline them.  Sometime,
 I'm tires of clicking NO so I just kill the process and restart firefox. 
 Is there any plug in to better manage cookies; allow me to decline them
 ALL.
 
 I don't want to change setting:  Accept cookies NO

You can change the 'Keep cookies until' setting from 'Ask me every time' to 
'Until I exit Firefox'?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Package conflict while trying to emerge chromium

2015-02-16 Thread Neil Bothwick
On Mon, 16 Feb 2015 20:47:03 +0200, Gevisz wrote:

   As I have said, it was inserted in the ._cfg0002_package.use file
   as the recommendation to insert it to the package.use.  
  
  Inserting it into ._cfg0002_package.use does nothing but cause
  portage to prompt you to run etc-update. Until you do that nothing
  has changed as portage will still tell you to add the USE change.  
 
 Thank you for your reply but my point was that two *default* USE flag
 setting produce the package block.

Once you have anything in package.use, you are not running defaults.


-- 
Neil Bothwick

deja noo - reminds you of the last time you visited Scotland


pgpiZ7w8YWcqf.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: off topic: rotating a video

2015-02-16 Thread gottlieb
On Mon, Feb 16 2015, Nikos Chantziaras wrote:

 On 17/02/15 01:39, gottl...@nyu.edu wrote:
 On Mon, Feb 16 2015, Nikos Chantziaras wrote:

 On 16/02/15 22:51, gottl...@nyu.edu wrote:
 I apologize in advance for this off topic query.

 I took a video with my phone (galaxy note 4) and via google+ uploaded it
 to my mail laptop.  It is an mp4 and plays fine on both the phone and
 the labtop except that it is sideways.

 I was surprised that neither the player on the phone nor the player on
 the laptop (totem, I run gnome) seems to offer a rotation option.

 Am I missing a slightly hidden option or do I need another program.
 I do not do video editing and do no plan to in the near future.

 You can change the metadata of the mp4 file without re-encoding
 it. This requires that the player you play the video in actually
 respects that metadata though! mplayer and mpv respect it. Your
 phone's player might not.

 Not worried about the phone.  I won't touch the file there and will
 probably delete it when I get the one right on the laptop.

 You need ffmpeg for this (media-video/ffmpeg).

 That I have (1.2.6-r1, highest stable).

ffmpeg -i yourvideo.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

 I did this command but the result is not rotated (my player is totem).

 Try mpv or mplayer. If that shows it rotated, then it's totem ignoring
 the metadata.

I built and tried mplayer.  Again not rotated.  I ran it from the
terminal.  Below is the output up to when I killed it

Is it possible I did the ffmpeg command wrong?

thanks,
allan

newlap tmp # mplayer r90.mp4 
MPlayer SVN-r36370 (Gentoo)-4.8.3 (C) 2000-2013 MPlayer Team
MMX2 supported but disabled

Playing r90.mp4.
libavformat version 54.63.104 (external)
libavformat file format detected.
[h264 @ 0x7ff80716e920]Warning: not compiled with thread support, using thread 
emulation
[aac @ 0x7ff80716e920]Warning: not compiled with thread support, using thread 
emulation
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  29.917 fps  16996.4 kbps (2074.8 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.63.104
Load subtitles in ./
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.92.100 (external)
[h264 @ 0x7ff80716e920]Warning: not compiled with thread support, using thread 
emulation
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[aac @ 0x7ff80716e920]Warning: not compiled with thread support, using thread 
emulation
AUDIO: 48000 Hz, 2 ch, floatle, 250.1 kbit/8.14% (ratio: 31257-384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1920x1080 = 1920x1080 Planar YV12 
A:   7.3 V:   7.3 A-V:  0.000 ct:  0.033   0/  0 70%  1%  0.6% 0 0 

Exiting... (Quit)
newlap tmp # 




[gentoo-user] Re: off topic: rotating a video

2015-02-16 Thread Nikos Chantziaras

On 17/02/15 01:39, gottl...@nyu.edu wrote:

On Mon, Feb 16 2015, Nikos Chantziaras wrote:


On 16/02/15 22:51, gottl...@nyu.edu wrote:

I apologize in advance for this off topic query.

I took a video with my phone (galaxy note 4) and via google+ uploaded it
to my mail laptop.  It is an mp4 and plays fine on both the phone and
the labtop except that it is sideways.

I was surprised that neither the player on the phone nor the player on
the laptop (totem, I run gnome) seems to offer a rotation option.

Am I missing a slightly hidden option or do I need another program.
I do not do video editing and do no plan to in the near future.


You can change the metadata of the mp4 file without re-encoding
it. This requires that the player you play the video in actually
respects that metadata though! mplayer and mpv respect it. Your
phone's player might not.


Not worried about the phone.  I won't touch the file there and will
probably delete it when I get the one right on the laptop.


You need ffmpeg for this (media-video/ffmpeg).


That I have (1.2.6-r1, highest stable).


   ffmpeg -i yourvideo.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4


I did this command but the result is not rotated (my player is totem).


Try mpv or mplayer. If that shows it rotated, then it's totem ignoring 
the metadata.





Re: [gentoo-user] Re: off topic: rotating a video

2015-02-16 Thread gottlieb
On Mon, Feb 16 2015, Nikos Chantziaras wrote:

 On 16/02/15 22:51, gottl...@nyu.edu wrote:
 I apologize in advance for this off topic query.

 I took a video with my phone (galaxy note 4) and via google+ uploaded it
 to my mail laptop.  It is an mp4 and plays fine on both the phone and
 the labtop except that it is sideways.

 I was surprised that neither the player on the phone nor the player on
 the laptop (totem, I run gnome) seems to offer a rotation option.

 Am I missing a slightly hidden option or do I need another program.
 I do not do video editing and do no plan to in the near future.

 You can change the metadata of the mp4 file without re-encoding
 it. This requires that the player you play the video in actually
 respects that metadata though! mplayer and mpv respect it. Your
 phone's player might not.

Not worried about the phone.  I won't touch the file there and will
probably delete it when I get the one right on the laptop.

 You need ffmpeg for this (media-video/ffmpeg).

That I have (1.2.6-r1, highest stable).

   ffmpeg -i yourvideo.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

I did this command but the result is not rotated (my player is totem).
There was a warning issued.  Below is the command I used and the
on-screen output.  The resulting mp4 file plays fine but is not rotated.

What did I do wrong?

thanks again,
allan




newlap tmp # ffmpeg -i orig.mp4 -c copy -metadata:s:v:0 rotate=90 r90.mp4
ffmpeg version 1.2.6 Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb  3 2015 14:21:53 with gcc 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc 
--cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar 
--optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' 
--extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl 
--enable-postproc --enable-avfilter --enable-avresample --disable-stripping 
--enable-version3 --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack 
--disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug 
--disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv 
--enable-network --disable-openssl --enable-ffplay --disable-vaapi 
--disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc 
--enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac 
--disable-libtheora --disable-libtwolame --enable-libx264 --enable-libxvid 
--disable-libcdio --disable-libiec61883 --disable-libdc1394 --dis  libavutil
  52. 18.100 / 52. 18.100
  libavcodec 54. 92.100 / 54. 92.100
  libavformat54. 63.104 / 54. 63.104
  libavdevice54.  3.103 / 54.  3.103
  libavfilter 3. 42.103 /  3. 42.103
  libswscale  2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  2.100 / 52.  2.100
[h264 @ 0x122e340] Warning: not compiled with thread support, using thread 
emulation
[aac @ 0x122f070] Warning: not compiled with thread support, using thread 
emulation
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'orig.mp4':
  Metadata:
major_brand : isom
minor_version   : 0
compatible_brands: isom3gp4
creation_time   : 2015-02-08 21:30:20
  Duration: 00:05:44.94, start: 0.00, bitrate: 17240 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
1920x1080, 16996 kb/s, 29.91 fps, 29.92 tbr, 90k tbn, 180k tbc
Metadata:
  rotate  : 90
  creation_time   : 2015-02-08 21:30:20
  handler_name: VideoHandle
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 
250 kb/s
Metadata:
  creation_time   : 2015-02-08 21:30:20
  handler_name: SoundHandle
Output #0, mp4, to 'r90.mp4':
  Metadata:
major_brand : isom
minor_version   : 0
compatible_brands: isom3gp4
encoder : Lavf54.63.104
Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080, 
q=2-31, 16996 kb/s, 29.91 fps, 90k tbn, 90k tbc
Metadata:
  handler_name: VideoHandle
  creation_time   : 2015-02-08 21:30:20
  rotate  : 90
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 
250 kb/s
Metadata:
  creation_time   : 2015-02-08 21:30:20
  handler_name: SoundHandle
Stream mapping:
  Stream #0:0 - #0:0 (copy)
  Stream #0:1 - #0:1 (copy)
Press [q] to stop, [?] for help
frame= 7166 fps=0.0 q=-1.0 size=  504481kB time=00:03:59.68 
bitrate=17242.6kbitsframe=10311 fps=0.0 q=-1.0 Lsize=  726141kB 
time=00:05:44.93 bitrate=17245.2kbits/s
video:715245kB audio:10529kB subtitle:0 global headers:0kB muxing overhead 
0.050533%
newlap tmp # ffmpeg -i orig.mp4 -c copy -metadata:s:v:0 rotate=90 r90.mp4




[gentoo-user] cookies

2015-02-16 Thread Joseph

In my firefox I have setting:
- Accept cookies YES
 - From third parties NEVER
 - ask me every time

Some webpages keep sending 100's of cookies so I decline them.  Sometime, I'm 
tires of clicking NO
so I just kill the process and restart firefox.  Is there any plug in to better 
manage cookies; allow me to decline them ALL.

I don't want to change setting:  Accept cookies NO

--
Joseph



[gentoo-user] Re: off topic: rotating a video

2015-02-16 Thread Nikos Chantziaras

On 17/02/15 03:30, gottl...@nyu.edu wrote:

I built and tried mplayer.  Again not rotated.  I ran it from the
terminal.  Below is the output up to when I killed it

Is it possible I did the ffmpeg command wrong?


Sorry, that was my fault. mplayer doesn't support this :-P mpv does.

If you want to rotate the video so that all players work, you need to 
re-encode it. You will lose some quality doing this. And how to encode 
properly is a huge can of worms to open here (especially since I'm not 
an expert on this myself.)


Quick and dirty way:

  ffmpeg -i in.mp4 -vf transpose=1 out.mp4

This will probably produce crap. For a better quality encoding, do:

  ffmpeg -i in.mp4 -vf transpose=1 -vcodec libx264 out.mp4

For the latter to work, you need to enable the x264 USE flag of ffmpeg.




[gentoo-user] off topic: rotating a video

2015-02-16 Thread gottlieb
I apologize in advance for this off topic query.

I took a video with my phone (galaxy note 4) and via google+ uploaded it
to my mail laptop.  It is an mp4 and plays fine on both the phone and
the labtop except that it is sideways.

I was surprised that neither the player on the phone nor the player on
the laptop (totem, I run gnome) seems to offer a rotation option.

Am I missing a slightly hidden option or do I need another program.
I do not do video editing and do no plan to in the near future.

thanks,
allan



Re: [gentoo-user] Re: off topic: rotating a video

2015-02-16 Thread David Haller
Hello,

On Mon, 16 Feb 2015, gottl...@nyu.edu wrote:
I built and tried mplayer.  Again not rotated.  I ran it from the
terminal.  Below is the output up to when I killed it
[..]
VO: [xv] 1920x1080 = 1920x1080 Planar YV12 

FWIW: if it's just for watching the vid, try

mplayer -vf rotate=1 foo.mp4

That's rotating 90deg clockwise, see 'man mplayer', search for
'rotate', second hit:

[..]
-vf
[..]
   rotate[=0-7]
  Rotates  the  image  by 90 degrees and optionally flips it.  For
  values between 4-7 rotation is only done if the  movie  geometry
  is portrait and not landscape.

 0Rotate by 90 degrees clockwise and flip (default).
 1Rotate by 90 degrees clockwise.
 2Rotate by 90 degrees counterclockwise.
 3Rotate by 90 degrees counterclockwise and flip.

When using '-ovc copy', mencoder does not (as usual) seem to apply
this filter.

HTH,
-dnh

-- 
Wash: [..] this landings is gonna get pretty interesting Mal: Define
'interesting.' Wash: Oh, God, oh, God, we're all gonna die?  Mal: This is
the captain. We have a little problem with our entry sequence, so we may
experience some slight turbulence and then explode. -- Firefly Serenity



[gentoo-user] pipelight problems

2015-02-16 Thread Justin Findlay
I have been using pipelight in firefox successfully for several months.
However, recently I upgraded wine and pipelight and now
pipelight/silverlight is not recognized by firefox and is not listed
under plugins at about:addons.

I've followed the instructions here:
http://wiki.gentoo.org/wiki/Netflix/Pipelight and everything worked
except for this step:

demeter ~ master # pipelight-plugin --enable silverlight
ERROR: Your system is missing a copy of
/usr/lib64/pipelight/libpipelight.so at
/usr/lib64/pipelight/libpipelight-silverlight5.1.so

After I did

ln -s
/usr/lib64/debug/usr/lib64/pipelight/libpipelight-silverlight5.1.so.debug 
/usr/lib64/pipelight/libpipelight-silverlight5.1.so

everything else seemed to work correctly according to the wiki instructions.

This is what I've tried so far:

rm -fr .wine-pipelight/
mv .mozilla mozilla
downgrade firefox from 35.0 to 31.4.0

emerge and further info:
https://gist.github.com/jfindlay/889430e783e19a6798c8


Justin