Recherche avancée

Médias (91)

Autres articles (59)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9863)

  • ffmpeg avformat_open_input() failed to open a dshow device url containing Chinese Characters

    16 octobre 2024, par Sang

    The USB Webcam is OK, but the device I want to use is a "virtual camera" named "无他伴侣(竖屏)", whose video is from the smart phone like Android or iOS. Connect the phone to PC, run an app on the phone, then run a PC client application, which can preview the video. The phone app is called "无他相机", and the PC app is called "无他伴侣", its website is https://www.wuta-cam.com/.

    


    I run FFmpeg at the Windows Commandline with the command ffmpeg -list_devices true -f dshow -i dummy, it's OK to list the devices.(in order to display Chinese correctly, run chcp 65001 in advance.)

    


    Run the command ffplay -f dshow -i video="无他伴侣(竖屏)", it's OK to play the video.(of course you need to comfirm its PC client previewing fine in advance.)

    


    Now I want to get the decoded frames from that virtual camera in my program, I call avformat_open_input() with video=无他伴侣(竖屏), it failed, the return value is -5, I/O error.

    


    Anyone knows the reason ?

    


    Below is my code snippet.

    


    avdevice_register_all();
avcodec_register_all();
//const char * url= "video=Logitech Webcam C930e";// This is fine.
char url[] = "video=无他伴侣(竖屏)";// This is bad.

AVFormatContext *pFmtCtx = avformat_alloc_context();
AVInputFormat *iformat = av_find_input_format("dshow");
int nRet = 0;
nRet = avformat_open_input(&pFmtCtx, url, iformat, NULL);
if (nRet)
{
    const size_t buffer_size = 256;
    char err_description[buffer_size];
    av_strerror(nRet, err_description, buffer_size);
    printf("%s.\n", err_description);// --> I/O error.
    printf("FAILED to open input.(Line:%d,%d)\n",  __LINE__, nRet);
    return -1;
}


    


  • Compress Videos in Android using FFMPEG

    3 mai 2017, par Gaurav Kumar

    I have already put the gradle of writing minds to compress videos.

    compile 'com.writingminds:FFmpegAndroid:0.3.2'

    Now after syncing project, I have list of videos fetched from external or internal storage. videos of size upto 100 or 500 mb. Now when user clicks on that, video must compress and returned the compressed url so that i will be able to upload the compressed video to the server.

    Please suggest or do some lines of code or any guidance.
    Thanks in advance !!.

  • Grab (all) audio samples with ffmpeg, C/C++ [closed]

    28 août 2020, par nji9

    For further analysis I need to access/ collect all samples of
audio files with ffmpeg.
There are lot of code examples around, but all of them are either out-of-date
(using deprecated or non-existing ffmpeg API),
or are buggy (multiple frames in packets etc), or are incomplete...

    


    So, could some of the profs please present a simple working code ?

    


    In : Just filename, Out : Just error code, Within : Determine properties and access audio samples.

    


    Would probably be of great help not only for me ;-)

    


    Thankyou in advance.