Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (27)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4454)

  • the "non-monotonic DTS in output stream " error while concatenation even after reencoded input files

    19 juin 2024, par nish

    hi I am trying to write a Python program that is trying to first edit different videos separately under the heading "intro" "story" and "byte" with the help of FFmpeg and Python subprocess module and then concatenate them in the function named "bind". At first, I encountered this "Non-monotonic DTS in output stream" then i reencoded the input files before concatenating them but i am still getting this error

    


    # function to assemble all the videos 


    


    def bind() :

    


    bunch = ["final_intro.mp4","final_story.mp4","finalbite.mp4"]
new_bunch =[]
for video in bunch:
    name = f"re_{video}"
    re_command =[
        "ffmpeg", "-y",
        "-i", video,
        "-c:v", "libx264",
        "-c:a", "aac",
        "-strict", "experimental",
        "-b:a", "192k",
        name
    ]
    subprocess.run(re_command)
    new_bunch.append(name)
    

with open("concat_list_final.txt", "w") as f:
    for video in new_bunch:
        f.write(f"file './{video}'\n")
  
command_final = [ 
    "ffmpeg", "-y",
    "-f", "concat",
    "-safe", "0",
    "-i", "concat_list_final.txt",
    "-c", "copy",
    "done.mp4"
]
subprocess.run(command_final)
for video in new_bunch:
    os.remove(video)
os.remove("final.mp4")
os.remove("updated_final.mp4")
os.remove("concat_list_final.txt")


return "done.mp4"


    


    for reference this is the error messages :-

    


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x14cf16040] Auto-inserting h264_mp4toannexb bitstream filter [mp4 @ 0x12ce06880] Non-monotonic DTS in output stream 0:0 ; previous : 152933, current : 127760 ; changing to 152934. This may result in incorrect timestamps in the output file. [mp4 @ 0x12ce06880] Non-monotonic DTS in output stream 0:0 ; previous : 152934, current : 128272 ; changing to 152935. This may result in incorrect timestamps in the output file..........

    


  • Appending .ts video clip to m3u8 HLS stream

    12 janvier 2018, par JonnyHarper

    I’m trying to concat multiple streams together without the need to re-encode the videos by using an m3u8 manifest.

    The start of every video is the same, as is the end, with a short middle section which has over 7000 variations. What I’m wanting to do is create 7000+ m3u8 files, each of which merges the generic intro, the bespoke middle section and the generic end together to form one HLS stream. Is this possible ?

    Here’s the m3u8 file which is generated by ffmpeg :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:12
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXTINF:11.520000,
    3_1080p_000.ts
    #EXTINF:9.600000,
    3_1080p_001.ts
    #EXTINF:9.600000,
    3_1080p_002.ts
    #EXTINF:9.600000,
    3_1080p_003.ts
    #EXTINF:11.520000,
    3_1080p_004.ts
    #EXTINF:8.440000,
    3_1080p_005.ts
    #EXT-X-ENDLIST

    I tried adding an extra clip in at the end (also at the start) which also has duration 8.440000 seconds as per the following :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:12
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXTINF:11.520000,
    3_1080p_000.ts
    #EXTINF:9.600000,
    3_1080p_001.ts
    #EXTINF:9.600000,
    3_1080p_002.ts
    #EXTINF:9.600000,
    3_1080p_003.ts
    #EXTINF:11.520000,
    3_1080p_004.ts
    #EXTINF:8.440000,
    3_1080p_005.ts
    #EXTINF:8.440000,
    4_1080p_005.ts
    #EXT-X-ENDLIST

    When I try run this, flowplayer detects the updated length and the stream plays but when it gets to playing the appended clip, it skips back to the start as though it’s stopped. Any help would be massively appreciated, otherwise I’m going to have to render each video out in full and there’s 7000+ to do !

    The problem stream is available to view here. It ends at 1min exactly instead of going to 1:08.

    Thanks in advance.

  • ffmpeg change metadata inside video file

    26 novembre 2020, par virtualsets

    Hello I have problems to change timecode insdie metadata of a video file "mov"

    


    ruta=r"E:\Brutos-sin-eliminar\inma-ruben-22-2-2020\multicam\\"
nombre=r"A019_02230134_C186.mov"
comand="ffmpeg -i " + nombre + " -ss 0 -map 0 -acodec copy -vcodec copy -timecode 01:20:10:00 -metadata:s:2:0 timecode=01:20:10:00 -metadata:s:1:0 timecode=01:20:10:00 -metadata:s:0:2 -metadata:s:0:2  timecode=01:10:10:00"+ " convert_" + nombre

os.popen(comand)


    


    I need to put muy own timecode to the file but this command not works.

    


    The console give me

    


      mov @ 00000225287fdc00] You requested a copy of the original timecode track so timecode metadata are now ignored
Output #0, mov, to 'convert_A019_02230134_C186.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    com.blackmagic-design.camera.windowedSensor: 1
    com.apple.proapps.manufacturer: Blackmagic Design
    com.blackmagic-design.camera.uuid: 3cf1dd9e-e307-47ff-864e-5487fea3fa47
    com.blackmagic-design.camera.projectFPS: 25
    com.apple.proapps.shootingRate: 50
    com.blackmagic-design.camera.cameraType: Blackmagic Pocket Cinema Camera 4K
    com.blackmagic-design.camera.shutterAngle: 180°
    com.blackmagic-design.camera.shutterMode: Angle
    com.blackmagic-design.camera.iso: 3200
    com.blackmagic-design.camera.whiteBalanceKelvin: 3000
    com.blackmagic-design.camera.whiteBalanceTint: -44
    com.apple.proapps.customgamma: com.blackmagic-design.camera.filmlog
    com.blackmagic-design.camera.look.LUTName: Blackmagic Pocket 4K Film to Extended Video.cube
    com.blackmagic-design.camera.guides.aspectRatio: 2:1
    com.blackmagic-design.camera.guides.safeArea: 90
    com.blackmagic-design.camera.firmware: 6.6
    com.apple.proapps.clipID: A019_02230134_C186
    com.apple.proapps.reel: 19
    com.apple.proapps.scene: 1
    com.apple.proapps.shot: 99
    com.apple.proapps.isGood: 0
    com.blackmagic-design.camera.environment: interior
    com.blackmagic-design.camera.dayNight: day
    com.apple.proapps.cameraName: A
    com.blackmagic-design.camera.colorScience: Blackmagic Pocket Cinema Camera 4K, Color Science Gen 4
    com.blackmagic-design.camera.dateRecorded: 2020:02:23
    timecode        : 01:20:10:00
    encoder         : Lavf58.11.101
    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 122315 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 01:10:10:00
      handler_name    : ?Apple Alias Data Handler
      encoder         : Apple ProRes 422
      timecode        : 01:10:10:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2020-02-23T00:34:02.000000Z
      handler_name    : ?Apple Alias Data Handler
      timecode        : 01:20:10:00
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2020-02-23T00:34:02.000000Z
      handler_name    : ?Apple Alias Data Handler
      timecode        : 01:20:10:00
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame=  467 fps=0.0 q=-1.0 Lsize=  281452kB time=00:00:18.64 bitrate=123693.3kbits/s speed=71.1x    
video:278913kB audio:2531kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002533%


    


    I dont understand why not modificate the mov file... when open the metadata it is oringinal.

    


    Reggards