Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (30)

  • 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" ;

  • 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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (5064)

  • FFMPEG - Apple 720p30 Surround MP4 H.264 AAC stereo ; Dolby Digital

    10 décembre 2020, par Dean Van Greunen

    i would like the FFmpeg cli settings which will match this (this is a handbrake preset)

    


    enter image description here

    


    Here is the presetting file, I dont understand what these would be for ffmpeg.

    


    {
    "AlignAVStart": false,
    "AudioCopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:mp3",
      "copy:truehd",
      "copy:flac",
      "copy:eac3"
    ],
    "AudioEncoderFallback": "ac3",
    "AudioLanguageList": [],
    "AudioList": [
      {
        "AudioBitrate": 160,
        "AudioCompressionLevel": 0.0,
        "AudioDitherMethod": null,
        "AudioEncoder": "av_aac",
        "AudioMixdown": "stereo",
        "AudioNormalizeMixLevel": false,
        "AudioSamplerate": "auto",
        "AudioTrackQualityEnable": false,
        "AudioTrackQuality": -1.0,
        "AudioTrackGainSlider": 0.0,
        "AudioTrackDRCSlider": 0.0
      },
      {
        "AudioBitrate": 640,
        "AudioCompressionLevel": 0.0,
        "AudioDitherMethod": null,
        "AudioEncoder": "copy:ac3",
        "AudioMixdown": "none",
        "AudioNormalizeMixLevel": false,
        "AudioSamplerate": "auto",
        "AudioTrackQualityEnable": false,
        "AudioTrackQuality": -1.0,
        "AudioTrackGainSlider": 0.0,
        "AudioTrackDRCSlider": 0.0
      }
    ],
    "AudioSecondaryEncoderMode": true,
    "AudioTrackSelectionBehavior": "first",
    "ChapterMarkers": true,
    "ChildrenArray": [],
    "Default": false,
    "FileFormat": "av_mp4",
    "Folder": false,
    "FolderOpen": false,
    "Mp4HttpOptimize": false,
    "Mp4iPodCompatible": false,
    "PictureAutoCrop": true,
    "PictureBottomCrop": 0,
    "PictureLeftCrop": 0,
    "PictureRightCrop": 0,
    "PictureTopCrop": 0,
    "PictureDARWidth": 0,
    "PictureDeblockPreset": "off",
    "PictureDeblockTune": "medium",
    "PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8",
    "PictureDeinterlaceFilter": "decomb",
    "PictureCombDetectPreset": "default",
    "PictureCombDetectCustom": "",
    "PictureDeinterlacePreset": "default",
    "PictureDeinterlaceCustom": "",
    "PictureDenoiseCustom": "",
    "PictureDenoiseFilter": "off",
    "PictureDenoisePreset": "light",
    "PictureDenoiseTune": "none",
    "PictureSharpenCustom": "",
    "PictureSharpenFilter": "off",
    "PictureSharpenPreset": "medium",
    "PictureSharpenTune": "none",
    "PictureDetelecine": "off",
    "PictureDetelecineCustom": "",
    "PictureItuPAR": false,
    "PictureKeepRatio": true,
    "PictureLooseCrop": false,
    "PictureModulus": 2,
    "PicturePAR": "auto",
    "PicturePARWidth": 0,
    "PicturePARHeight": 0,
    "PictureRotate": null,
    "PictureWidth": 1280,
    "PictureHeight": 720,
    "PictureForceHeight": 0,
    "PictureForceWidth": 0,
    "PresetDescription": "H.264 video (up to 720p30), AAC stereo audio, and Dolby Digital (AC-3) surround audio, in an MP4 container. Compatible with Apple iPhone 4, 4S, and later; iPod touch 4th, 5th Generation and later; iPad 1st Generation, iPad 2, and later; Apple TV 2nd Generation and later.",
    "PresetName": "Apple 720p30 Surround",
    "Type": 0,
    "UsesPictureFilters": true,
    "UsesPictureSettings": 1,
    "SubtitleAddCC": false,
    "SubtitleAddForeignAudioSearch": true,
    "SubtitleAddForeignAudioSubtitle": false,
    "SubtitleBurnBehavior": "foreign",
    "SubtitleBurnBDSub": false,
    "SubtitleBurnDVDSub": false,
    "SubtitleLanguageList": [],
    "SubtitleTrackSelectionBehavior": "none",
    "VideoAvgBitrate": 3000,
    "VideoColorMatrixCode": 0,
    "VideoEncoder": "x264",
    "VideoFramerate": "30",
    "VideoFramerateMode": "pfr",
    "VideoGrayScale": false,
    "VideoScaler": "swscale",
    "VideoPreset": "medium",
    "VideoTune": "",
    "VideoProfile": "high",
    "VideoLevel": "3.1",
    "VideoOptionExtra": "",
    "VideoQualityType": 2,
    "VideoQualitySlider": 21.0,
    "VideoQSVDecode": false,
    "VideoQSVAsyncDepth": 4,
    "VideoTwoPass": true,
    "VideoTurboTwoPass": false,
    "x264Option": null,
    "x264UseAdvancedOptions": false
  },


    


  • about ffmpeg option atomic_writing used in segment output [closed]

    11 juillet 2024, par 张明义

    I made a ffmpeg command like this :
"ffmpeg -y -i ./test.mp4 -ar 16000 -ac 1 -acodec pcm_s16le -f segment -segment_format s16le -segment_time 5 -vn -copyts -frame_pts true -atomic_writing true ./tmp_files/%d.pcm".

    


    This command runs ok ;
    
But in my usage, I have aother thread scan the tmp_files looply when the command is running, if found new file, open it, read it, but sometimes, file opend, but read 0 bytes from the file.

    


    so, I want to know, if the atomic_writing option take effective ?
    
or only effect for image scene like the doc : https://ffmpeg.org/ffmpeg-formats.html ? because the option is below the image section.

    


    If the option is no effect here, any other idea can archive my purpose ?

    


    thank you !

    


  • Permission issue with php + supervisord + ffmpeg + NAS + beanstalkd

    20 juin 2014, par Srini Vasan

    Im running a process using the following tools :

    php - process application
    beanstalkd - queue
    supervisord - process daemon
    ffmpeg - media conversion
    NAS - storage device

    The end result (media conversion) works perfectly, when i run the command manually as root user :

    ie. php /path/workers/media_processor.php < /dev/null &

    ie. ffmpeg takes the source mp3 file (which is on the NAS, path x) and output mp3 file also saved on NAS, path y

    But, when i run this via supervisor, ffmpeg is not generating the output mp3 as expected :
    when i also tried via lame encoder (audio encoder), the out file is not generated.

    When I changed the destination path (not NAS) to a different one (within the server),
    ffmpeg/lame is able to write file to the new server path.

    Below is my supervisor conf.

    [program:media_processor_audio]
    command=/usr/bin/php /path/workers/media_processor.php < /dev/null
    numprocs=1
    numprocs_start=1
    autostart=true
    autorestart=true
    stopsignal=QUIT
    log_stdout=true
    logfile=/path/workers/media_processor_audio.txt

    Im sure, the supervisord is running my process as root user only.
    I’ve confirmed this with get_current_user()

    Summary :

    ffmpeg/lame is able to write to NAS while running the comand manually.

    ffmpeg/lame is not able to write to NAS while the command runs via supervisord.

    Please Help. Thanks in advance.

    Regards,
    Srini