|
Revision 20079, 1.6 kB
(checked in by drry, 17 months ago)
|
- removed unnecessary props.
|
| Line | |
|---|
| 1 | plugins: |
|---|
| 2 | |
|---|
| 3 | - module: Subscription::Config |
|---|
| 4 | config: |
|---|
| 5 | feed: |
|---|
| 6 | - url: http://www.nicovideo.jp/mylist/522600/1880610 |
|---|
| 7 | |
|---|
| 8 | - module: Filter::FetchNicoVideo |
|---|
| 9 | config: |
|---|
| 10 | mail: your@mailaddress |
|---|
| 11 | password: password |
|---|
| 12 | dir: /home/user/dir |
|---|
| 13 | id_as_filename: 1 |
|---|
| 14 | |
|---|
| 15 | - module: Filter::FLVInfo |
|---|
| 16 | |
|---|
| 17 | - module: Filter::FFmpeg |
|---|
| 18 | rule: |
|---|
| 19 | expression: "$args->{entry}->meta->{flvinfo}->{aspect} eq '4:3'" |
|---|
| 20 | config: |
|---|
| 21 | &ffmpeg_config |
|---|
| 22 | command: /usr/local/bin/ffmpeg |
|---|
| 23 | ext: mp4 |
|---|
| 24 | dir: /home/user/dir |
|---|
| 25 | encoding: utf8 |
|---|
| 26 | extra_options: -coder 0 -level 13 -ac 2 |
|---|
| 27 | options: |
|---|
| 28 | video_codec: h264 |
|---|
| 29 | bitrate: 600 |
|---|
| 30 | audio_codec: aac |
|---|
| 31 | audio_sampling_rate: 44100 |
|---|
| 32 | audio_bit_rate: 128 |
|---|
| 33 | # frame_size: 432x320 |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | - module: Filter::FFmpeg |
|---|
| 37 | rule: |
|---|
| 38 | expression: "$args->{entry}->meta->{flvinfo}->{aspect} eq '16:9'" |
|---|
| 39 | config: *ffmpeg_config |
|---|
| 40 | |
|---|
| 41 | command: /usr/local/bin/ffmpeg |
|---|
| 42 | ext: mp4 |
|---|
| 43 | dir: /home/user/dir |
|---|
| 44 | encoding: utf8 |
|---|
| 45 | extra_options: -coder 0 -level 13 -ac 2 |
|---|
| 46 | options: |
|---|
| 47 | video_codec: h264 |
|---|
| 48 | bitrate: 600 |
|---|
| 49 | audio_codec: aac |
|---|
| 50 | audio_sampling_rate: 44100 |
|---|
| 51 | audio_bit_rate: 128 |
|---|
| 52 | frame_size: 480x272 |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | - module: Filter::RewriteEnclosureURL |
|---|
| 56 | config: |
|---|
| 57 | rewrite: |
|---|
| 58 | - local: /home/user/dir |
|---|
| 59 | url: http://localhost/~user/dir |
|---|
| 60 | |
|---|
| 61 | - module: Publish::Feed |
|---|
| 62 | config: |
|---|
| 63 | format: RSS |
|---|
| 64 | dir: /home/user/dir |
|---|
| 65 | filename: nicopla.xml |
|---|
| 66 | |
|---|