Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (25)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • 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 (6475)

  • avcodec/vvc/dsp : prefix TxType and TxSize with VVC

    10 août 2024, par Wu Jianhua
    avcodec/vvc/dsp : prefix TxType and TxSize with VVC
    

    See https://patchwork.ffmpeg.org/project/ffmpeg/patch/TYSPR06MB64337C4A9ADF5312E6648543AA62A@TYSPR06MB6433.apcprd06.prod.outlook.com/#81892

    Signed-off-by : Wu Jianhua <toqsxw@outlook.com>

    • [DH] libavcodec/vvc/dsp.h
    • [DH] libavcodec/vvc/dsp_template.c
    • [DH] libavcodec/vvc/intra.c
  • FFMPEG screen grab of windows desktop and then exporting to multiple bandwidth ts and m3u8 files with master playlist

    26 juillet 2018, par Tank Daniels

    Forgive me as this is my first post as I’m really stuck and need help. My boss needs me to screen capture a windows desktop as input and be able to output at least four outputs dependent on bandwidth. Each output "Stream"(im guessing is the right terminology) must have its own .ts files and .m3u8 files, along with a master m3u8 playlist that lists the four individual m3u8 files.

    Every attempt ive made only produces a master m3u8 file with a single listing of an output stream. (Code enclosed below).

    The end result I need to produce is to have a master m3u8 that can go into a webpage that can stream mp4 hls of the users screen grab and that video output will be changed dependant upon the users bandwidth available. If you can please help me with any advice I will be eternally grateful as I need to impress my new boss in my new job, and I’ve been working on this for ages now with no joy.

    Example :
    This is what I need it to look like.

    What the M3U8 needs to look like

    Example :
    This is what it actually looks like now.

    What the current M3U8 actually looks like when i run my code

    Below is the code I am currently using. Please help.

    ffmpeg -f dshow -i video="UScreenCapture":audio="virtual-audio-capturer" -master_pl_name master.m3u8 -master_pl_publish_rate 30 -tune fastdecode -vf scale=w=640:h=360:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod  -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename 360p_%03d.ts 360p.m3u8 -master_pl_name master.m3u8 -master_pl_publish_rate 30 -vf scale=w=842:h=480:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename 480p_%03d.ts 480p.m3u8 -master_pl_name master.m3u8 -master_pl_publish_rate 30 -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename 720p_%03d.ts 720p.m3u8 -master_pl_name master.m3u8 -master_pl_publish_rate 30 -vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_segment_filename 1080p_%03d.ts 1080p.m3u8

    Many Thanks for looking. Chris.

  • PowerShell and ffmpeg : No such file or directory

    8 juillet 2022, par Matt Wilson

    I'm trying to use the below command in a Python script, however I'm seeing that it's a PowerShell issue in that it can't seem to find the video file I'm pointing to.

    &#xA;

    I have a video file on a cloud drive Z: at the following location (for reproducibility, change this to whatever path you want with a video file in it) :

    &#xA;

    Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4

    &#xA;

    Notice the spaces and special characters in the filename in case that matters.

    &#xA;

    What I'm trying to do is down-sample that video file to a smaller size with the following command :

    &#xA;

    ffmpeg -i "Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4" -y -vcodec libx264 -acodec ac3 -threads 1 "Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity)DOWNSAMPLED.mp4"

    &#xA;

    I know it's long as it's mostly consumed by the filenames, but the error I'm getting is :

    &#xA;

    Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow  Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow  modelling experiments part 2 (increasing complexity).mp4: No such file or directory

    &#xA;

    The path IS correct, as it's a direct copy paste from the folder's URL bar.

    &#xA;

    The things I've tried include :

    &#xA;

      &#xA;
    • using quotes around filename
    • &#xA;

    • not using quotes around filename
    • &#xA;

    • prepending quoted filename with "r" (where I got message saying `did you mean file:r ?)
    • &#xA;

    • prepending quoted filename with "file:r"
    • &#xA;

    • used double slashes \ in filepaths
    • &#xA;

    &#xA;

    Is there a powershell pro out there that can tell me why it can't "find" the file ?

    &#xA;

    UPDATE&#xA;The command runs if I find a filename with :

    &#xA;

    $oldvids = Get-ChildItem *.mp4, *mov, *wmv, *avi -Recurse&#xA;foreach ($oldvid in $oldvids) &#xA;{&#xA;    $newvid = [io.path]::ChangeExtension($oldvid.FullName, &#x27;_.mp4&#x27;)&#xA;    ffmpeg -i $oldvid.FullName -y -vcodec libx264 -acodec ac3 -threads 1 $newvid&#xA;}&#xA;

    &#xA;

    When I print the $oldvid.name and $oldvid.FullName, the paths/filenames look like this :

    &#xA;

    Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\5. Computer Vision and Convolutional Neu&#xA;ral Networks in TensorFlow\35. Multi-class CNN&#x27;s part 9 Making predictions with our model on custom images.mp4&#xA;&#xA;35. Multi-class CNN&#x27;s part 9 Making predictions with our model on custom images.mp4&#xA;

    &#xA;

    ...that first one being an exact copy of what I'm trying to use in my posted code. So what's the difference ??

    &#xA;

    SECOND UPDATE&#xA;I think the issue lies in that the file is located on a drive other than C:. Just tested it by moving the file onto my computer and running the command, and it worked. So I guess, is there a way to tell PowerShell to use the Z: drive to find the file ?

    &#xA;