Skip to content

Commit

Permalink
TTK-27428: Fix video_youtube profile (#132)
Browse files Browse the repository at this point in the history
* TTK-27428: Fix video_youtube profile

* TTK-27428: Add cpnf property and change default_image_for_audio url
  • Loading branch information
albacodina authored Dec 16, 2024
1 parent 1bfefc0 commit a323fb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function getConfigTreeBuilder(): TreeBuilder
->info('Default track to youtube upload')
->end()
->scalarNode('default_image_for_audio')
->defaultValue(dirname(__DIR__, 2).'/SchemaBundle/Resources/public/images/playlist_folder.png')
->defaultValue(dirname(__DIR__, 4).'/public/bundles/pumukitschema/images/playlist_folder.png')
->info('Default image for audio to youtube upload')
->end()
->arrayNode('allowed_caption_mimetypes')
Expand Down
7 changes: 4 additions & 3 deletions Resources/config/encoders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ pumukit_youtube:
channels: 1
audio: true
bat: |
/usr/local/bin/ffmpeg -loop 1 -i __IMAGE__ -i "{{input}}" -s 640x480 -c:v libx264 -c:a libfdk_aac -strict experimental -ar 44100 -b:a 128k -f mp4 -shortest "{{output}}"
ffmpeg -loop 1 -i __IMAGE__ -i "{{input}}" -s 640x480 -c:v libx264 -c:a libfdk_aac -strict experimental -ar 44100 -b:a 128k -f mp4 -shortest "{{output}}"
streamserver:
name: Localhost
type: download
host: 127.0.0.1
description: Local download server
dir_out: "%kernel.project_dir%%/public/storage/downloads"
url_out: "/storage/downloads"
dir_out: "%pumukit.downloads_dir%"
url_out: "%pumukit.downloads_url%"
app: ffmpeg
rel_duration_size: 1
rel_duration_trans: 1
downloadable: true
generate_pic: false

0 comments on commit a323fb7

Please sign in to comment.