Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (69)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (7975)

  • Bash script : Cycle script until ffmpeg command restarts successfully

    13 août 2023, par Bellacoda

    I have a IP Camera and the recordings are saved with ffmpeg RTSP into a raspberry pi.

    


    Sometimes, when the electricity shuts off and comes back on, the raspberry boots faster than the IP Camera and the ffmpeg command (saved on a crontab to run every reboot) fails to execute because it can't reach the IP Camera (that is still turning on).

    


    I tried to put a sleep command before the command but that doesn't work either.

    


    It also happened that when the IP Camera reboots, the raspberry closes the command, but when the camera comes back online, I have to manually lauch the command.

    


    Is there a way to make a script that waits to run the ffmpeg command until the camera is fully online (I assume with the $ ? variable for command exit status), and to wait to restart the ffmpeg command when the camera reboots ?

    


    The setup I have now is a crontab :
SHELL=/bin/bash
@reboot sleep 120s ; sudo ffmpeg ...

    


  • Cut video command producing only audio

    12 février 2018, par Sandeep

    I am using ffmpeg in Android app and my command code looks like :

         final String[] command=new String[]{"-i",inputFileName , "-ss",
    String.valueOf(duration) , "-codec","copy", "-t",String.valueOf(start) , outputFileName};

    The logcat contains following ffmpeg output which shows video as 0kB in last line. Where should I look for fixing this because the final output file is a mp4 file but the video content is missing and only audio is present for the trimmed duration :

    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg ffmpeg version n3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   built with gcc 4.9.x (GCC) 20150123 (prerelease)
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --disable-asm --enable-pic --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libopus --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --disable-asm --pkg-config=/root/bravobit/ffmpeg-android/ffmpeg-pkg-config --prefix=/root/bravobit/ffmpeg-android/build/x86 --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags= --extra-libs='-lpng -lx264 -lm -logg'
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavutil      55. 78.100 / 55. 78.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavcodec     57.107.100 / 57.107.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavformat    57. 83.100 / 57. 83.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavdevice    57. 10.100 / 57. 10.100
    02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavfilter     6.107.100 /  6.107.100
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libavresample   3.  7.  0 /  3.  7.  0
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libswscale      4.  8.100 /  4.  8.100
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libswresample   2.  9.100 /  2.  9.100
    02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg   libpostproc    54.  7.100 / 54.  7.100
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/SampleVideo_1280x720_1mb.mp4':
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg   Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     major_brand     : isom
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     minor_version   : 512
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     compatible_brands: isomiso2avc1mp41
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     encoder         : Lavf53.24.2
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg   Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : VideoHandler
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : SoundHandler
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Output #0, mp4, to '/storage/emulated/0/VideoTriming/20180212_172243SampleVideo_1280x720_1mb.mp4':
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg   Metadata:
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     major_brand     : isom
    02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg     minor_version   : 512
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     compatible_brands: isomiso2avc1mp41
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     encoder         : Lavf57.83.100
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : VideoHandler
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg     Metadata:
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       creation_time   : 1970-01-01T00:00:00.000000Z
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg       handler_name    : SoundHandler
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream mapping:
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg   Stream #0:0 -> #0:0 (copy)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg   Stream #0:1 -> #0:1 (copy)
    02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Press [q] to stop, [?] for help
    02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg frame=    0 fps=0.0 q=-1.0 Lsize=      46kB time=00:00:00.98 bitrate= 387.1kbits/s speed= 115x    
    02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg video:0kB audio:46kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.145508%

    My input file is the first 1MB mp4 sample video downloaded from following website :

    http://www.sample-videos.com/

  • FFMPEG command runs if I am not using a specific input

    16 août 2022, par sivafe9540

    the following ffmpeg command would run if I was to switch the -loop 1 -t 10 -i image.png (which allows me to take an image and make it a ten second video) to normal video input, like input1.mp4...

    


    Here is the command that does not work :

    


    ffmpeg -loop 1 -t 10 -i image.png -f lavfi -i input2.png -filter_complex "[0:v][1:v] overlay=W-w:600" -pix_fmt yuv420p -c:a copy -shortest output.mp4


    


    Here is the command that proves -loop 1 -t 10 -i image.png is the problem because it works without it.

    


    ffmpeg -i input1.mp4 -f lavfi -i input2.png -filter_complex "[0:v][1:v] overlay=W-w:600" -pix_fmt yuv420p -c:a copy -shortest output.mp4


    


    My theory

    


    My theory is that the input of the image that is being turned into a ten second video has to be rendered before the filter complex tries to overlay it but it is not... and I don't know hoe to do that.

    


    Non helpful error

    


    zsh: parse error near &'

    


    Requirement

    


    Please do not make solve this issue with more than one ffmpeg command.