Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (69)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (10077)

  • react native app doesn't load my video which is made by ffmpeg

    10 mars 2023, par yabbee

    I'm working on react native expo project and using expo-av to play video.I'm experimenting on my iphone and it's working almost fine. I copy and paste the sample code on expo av doc and Big Buck Bunny video is loaded successfully and able to play. But, there is a video that can't be played on my app. I have a video which is stored on s3 server. This is the mp4 video made by ffmpeg command on my computer and manually uploaded it on s3. I can download it and play on my machine. But when I try to load that video on my expo app, the video doesn't show up on the component at all. I write video source correctly including https:// but doesn't show up anything. How can i solve this problem ? I'm using expo 48.0.0 , expo-av 13.2.1 and expo-dev-client 2.1.5 now.

    


    Here is the ffmpeg code that I've used to make video. As you can see, I'm making a retro video by overlaying grain effect mp4 video which I downloaded.

    


    ffmpeg -i /Users/yosuke/Desktop/ffmpeg_playground/effects/grainAndFlash.mp4 -i 
{inputFilePath} -filter_complex "[0:a][1:a]amerge[mixedAudio];
[0]format=rgba,colorchannelmixer=aa=0.25[fg];[1][fg]overlay[out];
[out]trim=0:32,setpts=PTS-STARTPTS[video]" -map "[video]" -map "[mixedAudio]" -
pix_fmt yuv420p -c:v libx264 -crf 18 -shortest {outputFilePath}


    


    Here is the Expo app code

    


    import React, { useState, useEffect, useContext, useRef } from &#x27;react&#x27;;&#xA;import { View, Text, ScrollView, TouchableOpacity, Dimensions } from &#x27;react-native&#x27;;&#xA;&#xA;const Container = () => {&#xA;    const vidRef = useRef(null);&#xA;return (&#xA;    <scrollview style="{{" 1="1">&#xA;      &#xA;    </scrollview>&#xA;  );&#xA;};&#xA;&#xA;export default Container;&#xA;

    &#xA;

  • rtp mpg stream using jrtplib occurred error "illegal timestamp unit"

    13 avril 2013, par socket

    I wanna code rtp video stream sender and use VLC to play it in the LAN. I just have a mpeg4 file "a.mpg". And in my opinion, jrtplib can pack the packed well, so I think I can use sendPacket() function directly to send the mpg file. code below :

    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include <iostream>
    #include

    using namespace jrtplib;
    using namespace std;
    int main()
    {
    RTPSession s;
    RTPSessionParams sparam;
    s.SetTimestampUnit(160.0/104857.0);//~
    RTPUDPv4TransmissionParams tparam;
    tparam.SetPortbase(9000);
    int status=s.Create(sparam,&amp;tparam);
    if(status&lt;0)
    {
       cerr&lt;&lt;"error 1"&lt;/~
    s.SetDefaultMark(false);
    s.SetDefaultTimestampIncrement(160);//~~

    unsigned char buf[160];
    FILE*f=fopen("a.mpg","rb");
    while(!feof(f))
    {
       fread(buf,1,160,f);
       RTPTime delay(0.02);//~
       bool ret=false;
       status=s.SendPacket(buf,160);
       if(status&lt;0)
       {
           cerr&lt;&lt;"error 3"&lt;code></iostream>

    Then, I compile it :

    g++ jrtpsend.cpp -ljrtp -I /usr/local/include/jrtplib3

    After that, I run the program but error occurred :

    kl@kl-ubuntu:~/code/RTP$ ./a.out
    error 1
    Speficied an illegal timestamp unit for the the RTCP packet builder

    Actually, I didn't know timestamp exactly. When I use ffplay to play a.mpg showing that :

    Input #0, mpeg, from &#39;a.mpg&#39;:q=    0KB vq=    0KB sq=    0B f=0/0  
    Duration: 00:01:00.69, start: 0.529089, bitrate: 556 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 239:182 DAR 478:273],   104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 128 kb/s

    2.46 A-V : -0.003 fd= 7 aq= 2KB vq= 33KB sq= 0B f=0/0

    So, I use the data 104857kb/s in the code (setTimestampUnit()), but I have no idea whether I use it correctly.
    All in all, please give me some suggestion how to run the program well or ...
    Best regards :-)

  • Revision 399a6cbcde : Merge "Renaming vp9_token_struct to vp9_token and removing previous typedef." in

    14 avril 2013, par Dmitry Kovalev

    Changed Paths : Modify /vp9/common/vp9_entropy.c Modify /vp9/common/vp9_entropy.h Modify /vp9/common/vp9_entropymode.c Modify /vp9/encoder/vp9_bitstream.c Modify /vp9/encoder/vp9_tokenize.c Merge "Renaming vp9_token_struct to vp9_token and removing previous typedef." into (...)