Recherche avancée

Médias (91)

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (13801)

  • No such file or directory error in flutter_ffmpeg

    8 septembre 2021, par Aryan Shandilya

    I intend to use the flutter_ffmpeg package to convert audio to video with the image as a background, but I am encountering a very weird error. Despite the fact that the files exist in the location that I have provided to the flutter_ffmpeg package as input, I am getting a 'No such file or directory' error. I have already tested out everything I can thnk of but I just don't get it.

    


    Future<string> converter(String audioPath, String imagePath) async {&#xA;String? videoPath;&#xA;Directory? dir = await getExternalStorageDirectory();&#xA;// videoPath = dir!.path;&#xA;final videoDirectory = &#x27;${dir!.path}/VDir&#x27;;&#xA;if (await Directory(videoDirectory).exists() == false) {&#xA;  await Directory(videoDirectory).create();&#xA;}&#xA;// await Directory(videoDirectory).create();&#xA;videoPath = videoDirectory &#x2B; &#x27;/${DateTime.now().millisecond}.mp4&#x27;;&#xA;print(&#xA;    "-------------------------------------------------------------------------------------------------------------------------------------------------------------------");&#xA;print("\nAudioPath = " &#x2B; audioPath);&#xA;print("\nImagePath = " &#x2B; imagePath);&#xA;print("\nVideoPath = " &#x2B; videoPath);&#xA;print("\nVideoDirectory = " &#x2B; videoDirectory);&#xA;print(&#xA;    "\n-------------------------------------------------------------------------------------------------------------------------------------------------------------------");&#xA;_flutterFFmpeg&#xA;    .execute(&#xA;        &#x27;-loop 1 -framerate 2 -i \&#x27;$imagePath\&#x27; -i \&#x27;$audioPath\&#x27; -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1" -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p $videoPath&#x27;)&#xA;    .catchError((onError) {&#xA;  print(onError);&#xA;  // ErrorHandler().errorDialog(context, )&#xA;});&#xA;return videoPath;}&#xA;</string>

    &#xA;

    videoPath = await FFmpegOperations().converter(widget.audioPath, coverImagePath);

    &#xA;

    Can someone tell me what is wrong with my code, I am using the min-gpl version(not lts) ffmpeg and am testing this on two android devices I am getting the same results.

    &#xA;

    Error :&#xA;/data/user/0/com.example.example/app_flutter/datte.png : No such file or directory&#xA;D/flutter-ffmpeg( 1139) : FFmpeg exited with rc : 1&#xA;.&#xA;Any form of help would be more than welcome, thank you.

    &#xA;

  • Inotifywait giving wrong file path after running ffmpeg

    23 mars 2019, par Morpheus

    So im running a little inotifywait script to monitor a folder for new files and transcode them if they are mxf and contain a video stream. But for some weird reason if the script does call ffmpeg the next fileevent by inotify is giving me a wrong path seemingly random cutting the filepath at any position.

    So far i tried moving the call to an external script, resetting the file variable which shouldnt matter anyway and adding a sleep to the script. I also tried using normal filepaths without whitespaces or - which shouldnt matter but that also didnt help.

    inotifywait -m -r -e close_write -e moved_to --format "%w%f"  "$dir" | while read f

    do
               if ffprobe "$file" 2>&amp;1 | egrep 'Stream #0:0: Video' &amp;&amp; ffprobe "$file" 2>&amp;1 | egrep 'MXF' ; then
                   mkdir -vp "$movepath" &amp;&amp; mkdir -vp "$trans$path3"  &amp;&amp; mkdir -vp "$trans2$path3" &amp;&amp; mv -fu "$f" "$trans2$path" &amp;&amp; \
                   ffmpeg -y -i "$file" -map_metadata 0 -c:v h264_nvenc -b:v 2m -bufsize 2m -profile:v baseline -level:v 3.0 -pix_fmt yuv420p -vf yadif,scale="iw/4:ih/4" -an "$transpath" 2>> copy_ffmpeg_log.txt
    done

    expected :

    /media/raid/TMO_Media/INGEST-HP.1/WacinS1_19V01.5C935C93A3B4V.mxf

    example for an result after transcode :

    cinS1_19A06.5C935C93A088A.mxf

    do while normal mv commands work and inotify does work as expected when stopped for transcoding a file the next path given by inotify is getting messed up

    link to the entire script : https://pastebin.com/aRNG4rqz

  • Ffmpeg behaving intermittently

    10 mars 2024, par confused

    I'm noticing something weird, for the first time ever today, and I'm not sure what the problem could even possibly be.

    &#xA;

    I first noticed it while stripping videos with a python script I wrote. Now I realize it is even happen with command line entry.

    &#xA;

    Some, but not all videos, and some but not all segments within the same video are not stripping correctly. I'm taking numerous 1-2 hour long videos and cutting segments out of it. When I go to look at the video clip afterwards it automatically jumps to 2, 5, 8, 10 seconds into the video and starts playing there. It depends on the video segment as to how far ahead it skips. If I try to get it to go back and play the first part of the video it won't, it just jumps back to the 2-10 second jump ahead spot and plays from there. In further investigating it is stripping the audio off correctly and keep all the first 2-10 seconds of the audio with the video clip, but it is not picking up the first 2-10 seconds of the video. When I go into VLC Media Player and try to go back to the beginning I have a frozen image on the screen until I get to the 'predestined' 2-10 second mark, and then the video will play fine. When I watch the original video, it is okay but when I strip it the new video doesn't pick up the beginning of the video. Finally had to go to VLC media player to figure that part out as it was the only one who even let me play the underlying audio, every other media player wanted to jump ahead and skip the entire first 2-10 seconds altogether.

    &#xA;

    This is happening with numerous different videos and video segments within the same video. Some segments it will strip fine others it won't.

    &#xA;

    This occurs either way, python or command line. I just checked and the underlying video plays fine in the regular media player, until I strip the video, then it wants to skip the first 10 seconds.

    &#xA;

    How might I fix this problem ?

    &#xA;