Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (71)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (9030)

  • What the "No opaque field provided" mean in ffmpeg ?

    15 mai 2016, par 纯洁的坏蛋

    I use the code to covert a image and wav to a mp4 :

    ffmpeg -loop 1 -i img.jpg -i audio.wav -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest out.mp4

    But I got some errors :

    05-09 17:00:23.473 26907-27514/com.tian.example E/xx: ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   built on May  9 2016 16:36:21 with gcc 4.9 20150123 (prerelease)
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/Users/tian/Documents/adt/android-ndk-r9c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi- --sysroot=/Users/tian/Documents/adt/android-ndk-r9c/platforms/android-16/arch-arm --extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie' --extra-ldflags='-L../x264 -fPIE -pie' --enable-version3 --enable-gpl --disable-doc --enable-yasm --disable-decoders --enable-decoder=mjpeg --enable-decoder=aac --enable-decoder=h264 --disable-encoders --enable-encoder=libx264 --enable-encoder=aac --enable-encoder=h264 --enable-muxers --disable-demuxers --enable-demuxer=image2 --enable-demuxer=wav --disable-parsers --disable-protocols --enable-protocol=file --disable-filters --disable-avresample --disable-libfreetype --disable-indevs --disable-indev=lavfi --disable-outdevs --enable-  libavutil      51. 54.100 / 51. 54.100
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libavcodec     54. 23.100 / 54. 23.100
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libavformat    54.  6.100 / 54.  6.100
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libavdevice    54.  0.100 / 54.  0.100
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libavfilter     2. 77.100 /  2. 77.100
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libswscale      2.  1.100 /  2.  1.100

    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libswresample   0. 15.100 /  0. 15.100
    05-09 17:00:23.473 26907-27514/com.tian.example E/xx:   libpostproc    52.  0.100 / 52.  0.100
    05-09 17:00:23.553 26907-27514/com.tian.example E/xx: [image2 @ 0xb6042100] max_analyze_duration 5000000 reached at 5000000
    05-09 17:00:23.553 26907-27514/com.tian.example E/xx: Input #0, image2, from '/storage/emulated/0/Android/data/com.tian.example/files/tian/frame.jpg':
    05-09 17:00:23.553 26907-27514/com.tian.example E/xx:   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    05-09 17:00:23.553 26907-27514/com.tian.example E/xx:     Stream #0:0: Video: mjpeg, yuvj420p, 320x240 [SAR 72:72 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
    05-09 17:00:23.573 26907-27514/com.tian.example E/xx: Guessed Channel Layout for  Input Stream #1.0 : mono
    05-09 17:00:23.573 26907-27514/com.tian.example E/xx: Input #1, wav, from '/storage/emulated/0/Android/data/com.tian.example/files/tian/example/回声_2016_05_07_22_23_20.wav':

    05-09 17:00:23.573 26907-27514/com.tian.example E/xx:   Duration: 00:00:02.65, bitrate: 705 kb/s
    05-09 17:00:23.573 26907-27514/com.tian.example E/xx:     Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, 705 kb/s
    05-09 17:00:23.593 26907-27514/com.tian.example E/xx: [buffer @ 0xb6052070] w:320 h:240 pixfmt:yuvj420p tb:1/25 sar:72/72 sws_param:flags=2
    05-09 17:00:23.593 26907-27514/com.tian.example E/xx: [buffersink @ 0xb60520a0] No opaque field provided

    05-09 17:00:23.593 26907-27514/com.tian.example E/xx: [abuffer @ 0xb6052100] Invalid sample format (null).
    05-09 17:00:23.593 26907-27514/com.tian.example E/xx: Error opening filters!

    I am a new for ffmpeg.

  • FFMPEG .mov to .mp4 convertion failure

    25 mai 2016, par Pasha Rumkin

    I’m converting .mov and .mp4 to .mp4 with FFMPEG to play them on iOS and Android devices. Mp4 from Android is converting properly and playing on both devices iPhone and Android. But iPhone’s .mov result is strange. It’s playing on iPhone and Android 4. But when I’m trying to open this video with Photo app (Android 5, 6) it outputs unsupported video message.

    FFMPEG command :

    ffmpeg -i app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63 \
          -y -b:a 128k -ac 2 -acodec libfdk_aac -b:v 300k -vcodec libx264 \
          -filter:v scale=w=320:h=trunc(ow/a/2)*2 -vprofile baseline \
          -movflags faststart -f mp4 \
          app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63.mp4

    ffprobe with output file :

    ffprobe version N-80026-g936751b Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 42.100 / 57. 42.100
     libavformat    57. 36.100 / 57. 36.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 45.100 /  6. 45.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '68fa392b-df25-4622-93ab-cf9bf1253f63.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.36.100
     Duration: 00:00:00.65, start: 0.000000, bitrate: 297 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x568, 178 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
  • How to call ffmpeg code without losing quality ?

    7 mai 2016, par seaguest

    I am using ffmpeg3 to convert mv.webm to mp4, it works fine when I use the command line.

    $ ffprobe mv.webm
    ffprobe version N-79789-g58b3e56 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
     configuration: --enable-gpl --enable-shared --enable-libx264
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 39.100 / 57. 39.100
     libavformat    57. 36.100 / 57. 36.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 45.100 /  6. 45.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, matroska,webm, from 'mv.webm':
     Metadata:
       encoder         : google
     Duration: 00:04:56.36, start: 0.000000, bitrate: 836 kb/s
       Stream #0:0: Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn (default)
       Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)

    $ ffmpeg -i mv.webm  -acodec aac -vcodec libx264  mv1.mp4
    $ ffprobe mv1.mp4
    ffprobe version N-79789-g58b3e56 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
     configuration: --enable-gpl --enable-shared --enable-libx264
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 39.100 / 57. 39.100
     libavformat    57. 36.100 / 57. 36.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 45.100 /  6. 45.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'n1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.36.100
     Duration: 00:04:56.36, start: 0.000000, bitrate: 628 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 500 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 120 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    I play it with VLC, there is no noise at all.

    Here is my first question, in case we don’t specify the bitrate in the ffmpeg command, how are the bitrate of video/audio determined ?

    Since I am developping in Golang, I use the framework gmf which calls ffmpeg, I use go to convert the video format without specifying bitrate, then I got the following info :

    $ ffprobe mv2.mp4
    ffprobe version N-79789-g58b3e56 Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
     configuration: --enable-gpl --enable-shared --enable-libx264
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 39.100 / 57. 39.100
     libavformat    57. 36.100 / 57. 36.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 45.100 /  6. 45.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mv2.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.36.100
     Duration: 00:04:56.36, start: 0.000000, bitrate: 540 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480, 385 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 147 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    The bitrate is event better than mv1.mp4, however when I play it with VLC, I heard a lot of noises in the audio, it seems some part of the audio becomes uncontinuous.

    Here is the gmf example code that I use for the video format conversion
    transcode.go

    Here are the two files :

    mv.webm - original file
    mv2.mp4 which has a lot of noises

    I tried to increase the audio bitrate (the way we set bitrate is like AVCodecContext->bit_rate = 441000...), but this doesn’t help.

    What should I do to call ffmpeg code to make it exactly the same as command line

    ffmpeg -i mv.webm  -acodec aac -vcodec libx264  mv1.mp4

     ?