root/config/plagger/hsbt/config.youravhost.yaml

Revision 22068, 1.7 kB (checked in by hsbt, 4 weeks ago)

using Crypt::Pit, and tiny change.

Line 
1global:
2  plugin_path:
3    - /home/hsbt/misc/plagger/contrib/lib/Plagger/Plugin
4  assets_path: /home/hsbt/misc/plagger/assets
5  log:
6    level: debug
7  cache:
8    base: /home/hsbt/plagger
9  timezone: Asia/Tokyo
10
11plugins:
12
13  - module: Subscription::Config
14    config:
15      feed:
16         - url: http://pulpsite.net/youravhost/rss_enclosure
17
18  - module: Filter::FetchEnclosure
19    config:
20      dir: /home/hsbt/plagger/cache/youravhost
21    rule:
22      - module: Deduped
23        path: /home/hsbt/plagger/cache_rule/youravhost.cache
24
25  - module: Filter::FLVInfo
26
27  - module: Filter::FFmpeg
28    rule:
29      expression: "$args->{entry}->meta->{flvinfo}->{aspect} eq '4:3'"
30    config:
31      ext: mp4
32      encoding: utf8
33      dir: /home/hsbt/public_html/plagger/enclosures
34      options:
35        video_codec:         h264
36        bitrate:             600
37        audio_codec:         aac
38        audio_sampling_rate: 44100
39        audio_bit_rate:      128
40        frame_size:          432x320
41      extra_options: -coder 0 -level 13 -ac 2
42
43  - module: Filter::FFmpeg
44    rule:
45      expression: "$args->{entry}->meta->{flvinfo}->{aspect} eq '16:9'"
46    config:
47      ext: mp4
48      encoding: utf8
49      dir: /home/hsbt/public_html/plagger/enclosures
50      options:
51        video_codec:         h264
52        bitrate:             600
53        audio_codec:         aac
54        audio_sampling_rate: 44100
55        audio_bit_rate:      128
56        frame_size:          480x272
57      extra_options: -coder 0 -level 13 -ac 2
58
59  - module: Filter::RewriteEnclosureURL
60    config:
61      rewrite:
62        - local: /home/hsbt/public_html
63          url: http://vmware/~hsbt/
64
65  - module: Publish::Feed
66    config:
67      dir: /home/hsbt/public_html/plagger
68      filename: youravhost.xml
69      format: RSS
Note: See TracBrowser for help on using the browser.