Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (46)

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

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

  • 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

Sur d’autres sites (8029)

  • Dissappearing characters in youtube-dl, ffmpeg, and windows

    4 juin 2014, par user3407161

    so what happens is that if the video title has a symbol that isn’t supported by your current locale then ffmpeg won’t be able to get to that file properly.

    Here’s one example

    ►2 HOURS BEST MELODIC DUBSTEP MIX APRIL 2013◄ ヽ( ≧ω≦)ノ

    as you may or may not be able to see, lots of symbols from unicode.

    The problem is that in cmd and ffmpeg, though cmd can see

    ►2 HOURS BEST MELODIC DUBSTEP MIX APRIL 2013◄ ヽ( ≧ω≦)ノ

    ffmpeg only sees

    2 HOURS DUBSTEP_DRUMSTEP MIX AUGUST 2013 ヽ(≧ω≦)ノ

    This is the exact error message (i’m using youtube-dl)

    [ffmpeg] Adding metadata to 'C:\Music\ToBeDone\2014-06-01\►2 HOURS DUBSTEP_DRUMSTEP MIX AUGUST 2013◄ ヽ( ≧ω≦)ノ.mp4'
    ERROR: C:\Music\ToBeDone\2014-06-01\2 HOURS DUBSTEP_DRUMSTEP MIX AUGUST 2013 ヽ(≧ω≦)ノ.mp4: No such file or directory
    ERROR: WARNING: unable to obtain file audio codec with ffprobe

    After some research i’ve determined that by changing the system locale you can change which symbols cmd can support.

    However

    Used to appear as a box in a question mark in United states locale. In japanese locale it appears as it does on your screen right now.

    the problem with

    is that even though it’s not appearing as a question mark in a box (it’s appearing as how it should be), ffmpeg (or cmd) can’t detect it properly.

    (Refer back to the error message, i’ll repost it below.)

    [ffmpeg] Adding metadata to 'C:\Music\ToBeDone\2014-06-01\►2 HOURS DUBSTEP_DRUMSTEP MIX AUGUST 2013◄ ヽ( ≧ω≦)ノ.mp4'
    ERROR: C:\Music\ToBeDone\2014-06-01\2 HOURS DUBSTEP_DRUMSTEP MIX AUGUST 2013 ヽ(≧ω≦)ノ.mp4: No such file or directory
    ERROR: WARNING: unable to obtain file audio codec with ffprobe

    So as you can see, I think cmd passed on the symbol correctly to ffmpeg seeing from the adding metadata line, but when it actually does the operation ffmpeg loses

    ► and ◄

    Could this be a bug with ffmpeg ? MY workaround so far with incompatible symbols was to change the system locale, but I don’t think i can do that with these two symbols...

    These are the unique characters that i need to have a locale that supports

    Ö

    ◄ ヽ( ≧ω≦)ノ

    ( ͡° ͜ʖ ͡°)

    (_≧∇≦)



    More info on the problem in general

    https://github.com/rg3/youtube-dl/issues/2999

    and this is what’s going on (Batch Script)

    @echo off
    setlocal
    cd C:\youtube-dl

    set /p "var1=Enter URL: " %=% pause
    if defined var1 set "var1=%var1:"=%"
    set "var2=%date:/=-%"
    set "var3=%%(title)s.%%(ext)s"
    youtube-dl "%var1%" -ci -o "C:\Music\ToBeDone\%var2%\%var3%" -f best -x --no-mtime --add-metadata
    youtube-dl "%var1%" --skip-download -ci -o "C:\Music\ToBeDone\%var2%\Thumbnail\%var3%" --write-   thumbnail
    youtube-dl "%var1%" --skip-download -ci -o "C:\Music\ToBeDone\%var2%\Description\%var3%" --write-description
  • Android mp4 Media File Won't play

    17 juillet 2014, par Liron

    I had the same problem as here which I thought was because the files (recorded on iOS) were encoded as .mov instead of .mp4.

    I then changed the encoding mechanism on my iOS app to encode them as mp4, and I’m still seeing the same problem.

    When I load the file with

    File videoFile = ...;
    videoView.setVideoPath(videoFile.getAbsolutePath());
    videoView.start();

    I get E/MediaPlayer(2069): error (1, -2147483648).

    When I load the file with the following (from the link above).

    Uri uri = Uri.parse(VideoProvider.CONTENT_URI_BASE + Uri.encode(videoFile.getAbsolutePath()));
    videoView.setVideoURL(url);
    videoView.start();

    I get this in logcat

    07-17 08:05:58.283: W/VideoView(2276): Unable to open content: content://com.companyname.VideoProvider.files.files/%2Fdata%2Fdata%2Fcom.companyname.myappname%2Fcache%2FiX0mXVPxih.mp4
    07-17 08:05:58.283: W/VideoView(2276): java.io.IOException: setDataSource failed.: status=0x80000000

    ffmpeg tells me the following about the media file :

    ffmpeg -i media.mp4
    ffmpeg version 2.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Mar 26 2014 15:29:01 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libavresample   1.  2.  0 /  1.  2.  0
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'media.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2014-07-17 08:59:24
     Duration: 00:00:08.14, start: 0.000000, bitrate: 1084 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 360x480, 1027 kb/s, 24.46 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2014-07-17 08:59:24
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
         Metadata:
           creation_time   : 2014-07-17 08:59:24
           handler_name    : Core Media Audio

    Any idea why this file might be failing to load ?

    EDIT : Seems that this is mostly an issue when running in the emulator, but on a device I seem to have succeeded it getting it to work if I use a SurfaceView and MediaPlayer instead of VideoView.

  • Merge remote-tracking branch ’qatar/master’

    5 janvier 2014, par Michael Niedermayer
    Merge remote-tracking branch ’qatar/master’
    

    * qatar/master :
    cmdutils : update copyright year to 2014.

    Conflicts :
    cmdutils.c

    See : 0b1cfc4f28d81a8a49fdd5589b2eed06477abd61
    Merged-by : Michael Niedermayer <michaelni@gmx.at>