
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (35)
-
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 -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4059)
-
Trim Audio Flutter ( ffmpeg_kit_flutter Package) Not Working
23 septembre 2024, par Sharath AppeshAudio Trim is not working


Flutter Version : 3.0.2
Dart : 2.17.3


Package used :
ffmpeg_kit_flutter : ^4.5.1


Input file path :
"/data/user/0/com.goonetech.v1.gofinal/cache/file_picker/sample-15s.mp3"


Output file path :
"/data/user/0/com.goonetech.v1.gofinal/app_flutter/output.mp3"



double start=2, 
double end=5;

String path="/data/user/0/com.goonetech.v1.gofinal/cache/file_picker/sample-15s.mp3"


 static Future<string> cutAudio(String path, double start, double end) async {
 final Directory dir = await getApplicationDocumentsDirectory();
 final outPath = "${dir.path}/output.mp3";
 double start = 1;
 double end = 5;

 try 
{
 await File(outPath).delete();
 } catch (e) {
 print("Delete Error");
 }

 var cmd =
 "-y -i \"$path\" -vn -ss $start -to $end -ar 16k -ac 2 -b:a 96k -acodec libmp3lame $outPath";

 FFmpegKit.executeAsync(cmd, (session) async {
 final returnCode = await session.getReturnCode();
 print("returnCode $returnCode");
 });

 return outPath;
 }

</string>


The output is :
returnCode 1


The output path does not have the file (File not found exception)


-
Concatenate audio files using ffmpeg
4 juin 2021, par user13962029I am trying to concatenate ac3 and aac using ffmpeg.


ffprobe of jpn_op.m4a :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'jpn_op.m4a':
Metadata:
major_brand : M4A 
minor_version : 512
compatible_brands: M4A isomiso2
encoder : Lavf58.76.100
Duration: 00:01:17.28, start: 0.000000, bitrate: 224 kb/s
Stream #0:0(jpn): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 224 kb/s (default)
Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Side data:
 audio service type: main



ffprobe of eng_nop.m4a


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'eng_nop.m4a':
Metadata:
major_brand : M4A 
minor_version : 512
compatible_brands: M4A isomiso2
encoder : Lavf58.76.100
Duration: 00:22:09.26, start: 0.023000, bitrate: 41 kb/s
Stream #0:0(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 39 kb/s (default)
Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]



I tried this :


ffmpeg -f concat -i concat_files.txt -c copy final.m4a -y



concat_files.txt contains :


file 'jpn_op.m4a'
file 'eng_nop.m4a'



ffprobe of final.m4a


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'final.m4a':
Metadata:
major_brand : M4A 
minor_version : 512
compatible_brands: M4A isomiso2
encoder : Lavf58.76.100
Duration: 00:23:26.50, start: 0.000000, bitrate: 51 kb/s
Stream #0:0(jpn): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 224 kb/s (default)
Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
Side data:
 audio service type: main



But, there is silent in place of 2nd file in final.m4a


-
FFMPEG ratio and SAR to 1 [closed]
21 novembre 2024, par Aurelien StrideI have a video of 1280x720px with a SAR = 540:401.


My purpose is, with FFMPEG, to set SAR to 1, and get a final resolution of 1280*534.