Recherche avancée

Médias (91)

Autres articles (43)

  • 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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (4716)

  • Naming file output moviepy ffmpeg

    21 avril 2020, par Witness

    I am trying to name clips from a moviepy ffmpeg output based on text in dataframe columns.
I can create the clips but am having trouble with the naming as Im not sure how to loop through the list 
and add it to the output file name.

    



    example data frame

    



    import pandas as pd

data = [["Park","Road",4, 10], ["Road","Street", 80, 95], ["Street","Park",120, 132]] 
df = pd.DataFrame(data, columns = ["Origin", "Destination","Start", "End"])

print (df)


    



    Origin| Destination| Start | End

    



    0 | Park | Road | 4 | 10

    



    1 | Road | Street | 80 | 95

    



    2 | Street| Park | 120| 132

    



    Id like the output file to show the Origin and Destination text

    



    videoParkRoad1

    



    videoRoadStreet2

    



    videoStreetPark3

    



    the code I have at the moment

    



    filename="D:\video" + str(i+1) + ".mp4"


    



    returns

    



    video1

    



    video2

    



    video3

    



    Hope this makes sense

    



    Thanks

    


  • Need to concatenate several MP4 from Garmin dashcam with telemetry

    28 juillet 2021, par Suporte JM

    I have a Garmin 66W dashcam for my work (street mapping surveyor) which produces several 1min. MP4 videos of my journey (60 min. = 60 videos). All these videos have telemetry data on it as metadata (GPS location, speed, etc...).

    


    I want to concatenate every 5 files excluding the audio but preserving the video and the telemetry in the metadata.

    


    What I have tried so far :

    


      

    • Export GPS information as GPX file (result : successful)
    • 


    


    exiftool -p gpx.fmt -ee X:\video_place\videos_1m\GRMN0005.mp4 > GRMN0005.gpx

    


      

    • Merge MP4 videos as a single MP4 video (result : partially successful)
    • 


    


    ffmpeg -f concat -safe 0 -i X:\video_place\videos_1m\mylist.txt -c copy X:\video_place\videos_1m\GRMN0005to0011.mp4

    


    When I use above command on ffmpeg I loose all my telemetry data.

    


    I tried in several different ways for days, searching on several forums, I even tried to export all GPS data from each single 1min. file merge them, and them merge the videos and put the telemetry back.

    


    The ffprobe output of my 1min. video is as following :

    


     Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 2021-07-26T17:08:23.000000Z
  Duration: 00:01:00.06, start: 0.000000, bitrate: 19553 kb/s
  Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 19182 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)
    Metadata:
      creation_time   : 2021-07-26T17:08:23.000000Z
      handler_name    :  Ambarella AVC
      vendor_id       : [0][0][0][0]
      encoder         : Ambarella AVC encoder
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2021-07-26T17:08:23.000000Z
      handler_name    :  Ambarella AAC
      vendor_id       : [0][0][0][0]
  Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s (default)
    Metadata:
      creation_time   : 2021-07-26T17:08:23.000000Z
      handler_name    :  Ambarella EXT


    


    When I use the ffmpeg code above to concatenate the videos, I get the following ffprobe without the telemetry :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'X:\video_place\videos_1m\GRMN0005to0011.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.4.100
  Duration: 00:07:00.42, start: 0.000000, bitrate: 19313 kb/s
  Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 19178 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default)
    Metadata:
      handler_name    :  Ambarella AVC
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 127 kb/s (default)
    Metadata:
      handler_name    :  Ambarella AAC
      vendor_id       : [0][0][0][0]


    


    I have tried as well with following code, but none of them seems to work :

    


    ffmpeg -f concat -safe 0 -i X:\video_place\videos_1m\mylist.txt -c copy -scodec copy X:\video_place\videos_1m\GRMN0005to0011_scodec.mp4

    


    ffmpeg -f concat -safe 0 -i X:\video_place\videos_1m\mylist.txt -c:s copy -c:v copy X:\video_place\videos_1m\GRMN0005to0011.mp4

    


    ffmpeg -f concat -safe 0 -i X:\video_place\videos_1m\mylist.txt -c copy -c:s mov_text X:\video_place\videos_1m\GRMN0005to0011.mp4

    


    Can a good soul please guide me on how to perform this ? I thought it was going to be simple...

    


  • How to set ffmpeg reconnect or quit when rtsp stream connection breaks

    8 février, par hate29

    I use ffmpeg to save rtsp stream from my wi-fi camera. It works fine but when connection dies, I don't get any notice or it doesn't reconnect automatically. Here's my command :

    


    screen -S garage ffmpeg -hide_banner -y -loglevel error -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://user:password@192.168.XXX.XXX:XXX/stream1 -vcodec copy -acodec copy -f segment -reset_timestamps 1 -segment_time 14400 -segment_format mkv -segment_atclocktime 1 -strftime 1 garage%Y%m%dT%H%M%S.mkv


    


    I found this code from this site (if I remember correctly), tinkered a little (added screen -S) and got it working fine. Now I check my stream every morning by looking saved files and are they in realtime. If yes, then I know that stream is working. Needless to say that this is quite cumbersome technique.

    


    So what I need is that the stream reconnects if it fails to connect. This would be best. Second best option would be that it kills screen. Now it just seems do its job even if its not recording anything. I think the connection breaks from time to time because wi-fi is what it is. For that I can't do anything.