Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP 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 (10758)

  • ffmpeg audio and the iphone

    17 juin 2019, par michelle

    has anyone been able to make ffmpeg work with audio queues, I get an error when I try to create the queue.

    ret = avcodec_open(enc, codec);

    if (ret < 0) {
       NSLog(@"Error: Could not open video decoder: %d", ret);
       av_close_input_file(avfContext);
       return;
    }


    if (audio_index >= 0) {
       AudioStreamBasicDescription
       audioFormat;

       audioFormat.mFormatID = -1;

       audioFormat.mSampleRate =
       avfContext->streams[audio_index]->codec->sample_rate;

       audioFormat.mFormatFlags = 0;

       switch (avfContext->streams[audio_index]->codec->codec_id)
       {
       case CODEC_ID_MP3:
           audioFormat.mFormatID = kAudioFormatMPEGLayer3;
           break;

       case CODEC_ID_AAC:
           audioFormat.mFormatID = kAudioFormatMPEG4AAC;
           audioFormat.mFormatFlags = kMPEG4Object_AAC_Main;
           break;

       case CODEC_ID_AC3:
           audioFormat.mFormatID = kAudioFormatAC3;
           break;
       default:
           break;
       }

       if (audioFormat.mFormatID != -1) {
           audioFormat.mBytesPerPacket = 0;
           audioFormat.mFramesPerPacket =
           avfContext->streams[audio_index]->codec->frame_size;

           audioFormat.mBytesPerFrame = 0;

           audioFormat.mChannelsPerFrame = avfContext->streams[audio_index]->codec->channels;

           audioFormat.mBitsPerChannel = 0;

           if (ret = AudioQueueNewOutput(&audioFormat, audioQueueOutputCallback, self, NULL, NULL, 0, &audioQueue)) {

               NSLog(@"Error creating audio output queue: %d", ret);
           }

    The issues only with the audio,

    Video is perfect if only I can figure out how to get audio queues to work.

    http://web.me.com/cannonwc/Site/Photos_6.html

    I though of remoteio but there is’nt much doc on that.

    I will share the code for the complete class with anyone that helps me get it to work.

    The idea is to have a single view controller that plays any streaming video passed to it, similar to ffplay on the iphone but without the sdl overhead.

  • Recorded & uploaded video from iphone device won't play in iphone

    11 juin 2019, par Sohil Chamadia

    I am facing an issue regarding :

    Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.

    This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.

    Below is the code which i have used to play video :

    <video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>

    When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
    enter image description here

  • Using FFMPEG to reliably convert videos to mp4 for iphone/ipod and flash players

    13 janvier 2023, par Jake Stevenson

    I need to convert videos for use in both a flash player and the iphone/ipod touch. I'm using the following batch script with ffmpeg :

    &#xA;&#xA;

    @echo off&#xA;ffmpeg.exe -i %1 -s qvga -acodec libfaac -ar 22050 -ab 128k -vcodec libx264 -threads 0 -f ipod %2&#xA;

    &#xA;&#xA;

    This always outputs an mp4 file, and I can always play it on my PC. The videos also seem to play fine on my iphone 3GS. But with some input files it won't work for older iphone versions (3G and iPod touch).

    &#xA;&#xA;

    Here's the ffmpeg output from one such file :

    &#xA;&#xA;

    D:\ffmpeg>encode.bat d:\temp\recording.flv d:\temp\out.m4v&#xA;FFmpeg version SVN-r18709, Copyright (c) 2000-2009 Fabrice Bellard, et al.&#xA;  configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-ming&#xA;w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --e&#xA;nable-avisynth --enable-gpl --enable-zlib --enable-bzlib --enable-libgsm --enabl&#xA;e-libfaac --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheo&#xA;ra --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid -&#xA;-enable-libschroedinger --enable-libx264&#xA;  libavutil     50. 3. 0 / 50. 3. 0&#xA;  libavcodec    52.27. 0 / 52.27. 0&#xA;  libavformat   52.32. 0 / 52.32. 0&#xA;  libavdevice   52. 2. 0 / 52. 2. 0&#xA;  libswscale     0. 7. 1 /  0. 7. 1&#xA;  built on Apr 28 2009 04:04:42, gcc: 4.2.4&#xA;[flv @ 0x187d650]skipping flv packet: type 18, size 164, flags 0&#xA;Input #0, flv, from &#x27;d:\temp\recording.flv&#x27;:&#xA;  Duration: 00:00:07.17, start: 0.001000, bitrate: N/A&#xA;    Stream #0.0: Video: flv, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc&#xA;    Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16&#xA;[libx264 @ 0x13518b0]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE&#xA;4.2&#xA;[libx264 @ 0x13518b0]profile Baseline, level 4.2&#xA;Output #0, ipod, to &#x27;d:\temp\out.m4v&#x27;:&#xA;    Stream #0.0: Video: libx264, yuv420p, 320x240, q=2-31, 200 kb/s, 1k tbn, 1k&#xA;tbc&#xA;    Stream #0.1: Audio: libfaac, 22050 Hz, mono, s16, 128 kb/s&#xA;Stream mapping:&#xA;  Stream #0.0 -> #0.0&#xA;  Stream #0.1 -> #0.1&#xA;Press [q] to stop encoding&#xA;frame=   90 fps=  0 q=-1.0 Lsize=     128kB time=6.87 bitrate= 152.4kbits/s&#xA;video:92kB audio:32kB global headers:1kB muxing overhead 2.620892%&#xA;[libx264 @ 0x13518b0]slice I:8     Avg QP:29.62  size:  7047&#xA;[libx264 @ 0x13518b0]slice P:82    Avg QP:30.83  size:   467&#xA;[libx264 @ 0x13518b0]mb I  I16..4: 17.9%  0.0% 82.1%&#xA;[libx264 @ 0x13518b0]mb P  I16..4:  0.6%  0.0%  0.0%  P16..4: 23.1%  0.0%  0.0%&#xA; 0.0%  0.0%    skip:76.3%&#xA;[libx264 @ 0x13518b0]final ratefactor: 57.50&#xA;[libx264 @ 0x13518b0]SSIM Mean Y:0.9544735&#xA;[libx264 @ 0x13518b0]kb/s:8412.6&#xA;

    &#xA;&#xA;

    My suspicion is that it has something to do with the audio encoding. If so, does anyone know how to force it to reencode the audio to the proper format ?

    &#xA;&#xA;

    Any other ideas ?

    &#xA;