Recherche avancée

Médias (91)

Autres articles (15)

  • 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 (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4912)

  • error in frame size while using ffmpeg

    30 septembre 2016, par Rishabh Mishra

    I am trying to convert a .mkv video to mp4 but every time it shows error "invalid frame size. Command is

    ffmpeg -i Narcos.S01E03.720p.WEBRiP.x265.ShAaNiG.mkv -s 1920×1080 -acodec aac -strict -2 -ab 160k -s 1920×1080 -qscale:v 3 -f mp4 S01.Ep03.mp4

    Screen Shot

  • playback of ffmpeg converted video on LDPI device (Samsung S5300 240 x 320)

    25 décembre 2013, par user737486

    I have Full HD video taken by Samsung Galaxy S4 camera.
    video stream info as follows :

    {"index":0,"codec_name":"h264","codec_long_name":"H.264 \/ AVC \/ MPEG-4 AVC \/ MPEG-4 part 10","profile":"High","codec_type":"video","codec_time_base":"1\/180000","codec_tag_string":"avc1","codec_tag":"0x31637661","width":1920,"height":1080,"has_b_frames":0,"sample_aspect_ratio":"0:1","display_aspect_ratio":"0:1","pix_fmt":"yuv420p","level":40,"r_frame_rate":"30\/1","avg_frame_rate":"21240000\/707831","time_base":"1\/90000","start_pts":0,"start_time":"0.000000","duration_ts":1415662,"duration":"15.729578","bit_rate":"16553536","nb_frames":"472","disposition":{"default":1,"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":{"rotate":"90","creation_time":"2013-12-24 10:19:18","language":"eng","handler_name":"VideoHandle"}}

    in short it is 1920x1080, 16KK bitrate, rotation : 90.
    I'm converting it using ffmpeg by the following command :

    ffmpeg -y -threads 8 -i input.mp4 -vcodec libx264 -vpre ipod640 -s 324x576 -strict -2 -b:v 512k -acodec aac -ac 1 -ar 16000 -ab 32000 -vf "transpose=1" -metadata:s:v:0 rotate=0  output.mp4

    The output video stream info :

    {"index":0,"codec_name":"h264","codec_long_name":"H.264 \/ AVC \/ MPEG-4 AVC \/ MPEG-4 part 10","profile":"Constrained Baseline","codec_type":"video","codec_time_base":"1\/48","codec_tag_string":"avc1","codec_tag":"0x31637661","width":324,"height":576,"has_b_frames":0,"sample_aspect_ratio":"0:1","display_aspect_ratio":"0:1","pix_fmt":"yuv420p","level":30,"r_frame_rate":"24\/1","avg_frame_rate":"24\/1","time_base":"1\/12288","start_pts":0,"start_time":"0.000000","duration_ts":72192,"duration":"5.875000","bit_rate":"521597","nb_frames":"141","disposition":{"default":1,"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":{"language":"eng","handler_name":"VideoHandler"}}

    The output video being played without any problem, on many different devices and OSes including different iOs and androids, but Samsung S5300 doesn't play it. From the device log I can see the following exception :

    E/AwesomePlayer( 1349): This resolution [324X576] Not Supported

    But, when I change the width and height to 576x324 the video can be played on S5300, but in wrong rotation.
    What should I add in ffmpeg parameters to make it play in correct orientation ?

    ffmpeg version :

    ffmpeg version git-2013-12-22-911676c Copyright (c) 2000-2013 the FFmpeg developers built on Dec 22 2013 22:55:31 with gcc 4.4.5 (Debian 4.4.5-8)

    Thanks

  • Append video files of different width, height

    28 novembre 2013, par Jatin

    I am building an application where user can record a screencast. Integral part of application is that, one can pause recording and resume it later any time (the session is maintained on server side).

    So say when user starts recording the screen, the width and height is :1024*768. Using xuggler (java wrapper for ffmpeg), I am able to generate a video. But say later he is on a different system and wishes to resume screen cast, then resolution changes to 1080 * 720. At this stage, I record it seperately and then try merging two files. But because the width & height are not same, I get the below exception :

    16:38:03.916 [main] WARN com.xuggle.xuggler - Got error : picture is
    not of the same width as this Coder
    (../../../../../../../csrc/com/xuggle/xuggler/StreamCoder.cpp:1430)
    Exception in thread "main" java.lang.RuntimeException : failed to
    encode video

    What is the best way to solve this Issue. The user can be on screen with different width and height. How do I merge (or any other alternatives, probably append) video files of different width and height ?