Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (8264)

  • Bash : sort find results using part of a filename

    13 novembre 2015, par utt50

    I have 3 webcams set up in a building, uploading still images to a webserver. I’m using ffmpeg to encode the jpgs to mp4 video.

    The directories are set up like this :

    Cam1/201504
    Cam1/201505
    Cam2/201504
    Cam2/201505
    Cam3/201504
    Cam3/201505

    I’m using the following bash loop/ffmpeg parameters to make one video per camera, per year. This works well so far (well... except that my SSD is rapidly degrading in performance - too many simultaneous read/write operations ?) :

    find Cam2/2013* -name "*.jpg" -print0 | xargs -0 cat | ffmpeg -f image2pipe -framerate 30 -vcodec mjpeg -i - -vcodec libx264 -profile:v baseline -level 3.0 -movflags +faststart -crf 19 -pix_fmt yuv420p -r 30 "Cam2-2013-30fps-19crf.mp4"

    The individual files are named like this (confusing ffmpeg’s built-in file sequencer) :

    Cam1_2015052413543201.jpg
    Cam1_2015052413544601.jpg
    Cam2_2015052413032601.jpg
    Cam2_2015052413544901.jpg

    I now need to create one video for an entire year across all 3 cameras, ordered by timestamp. To accomplish this, I need to sort the find results by the segment of the filename after the underscore.

    What do I pipe the find output to to accomplish this ? For example, the files above would be ordered like this :

    Cam2_2015052413032601.jpg
    Cam1_2015052413543201.jpg
    Cam1_2015052413544601.jpg
    Cam2_2015052413544901.jpg

    Any help is very much appreciated !

  • Process terminates by signal calling ffmpeg part in Android NDK project

    29 août 2013, par Álvaro

    According to this blog post I've build my Android ffmpeg project. I've written the native code from my Java code with the static library and the jni functions.
    When I run this part of code I obtain the next logcat, any idea of why my process terminates by signal ?

    03-14 11:16:06.488: I/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    03-14 11:16:06.488: I/DEBUG(31): Build fingerprint: generic/google_sdk/generic:2.3.4/GINGERBREAD/123630:eng/test-keys'
    03-14 11:16:06.488: I/DEBUG(31): pid: 377, tid: 377  >>> com.testffmpeg <<<
    03-14 11:16:06.488: I/DEBUG(31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 80a98f10
    03-14 11:16:06.488: I/DEBUG(31):  r0 002b0030  r1 80b1c410  r2 00030d40  r3 00000000
    03-14 11:16:06.488: I/DEBUG(31):  r4 00000000  r5 002b0030  r6 00000010  r7 00000010
    03-14 11:16:06.488: I/DEBUG(31):  r8 be877308  r9 7fffffff  10 80b1bea0  fp 00000000
    03-14 11:16:06.488: I/DEBUG(31):  ip be8772f0  sp be8772d0  lr 80a99d64  pc 80a98f10  cpsr 60000010
    03-14 11:16:06.568: I/DEBUG(31):          #00  pc 00298f10  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.568: I/DEBUG(31):          #01  lr 80a99d64  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.568: I/DEBUG(31): code around pc:
    03-14 11:16:06.568: I/DEBUG(31): 80a98ef0 eaffff9e 0009304c fffeffe4 e92d4010
    03-14 11:16:06.568: I/DEBUG(31): 80a98f00 e24dd020 e28dc020 e3a04000 e1cd20f8
    03-14 11:16:06.568: I/DEBUG(31): 80a98f10 e3003000 e52c4004 e3a02000 e3433ff0
    03-14 11:16:06.568: I/DEBUG(31): 80a98f20 e58dc010 e3a0c001 e58dc000 ebffff77
    03-14 11:16:06.568: I/DEBUG(31): 80a98f30 e1500004 b1a00004 a59d001c e28dd020
    03-14 11:16:06.568: I/DEBUG(31): code around lr:
    03-14 11:16:06.568: I/DEBUG(31): 80a99d44 ed947b04 e1a00005 e5941000 eefd7bc7
    03-14 11:16:06.568: I/DEBUG(31): 80a99d54 ee17ca90 e1a0200c e1a03fc2 ebfffc65
    03-14 11:16:06.568: I/DEBUG(31): 80a99d64 eaffffb8 e1c421d0 e1a00008 e58d9000
    03-14 11:16:06.568: I/DEBUG(31): 80a99d74 eb0008cc e1a00005 e5941000 e898000c
    03-14 11:16:06.568: I/DEBUG(31): 80a99d84 ebfffc6e eaffffaf e1a00005 e3a01030
    03-14 11:16:06.568: I/DEBUG(31): stack:
    03-14 11:16:06.568: I/DEBUG(31):     be877290  001f9a98  [heap]
    03-14 11:16:06.568: I/DEBUG(31):     be877294  0008ced8  [heap]
    03-14 11:16:06.568: I/DEBUG(31):     be877298  00000005<br />
    03-14 11:16:06.578: I/DEBUG(31):     be87729c  a8114ca9  /system/lib/libutils.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772a0  001f9a48  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be8772a4  be8772cc<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772a8  fffffffc<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772ac  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772b0  be8772cc<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772b4  a821a33d  /system/lib/libbinder.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772b8  00271270  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be8772bc  a821a9d5  /system/lib/libbinder.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772c0  00000030<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772c4  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772c8  df002777<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772cc  e3a070ad<br />
    03-14 11:16:06.578: I/DEBUG(31): #00 be8772d0  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772d4  afd10f08  /system/lib/libc.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772d8  00030d40  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be8772dc  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772e0  000000da<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772e4  00000008<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772e8  000001b4<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772ec  c0000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772f0  80b24938  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772f4  80a99d64  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.578: I/DEBUG(31):     be8772f8  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be8772fc  afd1386d  /system/lib/libc.so
    03-14 11:16:06.578: I/DEBUG(31):     be877300  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be877304  80b1be7c  /data/data/com.testffmpeg/lib/libffmpeg.so
    03-14 11:16:06.578: I/DEBUG(31):     be877308  002b0028  [heap]
    03-14 11:16:06.578: I/DEBUG(31):     be87730c  00000000<br />
    03-14 11:16:06.578: I/DEBUG(31):     be877310  00000003<br />
    03-14 11:16:06.578: I/DEBUG(31):     be877314  00000000<br />
    03-14 11:16:07.118: D/Zygote(33): Process 377 terminated by signal (4)
  • ffmpeg extracts only part of 1 audio stream from .ts file

    6 juillet 2020, par Shakalakah

    Here is what ffprobe input.ts shows :

    &#xA;

      libavutil     56. 55.100 / 56. 55.100&#xA;  libavcodec    58. 93.100 / 58. 93.100&#xA;  libavformat       58. 47.100 / 58. 47.100&#xA;  libavdevice       58. 11.100 / 58. 11.100&#xA;  libavfilter         7. 86.100 /  7. 86.100&#xA;  libswscale          5.  8.100 /  5.  8.100&#xA;  libswresample       3.  8.100 /  3.  8.100&#xA;  libpostproc       55.  8.100 / 55.  8.100&#xA;Input #0, mpegts, from &#x27;D:\Downloads\TEST\audio.ts&#x27;:&#xA;  Duration: 02:22:29.67, start: 0.000000, bitrate: 51 kb/s&#xA;  Program 1&#xA;    Stream #0:0[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 83 kb/s&#xA;

    &#xA;

    So the length of .ts file is 2h:22m:29.67s and looks like it contains only audio (AAC) : when i open it in Windows Media Player i can jump to any position within the 2h:22m range and hear sound playing, and there is no video on the screen. This makes me think the extracted audio will also be of 2h:22m length, but i get only a 51m:14s file.

    I tried the following commands :

    1) ffmpeg -i input.ts -vn -acodec copy outputaudio.aac

    2) ffmpeg -i input.ts -map 0:v -map 0:a -c copy outputaudio.aac (as far as i understood this is "extract ALL audiotracks" command)

    3) ffmpeg -i input.ts -ss 00:00:00 -t 02:22:29.6 -q:a 0 -map a outputaudio.aac (to force extraction to the full length, i.e. 2h:22m)

    4) ffmpeg -i input.ts -map 0:a outputaudio.aac -map 0:v outputonlyvideo.avi (i heard this is an alternative way to force extraction of full-length audio through simultaneous extraction of video. Though looks like my .ts has no video, i decided to try this command too and got an error message : Stream map '0:v' matches no streams)

    What am i doing wrong ? Which alternative commands can i try ?

    Is it possible, that the real length of audio stream is 51m:14s only ? But why i can listen to all 2h:22m length in Windows Media Player - could 51m:14s piece be somehow looped inside .ts to create an impression of 2h:22m length ?

    &#xA;