
Recherche avancée
Autres articles (49)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9336)
-
Which FFMPEG Arguments to Pass for .m4a Audio File in Flutter ?
25 juillet 2021, par MeggyI've got my own fork of GSPrakashNaidu' Flutter Audio_Trimmer plugin which I'd like to use to edit an M4a audio file.


https://github.com/meghead/audio_trimmer


The plugin passes the following command to Flutter's FFMPEG plugin ;


"-y -i \"$path\" -vn -ss $start -to $end -ar 16k -ac -c:a aac -b:a 96k -acodec copy $outPath"; 



Which can be seen here in the Android Studio console ;


Running FFmpeg with arguments: [-y, -i, /storage/emulated/0/Android/data/myfiles/files/flutter_audio_recorder_1627212132002.m4a.temp, -vn, -ss, 5.0, -to, 10.5, -ar, 44k, -ac, 2, -b:a, 96k, -acodec, copy, /data/user/0/myfiles/cache/output.m4a].



But here's the error which gets thrown ;


Guessed Channel Layout for Input Stream #0.0 : mono
I/mobile-ffmpeg(21007): Input #0, wav, from '/storage/emulated/0/Android/data/myfiles/files/flutter_audio_recorder_1627212265033.m4a':
I/mobile-ffmpeg(21007): Duration: 
I/mobile-ffmpeg(21007): 00:00:01.91
I/mobile-ffmpeg(21007): , bitrate: 
I/mobile-ffmpeg(21007): 705 kb/s
I/mobile-ffmpeg(21007): 
I/mobile-ffmpeg(21007): Stream #0:0
I/mobile-ffmpeg(21007): : Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
I/mobile-ffmpeg(21007): 
E/mobile-ffmpeg(21007): [ipod @ 0x7277f388c0] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container
E/mobile-ffmpeg(21007): Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
I/mobile-ffmpeg(21007): Stream mapping:
I/mobile-ffmpeg(21007): Stream #0:0 -> #0:0
I/mobile-ffmpeg(21007): (copy)
I/mobile-ffmpeg(21007): 
E/mobile-ffmpeg(21007): 
I/mobile-ffmpeg(21007): Conversion failed!
D/flutter-ffmpeg(21007): FFmpeg exited with rc: 1 



What argument can I use to output .m4a ?


-
Ffmpeg in docker-compose could not be started
27 mai 2021, par indexlin





I have the following
docker-compose
file but myffmpeg
container does not seem to start for some reason. It outputs a code of0
and does not give any other info.


version: '3'

networks:
 b2c:
 driver: bridge

services:
 ffmpeg:
 container_name: b2c-ffmpeg
 image: jrottenberg/ffmpeg

 nginx:
 container_name: b2c-nginx
 image: nginx:1.17.0
 depends_on:
 - "php"
 volumes:
 - ../server/public:/server/public
 - ./config/nginx/conf.d:/etc/nginx/conf.d
 - ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
 - ../data/nginx/logs:/logs
 networks:
 - b2c
 ports:
 - "20001:80"

 php:
 container_name: b2c-php
 image: indexlin/gzyx-php7.2.4:1.1
 working_dir: /server
 volumes:
 - ../server:/server
 #- ./php/docker-php-ext-xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
 networks:
 - b2c
 ports:
 - "23001:9000"
 #user: "1000:1000"

 mysql:
 container_name: b2c-mysql
 image: mysql:5.7.21
 environment:
 MYSQL_ROOT_PASSWORD: root
 volumes:
 - ../data/mysql/lib:/var/lib/mysql
 #- ../data/mysql/log:/var/log/mysql
 - ./config/mysql/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf
 networks:
 - b2c
 ports:
 - "25001:3306"

 redis:
 container_name: b2c-redis
 image: redis:5.0.5
 volumes:
 - ../data/redis:/data
 - ./config/redis/redis.conf:/usr/local/etc/redis/redis.conf
 networks:
 - b2c
 ports:
 - "27001:6379"

 node:
 container_name: b2c-node
 volumes:
 - ../server:/server
 - ../web:/web
 image: node:10.15.3
 networks:
 - b2c
 tty: true
 working_dir: /web
 ports:
 - "29001:29000"



-
Which FFMPEG Arguments to Copy .m4a Audio File in Flutter ?
25 juillet 2021, par MeggyI've got my own fork of GSPrakashNaidu' Flutter Audio_Trimmer plugin which I'd like to use to edit an M4a audio file.


https://github.com/meghead/audio_trimmer


The plugin passes the following command to Flutter's FFMPEG plugin ;


"-y -i \"$path\" -vn -ss $start -to $end -ar 16k -ac -c:a aac -b:a 96k -acodec copy $outPath"; 



Which can be seen here in the Android Studio console ;


Running FFmpeg with arguments: [-y, -i, /storage/emulated/0/Android/data/myfiles/files/flutter_audio_recorder_1627212132002.m4a.temp, -vn, -ss, 5.0, -to, 10.5, -ar, 44k, -ac, 2, -b:a, 96k, -acodec, copy, /data/user/0/myfiles/cache/output.m4a].



But here's the error which gets thrown ;


Guessed Channel Layout for Input Stream #0.0 : mono
I/mobile-ffmpeg(21007): Input #0, wav, from '/storage/emulated/0/Android/data/myfiles/files/flutter_audio_recorder_1627212265033.m4a':
I/mobile-ffmpeg(21007): Duration: 
I/mobile-ffmpeg(21007): 00:00:01.91
I/mobile-ffmpeg(21007): , bitrate: 
I/mobile-ffmpeg(21007): 705 kb/s
I/mobile-ffmpeg(21007): 
I/mobile-ffmpeg(21007): Stream #0:0
I/mobile-ffmpeg(21007): : Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
I/mobile-ffmpeg(21007): 
E/mobile-ffmpeg(21007): [ipod @ 0x7277f388c0] Could not find tag for codec pcm_s16le in stream #0, codec not currently supported in container
E/mobile-ffmpeg(21007): Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
I/mobile-ffmpeg(21007): Stream mapping:
I/mobile-ffmpeg(21007): Stream #0:0 -> #0:0
I/mobile-ffmpeg(21007): (copy)
I/mobile-ffmpeg(21007): 
E/mobile-ffmpeg(21007): 
I/mobile-ffmpeg(21007): Conversion failed!
D/flutter-ffmpeg(21007): FFmpeg exited with rc: 1 



What argument can I use to output .m4a ?