Recherche avancée

Médias (0)

Mot : - Tags -/latitude

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (77)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7937)

  • Multi-language broadcasting title metadata for Audio & subtitle is not working

    28 septembre 2022, par Fariduzzaman Xenar

    I have a (.mp4) video file that contains 1 video track, 2 audio tracks & 2 subtitles. I already used different titles for audio tracks on encoding, but it's not working on any web player like JWPlayer, or Flussonic, where Multi-language broadcasting is supported. It shows eng a1, hin a2 for audio | eng t1, ben t2 for subtitle

    


    I want to show it like this English, Hindi for audio | English, Bangla for Subtitle

    


    Here is my video Detail :
[FROM FFPROBE]

    


     Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 2254 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](hin): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 161 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:3[0x4](eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s
    Metadata:
      handler_name    : SubtitleHandler
  Stream #0:4[0x5](ben): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
    Metadata:
      handler_name    : SubtitleHandler
  Stream #0:5[0x6](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler


    


    [FROM MEDIAINFO]

    


    General
Complete name                            : video.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 2.64 GiB
Duration                                 : 2 h 28 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 551 kb/s
Writing application                      : Lavf59.32.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2 h 27 min
Source duration                          : 2 h 27 min
Bit rate                                 : 2 141 kb/s
Nominal bit rate                         : 2 250 kb/s
Maximum bit rate                         : 2 254 kb/s
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1


Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Channel(s)                               : 2 channels
Source stream size                       : 137 MiB (5%)
Title                                    : English
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Menus                                    : 6

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Channel(s)                               : 2 channels
Source stream size                       : 171 MiB (6%)
Title                                    : Hindi
Language                                 : Hindi
Default                                  : Yes
Alternate group                          : 2
Menus                                    : 6

Text #1
ID                                       : 4
Format                                   : Timed Text
Muxing mode                              : sbtl
Codec ID                                 : tx3g
Duration                                 : 2 h 27 min
Bit rate mode                            : Variable
Bit rate                                 : 69 b/s
Stream size                              : 74.4 KiB (0%)
Title                                    : English
Language                                 : English
Default                                  : No
Forced                                   : No
Alternate group                          : 3
Menus                                    : 6

Text #2
ID                                       : 5
Format                                   : Timed Text
Muxing mode                              : sbtl
Codec ID                                 : tx3g
Duration                                 : 2 h 27 min
Bit rate mode                            : Variable
Bit rate                                 : 164 b/s
Stream size                              : 178 KiB (0%)
Title                                    : Bangla
Language                                 : Bengali
Default                                  : Yes
Forced                                   : No
Alternate group                          : 4
Menus                                    : 6



    


  • Ffmpeg - How can I create HLS multiple language streams, in multiple qualities ?

    28 avril 2022, par Daniel Ellis

    Preface

    


    I'm working on converting videos from 4k to multiple qualities with multiple languages but am having issues with the multiple languages overlaying, sometimes losing quality and sometimes being out of sync. (this is less of a problem in the German audio, as this is voice over anyhow)

    


    We as a team are complete noobs in terms of Video / Audio + HLS — I'm a front end developer who has no experience of this so apologies if my question is poorly phrased

    



    


    Videos

    


    I have the video in a 4k format and have removed the original sound as I have English and German audio files that need to be overlayed. I am then taking these files and throwing them together into a .ts file like this :

    


    $ ffmpeg -i ep03-ns-4k.mp4 -i nkit-ep3-de-output.m4a -i nkit-ep3-en-output.m4a \
> -thread 0 -muxdelay 0 -y \
> -map 0:v -map 1 -map 2  -movflags +faststart -refs 1 \
> -vcodec libx264 -acodec aac -profile:v baseline -level 30 -ar 44100 -ab 64k -f mpegts out.ts 


    


    This outputs a 4k out.ts video, with both audio tracks playing.

    


    The hard part

    


    This is where I'm finding it tricky, I now need to convert this single file into multiple quality levels (480, 720, 1080, 1920) and I attempt this with the following command :

    


    ffmpeg -hide_banner -y -i out.ts \
-crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -ar 48000 \
-map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:v:0 \
-c:v:0 h264 -profile:v:0 main -filter:v:0 "scale=w=848:h=480:force_original_aspect_ratio=decrease" -b:v:0 1400k -maxrate:v:0 1498k -bufsize:v:0 2100k \
-c:v:1 h264 -profile:v:1 main -filter:v:1 "scale=w=1280:h=720:force_original_aspect_ratio=decrease" -b:v:1 2800k -maxrate:v:1 2996k -bufsize:v:1 4200k \
-c:v:2 h264 -profile:v:2 main -filter:v:2 "scale=w=1920:h=1080:force_original_aspect_ratio=decrease" -b:v:2 5600k -maxrate:v:2 5992k -bufsize:v:2 8400k \
-c:v:3 h264 -profile:v:3 main -filter:v:3 "scale=w=3840:h=1920:force_original_aspect_ratio=decrease" -b:v:3 11200k -maxrate:v:3 11984k -bufsize:v:3 16800k \
-var_stream_map "v:0 v:1 v:2 v:3" \
-master_pl_name master.m3u8 \
-f hls -hls_time 4 -hls_playlist_type vod -hls_list_size 0 \
-hls_segment_filename "%v/episode-%03d.ts" "%v/episode.m3u8"


    


    This creates the required qualities, but I'm now at a loss of how this might work with the audio

    


    Audio

    


    For the audio I run this command :

    


    ffmpeg -i out.ts -threads 0 -muxdelay 0 -y -map 0:a:0 -codec copy -f segment -segment_time 4 -segment_list_size 0 -segment_list audio-de/audio-de.m3u8 -segment_format mpegts audio-de/audio-de_%d.aac
ffmpeg -i out.ts -threads 0 -muxdelay 0 -y -map 0:a:1 -codec copy -f segment -segment_time 4 -segment_list_size 0 -segment_list audio-en/audio-en.m3u8 -segment_format mpegts audio-en/audio-en_%d.aac



    


    This creates the required audio segments.

    


    The question

    


    I realise this is quite an ask, but is there anything wrong with our inputs ? Is there a way that this can be done a bit more streamlined ?

    


    Any answers are greatly appreciated.

    


  • How to add a comment into a mp3, in a specific language, using ffmpeg [duplicate]

    20 août 2021, par Valery Letroye

    I am fighting with ffmpeg to add a comment in french into a mp3. I want that comment to be displayed within the tab "Details" of the "Properties" window that I can open from Windows Explorer (which is using French as "Display Language").

    


    Ie. : I want this view :

    


    enter image description here

    


    Unfortunately, I can't find how to do it.

    


    In the illustration above, I did edit the comment directly from the "Details" tag of the "Properties" window. If I look at the Exif info of the file with "exiftool test.mp3", I see

    


    Comment (fra)                   : Test Comment FR


    


    Next, if I open the file test.mp3 with mp3tag (where fra is defined as my language via the Options > Advanced), I see correctly the comment :

    


    enter image description here

    


    Then, if I replace that comment into "Test Comment FR - Edit", within mp3tag, and save it, here is what I get with exiftool :

    


    Comment (fra)                   : Test Comment FR - Edit
Comment                         : Test Comment FR - Edit


    


    mp3tag has updated the Exif info "Comment (fra)" and added the ID3 tag "Comment".

    


    Now, if I try to add the comment with ffmpeg with the following commands (to clean first all metadata of my previous tests) :

    


    ffmpeg -i test.mp3 -map 0 -map_metadata -1 -c copy test-blank.mp3
ffmpeg -y -i test-blank.mp3 -metadata comment="Test Comment FR - ffmpeg" -c copy test.mp3


    


    Here are the Exif info I get :

    


    User Defined Text               : (comment) Test Comment FR - ffmpeg


    


    This info is not displayed in the "Details" tab of the "Properties" window.
Notice that it is however properly displayed by mp3tag.

    


    I did try to specify the language to ffmpeg with -metadata language="fra", or to use the metadata "Comment" or "Comment (fra)" instead of "comment", but nothing helped.

    


    I am totally lost as not an expert in ID3 and ffmpeg... And I didn't find any trick on Google.
NB. : I am using ffmpeg and exiftool in a Shell console on my Synology, to convert mp4 to mp3 (
ffmpeg version 2.7.7 built with gcc 4.9.3).

    


    Is there anyone experienced with ffmpeg who could guide me ?
PS. : I am even not sure that the comment added by ffmpeg would be displayed by a "English" version of Windows...

    


    A big thx in advance !

    


    V.