Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6778)

  • Flutter FFmpeg moov atom not found whilst running ffmpeg command during recording

    28 janvier 2021, par GILO

    Hi am currently trying to retrieve 3 second clips of an audio file whilst it is recording in flutter. I am using the recording module flutter sound and flutter ffmpeg.

    


    I record the audio file with default codec (.aac). The file is saved to the cache getTemporaryDirectory()

    


    I then copy the file using this flutter ffmpeg code

    


    List<string> arguments = ["-ss", start.toString(), "-i", inPath, "-to", end.toString(), "-c", "copy", outPath];&#xA;&#xA;await flutterFFmpeg.executeWithArguments(arguments);&#xA;</string>

    &#xA;

    &#xA;

    Start : start time (e.g. 0) and End : end time (e.g. 3)

    &#xA;

    &#xA;

    It then returns this error

    &#xA;

    &#xA;

    FFmpeg exited with rc : 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x748964ea00] moov&#xA;atom not found

    &#xA;

    &#xA;

    Helpful information :

    &#xA;

      &#xA;
    1. A moov atom is data about the file (e.g timescale,duration)
    2. &#xA;

    3. I know the inPath exists because I check that before executing ffmpeg command
    4. &#xA;

    5. The outPath is also format .aac
    6. &#xA;

    7. This ffmpeg function is being ran whilst the recording is still occurring
    8. &#xA;

    9. Example inPath uri looks like this /data/user/0/com.my.app/cache/output.aac
    10. &#xA;

    11. I have no problems when running on iOS, only on android
    12. &#xA;

    &#xA;

    I would be grateful for help, I have spent many days trying to fix this problem. If you need anymore info please leave a comment. Thanks

    &#xA;

  • ffmpeg binary which can work on Ubuntu version 13.10 [on hold]

    6 décembre 2013, par user2007454

    Can anybody tell me where can I find ffmpeg binary for ubuntu version 13.10, I have spent days in ffmpeg compilation but every time I try to convert my video file from one format to other I am getting an eror I think working with binary would be a good idea plz do share your comments on this

    ffmpeg -i linux_vid.mp4 linux_vid.avi
    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
     built on Nov  9 2013 19:15:22 with gcc 4.8.1
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;linux_vid.mp4&#39;:
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.59.106
       comment         : 1364833251131047
     Duration: 00:00:56.45, start: 0.000000, bitrate: 231 kb/s
       Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 320x238 [PAR 4057:4095 DAR 129824:97461], 133 kb/s, PAR 41531:41920 DAR 349:262, 24 fps, 24 tbr, 12288 tbn, 48 tbc
       Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 93 kb/s
    [buffer @ 0x94225c0] w:320 h:238 pixfmt:yuv420p
    [mpeg4 @ 0x943fa80] Invalid pixel aspect ratio 41531/41920, limit is 255/255
    Output #0, avi, to &#39;linux_vid.avi&#39;:
       Stream #0.0(und): Video: mpeg4, yuv420p, 320x238 [PAR 41531:41920 DAR 349:262], q=2-31, 200 kb/s, 90k tbn, 24 tbc
       Stream #0.1(und): Audio: libmp3lame, 44100 Hz, stereo, s16, 200 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Get bitmap / thumbnail from a streaming video with format like .mp4, .3gp in Android ?

    12 janvier 2016, par Androzr

    I am working on ListView which on item click redirecting to a video link.
    I explain my problem :

    I have three types of videos :

    • Youtube
    • Dailymotion
    • Other formats from streaming video like this one : Video Link

    I am trying to get thumbnail to get it in my ImageView from my item of my ListView. I encoutered a problem, I get Youtube thumbnail, Dailymotion thumbnail but I couldn’t get thumbnail for other formats.

    I tried to use MediaMetaDataRetriever class but nothing happens.

    Here is the line where I tried to get my bitmap :

    We are in my VideoAdapter class in the getView method. holder is my ViewHolder class and thumbVideo is my ImageView.

    Here is differents lines I tried :

    holder.thumbVideo.setImageBitmap(createVideoThumbnail(m_Context, Uri.parse(m_Video.getM_Preview())));

    m_Video is my Video class and the method getM_Preview() is getting the link of video thumbnail.

    Here is my createVideoThumbnail(Context context, Uri uri) method :

       public Bitmap createVideoThumbnail(Context context, Uri uri) {
       Bitmap bitmap = null;
       MediaMetadataRetriever retriever = new MediaMetadataRetriever();
       try {
           retriever.setDataSource(context, uri);
           bitmap = retriever.getFrameAtTime(-1);
       } catch (RuntimeException ex) {
       } finally {
           try {
               retriever.release();
           } catch (RuntimeException ex) {
           }
       }
       return bitmap;
    }

    I am looking an answer for 4 days. If anybody know how I can do, it’ll be helpful