Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (64)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

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

  • AForge FFMPEG Video operation issue

    9 janvier 2017, par Berkay

    I have a problem actually an issue about making video of images(captured frames). I am using nVLC to capture my IP camera’s video content. I managed to take these and show them in my application whenever a new frame comes up. But I also need to convert them whenever a user wants to save the record. This record should be long enough like 1-2 hours.

    So I decided to use AForge lib. In this library there is a class called VideoFileWriter.It does what I want. But here is the problem. I am getting 24-25 frames per second and I am drawing it on the screen. This causes a little bit of an overhead to my system (Especially when I am streaming 6 IP cameras to my screen). My CPU is utilized like %50-60 and i am using 500-550 MB of RAM while streaming 6 IP cameras and drawing to my screen.

    So I came up with two ideas,

    • I can process (write to a video file) each frame whenever I capture. (If user starts recording)
    • Or, I can store Bitmaps (captured frames) whenever user starts recording. Then I can process these list of (might be an array or List<> or another container etc...) later.

    The first approach will destroy my pc, because read/write is very very expensive operations for computers, so this will put me in a very bad position.

    Second approach will destroy my ram, because I may end up with 3600*25 frames for each bitmap list. But seems to be the better choice to me.

    Does anyone have any advice on this topic ?

  • java Runtime.getRuntime().exec(ffmpeg) ceases processing for long video files

    6 janvier 2016, par metzojack

    I’m using Java Runtime.getRuntime().exec(ffmpeg) to execute an ffmpeg command to transcode video from any format to mp4 format. When command starts, ps -ef shows ffmpeg process and top shows that ffmpeg uses most of cpu (90%). When input video for ffmpeg is short (less than 4 mn) the Runtime.getRuntime().exec(ffmpeg) command runs well. But when trying to transcode full HD video that ffmpeg command need more than 10 minutes to be complete, an unknown problem happens around 5 minutes after ffmpeg command starts. ps -ef command still shows ffmpeg process even after many hours, but top command shows that ffmpeg process doesn’t use more that 1% of cpu. So Runtime.getRuntime().exec(ffmpeg) never finishes.

  • Avoid repetition in Schtasks in PowerSehll

    30 juin 2017, par Ali

    The question is simple, but it seems I have problems with the philosophy of Schtasks.

    Goal :

    Download an online stream only for 2 hours every day (using FFMPEG) when my favorite program is streaming ; we can give a start and end date, but I am fine if it runs every day indefinitely.

    How :

    Schedule a task that runs a PowerShell script when the online program starts ; of course this is what I came up with ; feel free to make suggestions, if you have better ideas (maybe using Python).

    My Solution :

    schtasks /Create /SC DAILY /TN Task1 /TR "powershell.exe .\dl.ps1" /ST 18:00 /DU 02:00

    where the dl.ps1 contains :

    ffmpeg -i "rtmp://185.23.131.187/live/flv:tv3 live=1" -c copy .\fileName.flv

    Problem :

    This task repeats itself after 10 minutes --- which is the default repetition time.

    Question

    How do I achieve the goal and avoid the repetition ? Maybe my mindset about duration, /DU, and repetition interval, /RI, is wrong.

    Bonus question

    I would like to change the name of each recorded file, i.e., fileName, based on the day of recording. How do I do that in PowerShell ?

    I have seen a solution that requires exporting the task to XML file. I was hoping that we could come up with a more elegant solution, if possible.