Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (64)

Sur d’autres sites (7516)

  • What command convert mjpeg IP camera streaming to mp4 file with lowest CPU usage ?

    19 mars 2019, par ChanhLM

    like above question, I want find out what ffmpeg command can help me reduce cpu usage when running 50 IP camera (running same 50 command).

    My ffmpeg command :

    ffmpeg  -f mjpeg -y -use_wallclock_as_timestamps 1 -i 'http://x.x.x.x:8090/test1?.mjpg' -r 3 -reconnect 1 -loglevel 16 -c:v mjpeg -an -qscale 10 -copyts '1.mp4'

    50 command like that take my computer (4 core) 200% CPU

    I want this computer can run for 150 camera, any advise ?

    =========================================================

    using -c:v copy can make it faster but fize size is terrible

    I try slow down frame rate by 3 with -r 3 or -framerate 3 to decrease file size but not succesful (because vcodec copy can’t do that).

    Have any option to force input frame rate by 3 ?

    (sorry for my bad English)

  • What command convert mjpeg IP camera streaming to mp4 file with lowest CPU usage ?

    23 septembre 2015, par ChanhLM

    like above question, I want find out what ffmpeg command can help me reduce cpu usage when running 50 IP camera (running same 50 command).

    My ffmpeg command :

    ffmpeg  -f mjpeg -y -use_wallclock_as_timestamps 1 -i 'http://x.x.x.x:8090/test1?.mjpg' -r 3 -reconnect 1 -loglevel 16 -c:v mjpeg -an -qscale 10 -copyts '1.mp4'

    50 command like that take my computer (4 core) 200% CPU

    I want this computer can run for 150 camera, any advise ?

    =========================================================

    using -c:v copy can make it faster but fize size is terrible

    I try slow down frame rate by 3 with -r 3 or -framerate 3 to decrease file size but not succesful (because vcodec copy can’t do that).

    Have any option to force input frame rate by 3 ?

    (sorry for my bad English)

  • ffmpeg combining audio tracks on copy

    22 janvier 2024, par janeden

    I tried to copy all streams (video, audio, subtitle) and add a tag with the following command in order to play the files using QuickTime player :

    


    ffmpeg -i in.mp4 -vcodec copy -tag:v hvc1 -acodec copy -scodec copy -map 0 out.mp4


    


    The resulting file does open with QuickTime player, and the video/subtitles play fine, but the two audio tracks (E-AC3 in English and German) from the input file cannot be selected (View → Languages → None) and are in fact merged into each other while playing the video, even though both tracks are shown separately in Inspector → Audio Details and VLC handles them correctly. Is this a bug in QuickTime player, or would I need to add another option for QuickTime ?