Advanced search

Medias (1)

Tag: - Tags -/école

Other articles (37)

  • Contribute to a better visual interface

    13 April 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Qu’est ce qu’un éditorial

    21 June 2013, by

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Dépôt de média et thèmes par FTP

    31 May 2013, by

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

On other websites (3462)

  • ffmpeg: how to swap audio channels

    15 September 2020, by Kevin Gilbert

    I have an mp4 file where the front and rear channels are swapped (front <-> rear not left <-> right). How can I swap the audio streams?

    &#xA;

    What I've tried (amongst others):

    &#xA;

    ffmpeg -i in.mp4 -filter &#x27;channelmap=map=FL-BL|FR-BR|BL-FL|BR-FR&#x27; -c:v copy out.mp4&#xA;

    &#xA;

    what I get:

    &#xA;

    Filtergraph &#x27;channelmap=map=FL-BL|FR-BR|BL-FL|BR-FR&#x27; was defined for video output stream 0:0 but codec copy was selected.&#xA;Filtering and streamcopy cannot be used together.&#xA;

    &#xA;

    tia

    &#xA;

  • FFMPEG and libx264, WMP and QT playback at different res/aspect than specified

    10 September 2013, by Foltz

    So, for a little context. I'm trying to convert a JPEG2000 in .mxf video to an h264 in .mp4, maintaining its resolution/frame-size/aspect ratio. I'll say up front I'm not 100% sure on how all these ratios tie together.

    So, my input file is 720x486. I have a sample h264 file with specs I'm trying to emulate (from an OpenCube video ingest machine) with ffmpeg. The OpenCube file plays back at 720x486 in both Quick Time 7 and Windows Media Player 12. It reports a PAR of 9:10 and DAR of 4:3 (Using VideoSpec to see these values).

    When I make my derivative h264 using ffmpeg I can run the command:

    ffmpeg -i lac-test.mxf -vcodec libx264 -s 720x486 -aspect 4:3 -b:v 2500000 -pix_fmt yuv420p -coder 0 -acodec libfaac -b:a 256000 lac-test.mp4

    The output file reports the correct values in VideoSpec (720x486, DAR 4:3, PAR 9:10), but plays back in QT at 648x486. Weirder, the video plays back at the proper resolution (that is, same size as the sample OpenCube file).

    Now, an alternative command creates yet another predicament:

    ffmpeg -i lac-test.mxf -vcodec libx264 -s 720x486 -b:v 2500000 -pix_fmt yuv420p -coder 0 -acodec libfaac -b:a 256000 lac-test.mp4

    So omitting the aspect ratio gives me an output file that plays at 720x486 in QT7 (good!) but reports a DAR of 1.481 and an Undefine PAR. Unfortunately, THIS file plays back slightly too wide in WMP12.

    I've tried a slew of different strings to try and get something that plays back correctly. I've tried using various filters with the -fv flag such as:

    ffmpeg -i lac-test.mxf -vcodec libx264 -vf "scale=720x486,setsar=9:10,setdar=4:3" -b:v 2500000 -pix_fmt yuv420p -coder 0 -acodec libfaac -b:a 256000 lac-test.mp4

    This results in a video that shows all the correct specs in VideoSpec, and plays back correctly in WMP12 (same size as OpenCube file), but still plays back at 648x486 in QT7.

    What gives?

  • Is there a chance to check why a videostream on IOS does not work?

    13 September 2013, by mazleu

    I have a very strange problem.

    To stream videos I use AMS (Adobe Media Server)
    This works fine for the most Videos.
    But 4 videos do not work on iOS devices. The first seconds work but then the Video break.
    All Videos (over 1000) are convertet with the same ffmpeg settings.

    I try other settings and other converters but the Result are the same.

    Is there any opportunity to show why IOS don't like this 4 Videos?

    Mediainfo form a failed video:

    MediaInfoLib - v0.7.62

    General
    Complete name                       : ---
    Format                              : MPEG-4
    Format profile                      : Base Media
    Codec ID                            : isom
    File size                           : 91.3 MiB
    Duration                            : 24mn 27s
    Overall bit rate mode               : Variable
    Overall bit rate                    : 522 Kbps
    Encoded date                        : UTC 2013-09-12 14:24:13
    Tagged date                         : UTC 2013-09-12 14:24:13

    Video
    ID                                  : 1
    Format                              : AVC
    Format/Info                         : Advanced Video Codec
    Format profile                      : High@L4.1
    Format settings, CABAC              : Yes
    Format settings, ReFrames           : 4 frames
    Codec ID                            : avc1
    Codec ID/Info                       : Advanced Video Coding
    Duration                            : 24mn 27s
    Bit rate                            : 387 Kbps
    Maximum bit rate                    : 4 885 Kbps
    Width                               : 1 280 pixels
    Height                              : 720 pixels
    Display aspect ratio                : 16:9
    Frame rate mode                     : Constant
    Frame rate                          : 30.000 fps
    Color space                         : YUV
    Chroma subsampling                  : 4:2:0
    Bit depth                           : 8 bits
    Scan type                           : Progressive
    Bits/(Pixel*Frame)                  : 0.014
    Stream size                         : 67.7 MiB (74%)
    Writing library                     : x264 core 130 r2273 b3065e6
    Encoding settings                   : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=28.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:0.60
    Encoded date                        : UTC 2013-09-12 14:24:13
    Tagged date                         : UTC 2013-09-12 14:24:16

    Audio
    ID                                  : 2
    Format                              : AAC
    Format/Info                         : Advanced Audio Codec
    Format profile                      : LC
    Codec ID                            : 40
    Duration                            : 24mn 27s
    Bit rate mode                       : Variable
    Bit rate                            : 132 Kbps
    Maximum bit rate                    : 172 Kbps
    Channel(s)                          : 2 channels
    Channel positions                   : Front: L R
    Sampling rate                       : 48.0 KHz
    Compression mode                    : Lossy
    Delay relative to video             : 67ms
    Stream size                         : 22.7 MiB (25%)
    Encoded date                        : UTC 2013-09-12 14:24:15
    Tagged date                         : UTC 2013-09-12 14:24:16