Recherche avancée

Médias (91)

Autres articles (76)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (14576)

  • ffmpeg concat vidoes Could not find codec parameters for stream 1

    25 février 2017, par Moji

    I’m trying to concat 3 vidoes, each is converted to mpg beforehand, when I run the command to concat, it gives me this error (But still produces the output with no audio)

    Could not find codec parameters for stream 1 (Audio: mp2, 0 channels): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize'  options
    Input #0, mpeg, from 'concat:intermediate1.mpg|intermediate2.mpg|intermediate3.mpg':
    Duration: 00:00:25.73, start: 0.540000, bitrate: 2626 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 480x414 [SAR 1:1 DAR 80:69], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 0 channels
    [mpeg @ 0000000002766ba0] VBV buffer size not set, using default size of 130KB
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    Output #0, mpeg, to 'intermediate_all.mpg':
    Metadata:
    encoder  : Lavf57.50.100
    Stream #0:0: Video: mpeg1video, yuv420p(tv), 480x414 [SAR 1:1 DAR 80:69], q=2-31, 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mpeg @ 0000000002766ba0] Timestamps are unset in a packet for stream 0.  This is deprecated and will stop working in the future. Fix your code to set the   timestamps properly
    frame= 1151 fps=0.0 q=-1.0 Lsize=    7834kB time=00:00:40.81  bitrate=1572.5kbits/s speed= 346x
    video:7792kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.535638%

    First and third videos are made by just one picture (first one 10 second and the third 5 second long) and there is no audio for them.
    the Second video which has Audio, is converted to mpg from mov by running this command :

    -i test.mov -qscale:v 1 -y intermediate2.mpg

    And I’m using this command to merge them all together :

    -i concat:\"intermediate1.mpg|intermediate2.mpg|intermediate3.mpg\" -c copy -y intermediate_all.mpg

    the final output "intermediate_all.mpg" has no audio at all.

    I also tried putting ’analyzeduration’ and ’probesize’ to value 100M, yet didn’t work.

    Anything I’m doing wrong here ?

  • FFMPEG Concat failing - System cannot find the file specified

    16 janvier 2017, par geekman

    I’m a PC. I just reversed a video, and want to combine the original file and the reversed file into one new output.mp4 file

    I’m using code copied directly from the ffmpeg wiki

    ffmpeg -i input1.mp4 -i input2.webm \
    -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" \
    -map "[v]" -map "[a]" <encoding options="options"> output.mkv
    </encoding>

    This is my version :

    ffmpeg -i C:\xampp\htdocs\reviews\uploads\0115171331.mp4 -i C:\xampp\htdocs\reviews\uploads\R0115171331.mp4 \
    -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" \
    -map "[v]" -map "[a]"  C:\xampp\htdocs\reviews\output.mp4

    And when I run it, it just gives me :

    The system cannot find the file specfied.

    Again, my other ffmpeg commands worked, and these files (except for output) do exist. I’ve double checked.

    Any idea what could be going wrong ?

  • Using command line find to encode files and save to same directory

    15 janvier 2017, par Ali Samii

    I am trying to execute a find bash command to process hundreds of video files that are all named video-original.mp4 but are in subdirectories of a parent directory.

    Here’s an example of the directory structure :

    videos
    ├── 01a
    │   └── video-original.mp4
    ├── 01b
    │   └── video-original.mp4
    ├── 02a
    │   └── video-original.mp4
    ├── 02b
    │   └── video-original.mp4
    ├── 03a
    │   └── video-original.mp4
    └── 03b
       └── video-original.mp4

    I am using the following command :

    find ./ -name 'video-original.mp4' -exec bash -c 'ffmpeg -i "$0" -f mp4 -vcodec libx264 -preset veryslow -profile:v high -acodec aac -movflags faststart video.mp4 -hide_banner' {} \;

    The problem I am having is that it is saving the file video.mp4 in the parent videos directory, instead of in the subdirectory next to the original video-original.mp4

    Afterwards, I want to delete the file video-original.mp4. Currently, my process entails waiting for all the videos to be reencoded, and then once complete, issuing a separate command to delete the file video-original.mp4 :

    find ./ -name 'video-original.mp4' -exec bash -c 'rm -rf "$0"' {} \;

    And my final step would be to extract a screenshot of the new video.mp4 at 10 seconds and save it as thumbnail.jpg. Again, I am currently doing that as a separate step that I execute after the previous two steps are completed.

    find ./ -name 'video.mp4' -exec bash -c 'ffmpeg -i "$0" -ss 00:00:10 -vframes 1 thumbnail.jpg' {} \;

    What I would like to do is combine these three steps into a single command so the end result will be :

    videos
    ├── 01a
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 01b
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 02a
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 02b
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 03a
    │   ├── thumbnail.jpg
    │   └── video.mp4
    └── 03b
       ├── thumbnail.jpg
       └── video.mp4

    Finally, it would be great to save that as a bash script and include it in my path in /usr/local/bin or ~/bin as an executable so I could just issue the command reencode and it would run. Would be even better if the input file could have any video file, for example, random_name.mp4 or random_name.mov or random_name.webm, basically any video file (but skipping video.mp4 at the encoding step).