Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (38)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5965)

  • Converting a call center recording to something useful

    9 août 2018, par Abhay

    I have a call center recording (when played it sounds gibberish) for which the mediainfo shows info as

    ion@aurora:~/Inbound$ mediainfo 48401-3405-48403--18042018170000.wav
    General
    Complete name                            : 48401-3405-48403--18042018170000.wav
    Format                                   : Wave
    File size                                : 327 KiB
    Duration                                 : 4mn 11s
    Overall bit rate                         : 10.7 Kbps

    Audio
    Format                                   : G.723.1
    Codec ID                                 : A100
    Duration                                 : 4mn 11s
    Bit rate                                 : 10.7 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 8 000 Hz
    Stream size                              : 327 KiB (100%)

    The ffmpeg info shows this as

    ion@aurora:~/Inbound$ ffmpeg -i 48401-3405-48403--18042018170000.wav
    ffmpeg version N-91330-ga990184 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
     configuration: --prefix=/home/ion/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ion/ffmpeg_build/include --extra-ldflags=-L/home/ion/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/ion/bin --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 20.103 / 58. 20.103
     libavformat    58. 17.100 / 58. 17.100
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 25.100 /  7. 25.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, wav, from '48401-3405-48403--18042018170000.wav':
     Duration: 00:04:11.37, bitrate: 10 kb/s
       Stream #0:0: Audio: g723_1 ([0][161][0][0] / 0xA100), 8000 Hz, mono, s16, 10 kb/s
    At least one output file must be specified

    So I converted this file to PCM using

    ffmpeg -acodec g723_1 -i 48401-3405-48403--18042018170000.wav -acodec pcm_s16le -f wav outnew1.wav

    But the audio still sound gibberish , I tried many variation and only Goldwave worked but that works on windows and with GUI not cli.

    So how can I convert this file to something useful so that atleast I can listen to it , It feels like a challenge now.

    Audio file : https://drive.google.com/open?id=1T54lKaI6IJmOqTPNOA_OkYRz89EQ5F2L

    PS : Use VLC to play audio file

  • Fixing a corrupted .MP4 file. which might be a 3gp file

    2 juin 2020, par Tendekai Muchenje

    I have a file called input.MP4 and it is corrupted. It's from a CCTV camera. I tried everything, ffmpeg, VLC convert, no luck. However, I used mediainfo and exiftool and extracted the following info. I am wondering if someone can figure out if I can use any of this info to fix it or convert it to a usable format. I have a copy of it here on my Google Drive

    



    mediainfo gave me this :

    



    General
Complete name                       : input.MP4
Format                              : MPEG-4
Format profile                      : 3GPP Media Release 5
Codec ID                            : 3gp5 (3gp5/3gp4/avc1/mp42/isom)
File size                           : 5.77 MiB
IsTruncated                         : Yes


    



    exiftool gave me this :

    



    ExifTool Version Number          : 10.80
File Name                        : input.MP4
Directory                        : /home/tendi/Downloads
File Size                        : 5.8 MB
File Modification Date/Time      : 2018:07:21 19:09:03-04:00
File Access Date/Time            : 2018:07:21 19:30:48-04:00
File Inode Change Date/Time      : 2018:07:21 19:30:48-04:00
File Permissions                 : rw-rw-r--
File Type                        : 3GP
File Type Extension              : 3gp
MIME Type                        : video/3gpp
Major Brand                      : 3GPP Media (.3GP) Release 5
Minor Version                    : 0.0.0
Compatible Brands                : 3gp5, 3gp4, avc1, mp42, isom
Movie Data Size                  : 5899106
Movie Data Offset                : 44


    



    Any suggestions ?

    


  • Send stream from hdhomerun to AWS EC2 instance

    13 novembre 2018, par icalvete

    I’m trying something odd to get fun. Send stream from hdhomerun to AWS EC2 instance.

    First aproach. Read stream with ffmpeg
    (tested locally successfully)

    hdhomerun_config discover sya my device have ip 192.168.1.200 so I open port on my router in this way

    <my home="home" public="public" ip="ip">:5005 -> 192.168.1.200:80
    <my home="home" public="public" ip="ip">:5004 -> 192.168.1.200:5004
    </my></my>

    w3m and telnet say everything is ok.

    But...

    from EC2 instance I do

    /usr/bin/ffmpeg -y -i 'http://<my home="home" public="public" ip="ip">:5004/auto/v5057?transcode=internet240' -t 12 -vn -acodec pcm_s16le -ar 16000 -ac 1 '/tmp/test.wav'
    </my>

    In tuner1 I can see...

    Virtual Channel none
    Frequency   698.000 MHz
    Program Number  186
    Modulation Lock t8qam64
    Signal Strength 89%
    Signal Quality  100%
    Symbol Quality  100%
    Streaming Rate  none
    Resource Lock   <ec2 public="public" ip="ip">
    </ec2>

    In hdhomerun system logs...

    19700102-10:27:25 Tuner: tuner0 tuning 5057 Telecinco (t8qam64:698MHz-186)
    19700102-10:27:25 Tuner: tuner0 streaming http to <ec2 public="public" ip="ip">:34124
    </ec2>

    Everything seems ok but ffmpeg don’t get any data.

    Seccond aproach. Send stream to wowza

    I have a wowza server running in EC2 instance

    From a linux box at my home I do.

    root# /usr/bin/hdhomerun_config 1250D7B2 scan /tuner1 scan.log
    root# /usr/bin/hdhomerun_config 1250D7B2 set /tuner1/channel auto:651000000
    root# /usr/bin/hdhomerun_config 1250D7B2 get /tuner1/streaminfo
    root# /usr/bin/hdhomerun_config 1250D7B2 get /tuner1/program 190
    root# /usr/bin/hdhomerun_config 1250D7B2 set /tuner1/target rtp://<wowza server="server" public="public" ip="ip">:1935/TEST/hdhr
    root# echo $?
    root# 0
    </wowza>

    Ends without error buy doesn’t work
    This was a long shot but ....

    Any ideas to do this.

    Thanks !!!