Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (111)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (7642)

  • Video Recording doesn't capture entire duration of a designated time

    18 avril 2017, par Carl Rogues

    I am having an issue dealing with a video recording issue for security cameras. The cameras in question have been set to record 5 minute videos and then start on the next recording. However, I have noticed that the videos that I pull up only have a common file size of 28 MB. The quality of the videos starts off great, but immediately start declining to the point where a few seconds of motion in real life are stretched out to minutes of the recording (takes more than 20s to see the next frame), thus losing precious seconds.

    I originally thought that bandwidth might be a problem, but I don’t have enough evidence to support this theory. However the problem only began recently and the video file sizes from the past were 150 MB on average. I am only starting out in this area, but here is some of the specifics I have gathered from the sh scripts running the cameras :

    Livestreaming :

    1. fps : 15

    2. codec : libx264

    3. resolution : 640x480

    4. preset : superfast

    5. pixel format : yuv420p

    6. tune : zerolatency

    Motion Detect :

    1. fps : 24

    2. resolution : 1280x720

    3. format : mjpeg

    Recording :

    1. Duration : 5 minutes (300 seconds)

    2. format : mjpeg

    3. video codec : libx264

    4. probesize : 32

    5. analyzeduration : 0

    6. preset : ultrafast

    7. pixel format : yuvj420p

    Here is the recording input and output :

    ff_264opts="-c:v libx264 -preset ultrafast-pix_fmt yuvj420p"

    ff_input="-y -probesize 32 -analyzeduration 0 -f mjpeg -re -use_wallclock_as_timestamps 1 -i http://localhost/${camera}_stream/?action=stream"

    ffmpeg ${ff_input} ${ff_264opts} -t $duration $video_file > /dev/null 2> $ffmpeg_log_file

    My question is why am I having this issue ? Any help and/or advice would be greatly appreciated !

    It should be noted that I am using 4 cameras that are connected to one system.

    The cameras are 2.0MP usb cameras from ELP and do not come with built-in H.264 (Uses mjpeg).

  • FFMPEG Windows Batch - Recursive Convert based and settings based on Frame Height

    3 avril 2017, par Vahid Jamali

    So I’m trying to make a batch file to use FFMPEG to convert around 1000 MP4 video files.

    I want to recursively go through these folders, possibly use ffprobe to discover the frame height, and then based on the frame height options (360, 480, 720, or 1080 frame height) give them individually different ffmpeg commands.

    I’ve been reading up on various approaches to this just as far as batch processing goes.

    So far I’m at this stage :

    for %%a in ("*.*") do C:\ffinstall\local64\bin-video\ffmpeg -i "%%a"  -c:v libx264 -crf 18 -preset veryslow -tune film -refs 8 -bf 6 -aq-mode 2 -filter_complex "[0:v][1:v]overlay=30:main_h-overlay_h-30,subtitles='D:\add.ass'" -c:a copy "encoded\%%~na.mp4"

    pause

    Code to discover the frame height :

    ffprobe -v error -show_entries stream=height -of default=noprint_wrappers=1 inputfile.mp4

    Trying to figure out conditionals and how their syntax is. Also I’m getting a Unable to parse option value "add.ass" as image size error. Which I believe is due to not being to see the subtitle file.

    Any suggestions on where I can start ? Thanks for any help.

  • FFMpeg rtsp to m3u8

    16 mai 2017, par ankit gupta

    I am using FFMPeg (version ffmpeg-20170330-ad7aff0-win64-static) to convert RTSP to .m3u8.

    The command is :

    ffmpeg -rtsp_transport tcp -i RTSP -c:v libx264 -crf 35 -preset ultrafast -maxrate 3M -bufsize 300k -r 10 -g 20 -movflags +faststart -tune zerolatency -hls_time 1 -hls_list_size 4 -hls_wrap 4 -start_number 1 -hls_allow_cache 0 -threads 1 -loglevel warning -y PLAYLISTM3U8LOCATION]

    I am getting following warning constantly :

    Duplicated segment filename detected : playlist1.ts

    or

    Duplicated segment filename detected : playlist2.ts

    or

    Duplicated segment filename detected : playlist3.ts

    In between its also showing warning :

    cseq 10 expected, 8 received

    any help on this ??