通过YouTube赚钱的6种常用方法

通过YouTube赚钱的6种常用方法

YouTube是互联网上的第二大网站,也是世界上最大的视频网站,每天都会有数十亿的浏览量,如此巨大的流量自然也会产生可以赚钱的机会,现在已经有越来越多的人通过在Youtube上传视频来赚钱,最厉害的播主已经在Youtube赚了超过数百万美元的收入,可以说完全靠拍视频也可以吃喝不愁,走上人生巅峰啊,当然了,首先的首先,你要能够拍出很厉害的视频才行,那要是没这个本事的话,是不是就不能通过油管赚钱了呢,当然不是,俗话说的好,有流量自然就可以变现,所以即使自己不能拍出很厉害的视频也不用怕,还是有很多方法能够通过Youtube来赚钱的,下面就来介绍一下通过油管赚钱的6种方法。

1. 成为YouTube的合作伙伴

read more

Youtube月入6000人民币操作总结

一次不小心,知乎得了高赞

1.jpg

然后知乎一堆喷子也是无敌了。对于这种明明白痴却硬要装懂的,我一直是很无视的。

知乎回答大概如此

买台海外服务器,或者海外vps,内存不要太高,1g足矣,费用顶天了一个月100元可以搞定。

read more

玩不了比特币,我们来玩Steemit

我也没赶上虚拟币这趟车

话说老农有个老学长,15-16年莆田速卖通最牛逼的第一人就是他。这里不做过多的介绍,反正老学长有玩比特币,你懂得,资金到位,满手都是钱的时候,总想倒腾些什么。

什么样的人跟什么样的人扎堆,老学长周围拥挤着一堆莆田外贸成功人士,有权有钱的,有混官场,有混商场,也有玩虚拟币的。

当然,这是在虚拟币火了之前就玩,他们的玩法呢,就是跟着BTC在搜索引擎中的趋势来玩。搜索趋势上升的时候,他们就买进,搜索趋势下跌的时候,他们就卖出,来回倒。

然后就是经历BTC大涨的阶段。由于老农没碰,二是不想惊扰老学长。毕竟对他们来说,老农偏向技术类,于是没事有事就找老农聊技术,我都怕了,我最想脱离的就是技术这一行,真的,做了几年,除了兴趣之外的事情,感觉其他事情去研究就是头大,所以也没跟着老学长玩了。

不过这波过后,老学长的资产估计又飙了几千万吧。。

既然没碰BTC,我们就玩玩跟它有点搭边的。

先来点能够提高演球的

steem

以上每一篇文章,都为发文章赚取了对应的美金。

当然,只是字面上。

什么是Steemit

Steemit是一个基于区块链(blockchain)的社交媒体平台,同时可以获得虚拟币(Steem)的回报。
相对于其他的社交平台,输出高质量的作者可以获得巨大的收益(有人获得了相当于数万美元的虚拟币)

以下来自知乎

read more

套路深!人工智能平台AI洗搞的生财之道

大概就是把别人的自媒体写的文章,进行伪原创,然后自己再重新发布到自媒体上,有这个需求,自然就有一堆洗搞的付费软件出来了。

百度洗搞,可以出来一堆相关的介绍

image

利用人工智能洗稿软件竟能年入千万

我们可以看到有一个标题很标题党。

read more

Image Processing in Python with Pillow

Introduction

A lot of applications use digital images, and with this there is usually a need to process the images used. If you are building your application with Python and need to add image processing features to it, there are various libraries you could use. Some popular ones are OpenCVscikit-imagePython Imaging Library and Pillow.

We won’t debate on which library is the best here, they all have their merits. This article will focus on Pillow, a library that is powerful, provides a wide array of image processing features, and is simple to use.

Pillow is a fork of the Python Imaging Library (PIL). PIL is a library that offers several standard procedures for manipulating images. It’s a powerful library, but hasn’t been updated since 2011 and doesn’t support Python 3. Pillow builds on this, adding more features and support for Python 3. It supports a range of image file formats such as PNG, JPEG, PPM, GIF, TIFF and BMP. We’ll see how to perform various operations on images such as cropping, resizing, adding text to images, rotating, greyscaling, e.t.c using this library.

Installation and Project Setup

Before installing Pillow, there are some prerequisites that must be satisfied. These vary for different operating systems. We won’t list the different options here, you can find the prerequisites for your particular OS in this installation guide.

