Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (78)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (8633)

  • ffmpeg php - shell_exec returns Permission Denied

    21 juin 2013, par Sotiris Akis Mitracos

    i'm integrating ffmpeg into my php webapp (on a windows server). Calling the library through shell_exec like this

    $out_shell = shell_exec("$ffmpeg myfile.avi 2>&1");

    i receive the following output :

     ffmpeg version N-54117-gf9739a3 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 19 2013 23:42:15 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --   enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 37.101 / 52. 37.101
     libavcodec     55. 16.100 / 55. 16.100
     libavformat    55.  9.100 / 55.  9.100
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 77.101 /  3. 77.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    C:\ffmpeg: Permission denied

    what's wrong with the code ? if i run ffmpeg myfile.avi 2>&1 in cmd, I can also read video's meta-data.

    Could anybody help me ?
    thank you

  • How to detect anamorphic video with FFProbe ?

    29 mai 2015, par FlavorScape

    This is the output I get using FFProbe for a video I’m certain is anamorphic. I’ve converted it as a test with ffmpeg and the results are consistent with the video having a different PAR and DAR (video is squished). I ran some command line params to fix anamorphic video and it worked. Possibly my diagnosis is incorrect, the PAR and DAR are just plain wrong ?

    The code I used to "correct" the anamamorphic is

    --custom-anamorphic --display-width 1280 --keep-display-aspect --modulus 8 --crop 0:0:0:0

    Is there an additional command with FFProbe to detect for anamorphic ? So far I’m just seeing if the sample_aspect_ratio and display_aspect_ratio are the same or not.

    Additionally, a ratio of 0:1 seems incorrect. My video is not infinitely wide. Is there a bug with FFProbe output ?

    This is the command

    -print_format json -show_format -show_streams {originalFilePath}

    FFProbe version N-54233-g86190af built on Jun 27 2013 outputs the following :

    "Output{
       \"streams\": [
           {
               \"index\": 0,
               \"codec_name\": \"h264\",
               \"codec_long_name\": \"H.264/AVC/MPEG-4AVC/MPEG-4part10\",
               \"profile\": \"Main\",
               \"codec_type\": \"video\",
               \"codec_time_base\": \"1/5994\",
               \"codec_tag_string\": \"avc1\",
               \"codec_tag\": \"0x31637661\",
               \"width\": 1280,
               \"height\": 720,
               \"has_b_frames\": 0,
               \"sample_aspect_ratio\": \"0: 1\",
               \"display_aspect_ratio\": \"0: 1\",
               \"pix_fmt\": \"yuv420p\",
               \"level\": 31,
               \"r_frame_rate\": \"2997/100\",
               \"avg_frame_rate\": \"2997/100\",
               \"time_base\": \"1/2997\",
               \"start_pts\": 0,
               \"start_time\": \"0.000000\",
               \"duration_ts\": 204100,
               \"duration\": \"68.101435\",
               \"bit_rate\": \"3894381\",
               \"nb_frames\": \"2041\",
               \"disposition\": {
                   \"default\": 0,
                   \"dub\": 0,
                   \"original\": 0,
                   \"comment\": 0,
                   \"lyrics\": 0,
                   \"karaoke\": 0,
                   \"forced\": 0,
                   \"hearing_impaired\": 0,
                   \"visual_impaired\": 0,
                   \"clean_effects\": 0,
                   \"attached_pic\": 0
               },
               \"tags\": {
                   \"creation_time\": \"2013-05-0318: 33: 37\",
                   \"language\": \"eng\",
                   \"handler_name\": \"AppleAliasDataHandler\"
               }
           },
           {
               \"index\": 1,
               \"codec_name\": \"aac\",
               \"codec_long_name\": \"AAC(AdvancedAudioCoding)\",
               \"codec_type\": \"audio\",
               \"codec_time_base\": \"1/44100\",
               \"codec_tag_string\": \"mp4a\",
               \"codec_tag\": \"0x6134706d\",
               \"sample_fmt\": \"fltp\",
               \"sample_rate\": \"44100\",
               \"channels\": 2,
               \"bits_per_sample\": 0,
               \"r_frame_rate\": \"0/0\",
               \"avg_frame_rate\": \"0/0\",
               \"time_base\": \"1/44100\",
               \"start_pts\": 0,
               \"start_time\": \"0.000000\",
               \"duration_ts\": 3003392,
               \"duration\": \"68.104127\",
               \"bit_rate\": \"125304\",
               \"nb_frames\": \"2933\",
               \"disposition\": {
                   \"default\": 0,
                   \"dub\": 0,
                   \"original\": 0,
                   \"comment\": 0,
                   \"lyrics\": 0,
                   \"karaoke\": 0,
                   \"forced\": 0,
                   \"hearing_impaired\": 0,
                   \"visual_impaired\": 0,
                   \"clean_effects\": 0,
                   \"attached_pic\": 0
               },
               \"tags\": {
                   \"creation_time\": \"2013-05-0318: 33: 37\",
                   \"language\": \"eng\",
                   \"handler_name\": \"AppleAliasDataHandler\"
               }
           }
       ],
       \"format\": {
           \"filename\": \"\\\\\\\\dell690\\\\vsf\\\\_asset_intake\\\\v2\\\\ed69c939-4fe1-40dd-a045-db72ed2e0009\\\\original\\\\USTC_Overview2.mov\",
           \"nb_streams\": 2,
           \"format_name\": \"mov,
           mp4,
           m4a,
           3gp,
           3g2,
           mj2\",
           \"format_long_name\": \"QuickTime/MOV\",
           \"start_time\": \"0.000000\",
           \"duration\": \"68.100000\",
           \"size\": \"34267583\",
           \"bit_rate\": \"4025560\",
           \"tags\": {
               \"major_brand\": \"qt\",
               \"minor_version\": \"537199360\",
               \"compatible_brands\": \"qt\",
               \"creation_time\": \"2013-05-0318: 33: 37\"
           }
       }
    }"
  • ffmpeg frame rate issue h264+ass to mkv

    27 juin 2013, par user2529661

    I'm using this command for ffmpeg :

    ffmpeg  -i 1.h264 -i ass1.ass -map 0 -map 1 -c copy test.mkv

    The h264 file is 30 fps... the mkv plays at 25fps so it runs slow

    The h264 come off my hd webcam. If i change the frame rate on the camera to 25 it works fine and 15fps wilk play at high speed. I can force the frame rate ? Every if i need a different command line tool to change it that is acceptable. But if i could fix it form ffmpeg that would be ideal. I'm running the commands from vb.net.

    command output
    C:\Record\Normal\2013-06-27>c:\ffmpeg\bin\ffmpeg  -i 1.h264 -i ass1.ass -map 0 -
    map 1 -c copy test.mkv
    ffmpeg version N-54207-ge59fb3f Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 25 2013 21:55:00 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 37.101 / 52. 37.101
     libavcodec     55. 17.100 / 55. 17.100
     libavformat    55. 10.100 / 55. 10.100
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 77.101 /  3. 77.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, h264, from '1.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (Baseline), yuv420p, 1920x1088 [SAR 1:1 DAR 30:17],
    25 fps, 25 tbr, 1200k tbn, 50 tbc
    Input #1, ass, from 'ass1.ass':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Subtitle: ssa
    File 'test.mkv' already exists. Overwrite ? [y/N] y
    Output #0, matroska, to 'test.mkv':
     Metadata:
       encoder         : Lavf55.10.100
       Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1088 [SAR 1:1 DA
    R 30:17], q=2-31, 25 fps, 1k tbn, 1200k tbc
       Stream #0:1: Subtitle: ssa
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  144 fps=0.0 q=-1.0 Lsize=    2451kB time=00:00:05.72 bitrate=3509.6kbits
    /s
    video:2447kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.125529%