After installing the prerequisite libraries, you can install Pillow with `pip:

$ pip install Pillow

To follow along, you can download the images (coutesy of Unsplash) that we’ll use in the article. You can also use your own images.

All examples will assume the required images are in the same directory as the python script file being run.

The Image Object

A crucial class in the Python Imaging Library is the Image class. It is defined in the Image module and provides a PIL image on which manipulation operations can be carried out. An instance of this class can be created in several ways: by loading images from a file, creating images from scratch or as a result of processing other images. We’ll see all these in use.

To load an image from a file, we use the open() function in the Image module passing it the path to the image.

from PIL import Image

image = Image.open('unsplash_01.jpg')

If successful, the above returns an Image object. If there was a problem opening the file, an IOError exception will be raised.

After obtaining an Image object, you can now use the methods and attributes defined by the class to process and manipulate it. Let’s start by displaying the image. You can do this by calling the show() method on it. This displays the image on an external viewer (usually xv on Unix, and the Paint program on Windows).

image.show()

You can get some details about the image using the object’s attributes.

# The file format of the source file.
print(image.format) # Output: JPEG

# The pixel format used
read more

介绍一个python视频处理库:moviepy

   处理视频是一个常见的需求。那么在python中如何用代码处理视频呢?最近我无意间发现了一个很好用的python视频处理库moviepy,其使用起来简单易用,而且功能比较强大,这里记录一下分享给大家。

  • What is moviepy?

   以下的介绍来自moviepy的官方文档

moviepy是一个用于视频编辑的python模块,其可以用来对视频进行一些基础的操作(比如剪切,连接,插入标题等),视频创作(比如非线性编辑),视频处理以及给视频增加一些炫酷的特效等。它可以读写大多数常见的视频格式,包括GIF。

  • How to install moviepy?

   moviepy的安装非常简单,直接使用命令pip install moviepy即可。当然你也可以选择从源码安装,下载源码包,解压缩,然后切换到含有setup.py的目录,执行 python setup.py install 即可。

   moviepy的底层依赖于Numpy(用于高效数值处理),imageio(图像处理), Decorator,tqdm(用于显示进度条)。它在Windows/Mac/Unix环境下应该都是可以工作的,支持python2.7+以及python3。moviepy底层的视频读写依赖于ffmpeg,它会在你安装moviepy的时候自动下载,如果你已经安装了ffmpeg或者想使用特定版本的ffmpeg,你可以从moviepy/config_defaults.py中指定。

   需要注意的是,还有一些可选模块可以安装,比如ImageMagic。这是一个开源的图像处理库,支持对超过200种格式的图像进行编辑处理,详细的用法可以自行参考官网文档。如果你希望向视频中添加文字,就必须安装这个库。它也可以作为生成GIF的后端,但不是必须的。如果你在Windows下安装这个库就比较简单,可以直接使用可执行文件安装;如果是Unix用户,可以选择源码编译安装,官网文档有详细的说明,不再赘述。

  • When to use moviepy?

   如果你属于以下情况,可以考虑使用moviepy:

  1. 你有很多视频需要处理,或者你需要用很复杂的方式处理;
  2. 你希望在web服务器上自动生成videos或者GIF(Django,Flask等);
  3. 你希望能够自动化一些冗长乏味的工作,比如插入标题,图像场景分割,做一些视频结尾的特效,添加副标题等;
  4. 你希望可以使用code实现一些新奇的,其他视频编辑软件都无法做到的特效;
  5. 你希望可以从其他python库(比如matplotlib,mayavi,gizeh,scikit-images等)生成的图像中生成动画。

   如果你是属于下面的这些情况,使用moviepy未必是最好的选择:

  1. 你仅仅需要做逐帧的视频分析(比如面部检测等),这种情况下你也是可以使用moviepy的,但是更建议使用imageio,opencv,simplecv等,因为这些库就是专门干这件事情的。
  2. 你仅仅想对视频进行转化,或者想把一系列的图片转化为视频,你最好直接使用ffmpeg(或者avconv,mencoder等),因为这些工具做这些转化会更快,而且更省内存。

   moviepy的优点和缺点

  1. 优点:
    简单和直观。基础的操作一行代码就可以搞定,对于新手来说非常友好。
    灵活。你对于视频或者音频的每一帧都有着完全的控制权,创作你自己的特效非常容易。
    便携。代码主要依赖numpy和ffmpeg(这两者都是跨平台的),所以moviepy几乎可以在所有的平台以及几乎所有的python版本上运行。
  2. 局限性:
    无法处理视频流。比如无法实时处理来自摄像头的视频流等。当然,本来这就不是moviepy定位要解决的问题。
    *处理大量视频,音频可能会很吃力**。在同时处理大量(>100)的视频,音频,图片的时候可能会有内存问题,这个后面应该会修复。
  • Basic operations of moviepy
  1. Example code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Import everything needed to edit video clips
from moviepy.editor import *
# Load girl.mp4 and select the subclip 00:00:00 – 00:00:02
clip = VideoFileClip(“sources/girl.mp4”).subclip(0,2)
# Reduce the audio volume (volume x 0.8)
clip = clip.volumex(0.8)
# Generate a text clip. You can customize the font, color, etc.
txt_clip = TextClip(“beautiful girl”,fontsize=20,color=‘red’)
# Say that you want it to appear 1.5s at the center of the screen
txt_clip = txt_clip.set_pos(‘top’).set_duration(1.5)
# Overlay the text clip on the first video clip
video = CompositeVideoClip([clip, txt_clip])
# Write the result to a file (many options available !)
video.write_videofile(“sources/girl_edited.mp4”)
  1. How moviepy works?

   moviepy底层使用ffmpeg读取和导出视频以及音频文件。它使用ImageMagic对视频插入文字以及生成GIF(可选)。对于不同的媒体文件的处理是通过python高效的数值计算库numpy来完成的。一些特效处理等使用到了python的图像处理库比如PIL,scikit-images以及科学计算库scipy等。下图1简单说明了moviepy的工作流程:

read more

Windows 2012 Server上安装WordPress

1,Start–>Server Manager–>Menu–>Manage–>Add Roles and Features–>Next…直到–>Server Roles选中Web Server(IIS)–>一直Next–>Install

2,Start–>Control Panel–>Administrative Tools–>Internet Information read more