Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (63)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (10248)

  • FFMpeg Unknown function in zoompan filter

    4 août 2022, par Luciano Salemme

    i'm using ffmpeg with zoompan filter in my local environment whit the following command and it works well :

    


    ffmpeg -y -i "https://my.domain/workspaces/1/a_render_dir/video_spotx.mp4" -i "https://my.domain/workspaces/1/Gallery/travel_6.jpeg" -i "https://my.domain/workspaces/1/Gallery/travel_6.jpeg" -i "https://my.domain/workspaces/1/Gallery/travel_6.jpeg" -i "/usr/app/src/output/video.mp4/text_0.png" -i "/usr/app/src/output/video.mp4/text_1.png"    -filter_complex "[0]drawbox=x=0:y=0:w=iw:h=ih:color=00FF00@1:t=fill[padded];[0]format=yuva420p,pad=iw*2:ih*2:color=black@0,zoompan=z='if(lt(it,0),2,if(lte(pzoom,1.0),2,max(1.56,pzoom-0.005789473684210526)))':x=0:y=0:d=1:s=950x540[zp],[padded][zp]overlay=x='if(lt(t,3.04),t*213/3.04,213)':y='if(lt(t,3.04),t*50/3.04,50)':eval=frame[zp_stream],[1:v]scale=237.5:-1 [image1],[2:v]scale=237.5:-1 [image2],[3:v]scale=237.5:-1 [image3],[4:v]scale=475:-1 [image4],[5:v]scale=237.5:-1 [image5],[zp_stream][image1] overlay=95:54:enable='between(t,3,8)' [overlay1],[overlay1][image2] overlay=380:216:enable='between(t,3,8)' [overlay2],[overlay2][image3] overlay=532:54:enable='between(t,5,10)' [overlay3],[overlay3][image4] overlay=475:270:enable='between(t,1,8)' [overlay4],[overlay4][image5] overlay=0:0:enable='between(t,1,8)' [overlay5]" -map "[overlay5]" -pix_fmt yuv420p -map 0:a -c:a copy "/usr/app/src/output/video.mp4/render_video.mp4"


    


    However when i build a docker container and run that command it is not working. The output error is the following :

    


    [Parsed_zoompan_3 @ 0x2a08ac0c5140] [Eval @ 0x3ec4ec4c9ad0] Unknown function in 'it,0),2,if(lte(pzoom,1.0),2,max(1.56,pzoom-0.005789473684210526)))'


    


    I tried to add a fixed z value to the zoompan filter, and the command works also inside the container, so the issue is on the zoompan syntax.

    


    Here is my docker file

    


    FROM node:16

ENV NODE_ENV=production

RUN apt-get -y update && \
    apt-get install -y  ffmpeg \
    build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev 

WORKDIR /usr/src/app
COPY . .
RUN npm ci --production --silent

CMD node src/index.js


    


    Problem starts when i switch on new Macbook pro with M1 processor, but i'm not sure it's related, i build the image with the following command :

    


    docker buildx build --platform linux/x86_64  -t render-job .


    


    On my macchine there is ffmpeg 5.0.1 installed, but on docker container the command apt-get install -y     ffmpeg installs just the follow wersion :

    


    ffmpeg version 4.1.9-0+deb10u1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)


    


    I don't think is relate to the version, because before to build with M1 processor the zoompan filter was working also in the container.

    


    Any help is appreciated.
Thanks.

    


  • Why does the frame time increase over time when decoding video using OpenCV ?

    21 février 2024, par ZeunO8

    I have set up OpenCV in my project. I added the OpenCV github repo as a submodule in my project and included it in my cmake dependencies file like so :

    


     set(WITH_FFMPEG ON)
 set(VIDEOIO_PLUGIN_LIST "ffmpeg")
 set(BUILD_PERF_TESTS OFF)
 set(BUILD_TESTS OFF)
 set(INSTALL_TESTS OFF)
 add_subdirectory(${COJE_SRC_DIR}/vendor/opencv build/build_opencv)


    


    I then set up a Video struct inheriting from IEntity (to get it working with my render drivers draw system) and that looks like :

    


    #pragma once&#xA;#include <opencv2></opencv2>opencv.hpp>&#xA;#include <coje></coje>interfaces/IEntity.hpp>&#xA;#include <coje></coje>enums/EFileLocation.hpp>&#xA;#include <coje></coje>String.hpp>&#xA;#include <coje></coje>graphics/Texture.hpp>&#xA;&#xA;namespace coje::entitys&#xA;{&#xA; struct Video : IEntity&#xA; {&#xA;  String filePath;&#xA;  EFileLocation fileLocation;&#xA;  String tempname;&#xA;  glm::vec2 size;&#xA;  UniquePointer videoCapturePointer;&#xA;  cv::Mat frame;&#xA;  cv::Mat frameConverted;&#xA;  Floating64 fps = 0;&#xA;  Floating64 frameCount = 0;&#xA;  Integer64 currentFrameIndex = -1;&#xA;  Video(const String &amp;filePath, const EFileLocation &amp;fileLocation, const glm::vec2 &amp;size, const glm::vec3 &amp;position, const glm::quat &amp;rotation);&#xA;  ~Video();&#xA;  void updateTextureWithFrame(const uInteger64 &amp;frameIndex, UniquePointer<texture> &amp;texturePointer);&#xA;  const Boolean resize(const glm::vec2 &amp;size);&#xA;  Boolean update(const uInteger64 &amp;elapsedTimeMs);&#xA; };&#xA;}&#xA;</texture>

    &#xA;

    The source for Video.cpp is :

    &#xA;

    #include <coje></coje>bullet.hpp>&#xA;#include <coje></coje>Common.hpp>&#xA;#include <coje></coje>Entitys/Video.hpp>&#xA;#include <coje></coje>Logger.hpp>&#xA;#include <coje></coje>Timer.hpp>&#xA;#include <cstdio>&#xA;using namespace coje::entitys;&#xA;/*&#xA; */&#xA;Video::Video(const String &amp;filePath, const EFileLocation &amp;fileLocation, const glm::vec2 &amp;size, const glm::vec3 &amp;position, const glm::quat &amp;rotation) : IEntity(EntityType)&#xA;{&#xA; this->position = position;&#xA; this->rotation = rotation;&#xA; File videoFile(filePath, fileLocation, "r");&#xA; auto videoBytes = videoFile.toBytes();&#xA; tempname = std::tmpnam(0);&#xA; {&#xA;  File tempFile(tempname, EFileLocation::Relative, "w");&#xA;  tempFile &amp; videoBytes;&#xA; }&#xA; videoCapturePointer = {ReleaseType::Delete, new cv::VideoCapture(tempname.c_str(), cv::CAP_FFMPEG), 1};&#xA; auto &amp;videoCapture = *videoCapturePointer.pointer;&#xA; if (!videoCapture.isOpened())&#xA; {&#xA;  Logger(LogType::ERROR, "%s\n", "Error opening video stream from memory");&#xA;  return;&#xA; }&#xA; // videoCapture.set(cv::CAP_PROP_BUFFERSIZE, 100);&#xA; uInteger64 bufferSize = videoCapture.get(cv::CAP_PROP_BUFFERSIZE);&#xA; Logger(LogType::INFO, "BufferSize: %llu\n", bufferSize);&#xA; fps = videoCapture.get(cv::CAP_PROP_FPS);&#xA; frameCount = videoCapture.get(cv::CAP_PROP_FRAME_COUNT);&#xA; uInteger64 frameWidth = videoCapture.get(cv::CAP_PROP_FRAME_WIDTH),&#xA;            frameHeight = videoCapture.get(cv::CAP_PROP_FRAME_HEIGHT);&#xA; resize(size);&#xA; textures.push_back({ReleaseType::Delete, new Texture(frameWidth, frameHeight, ETextureFormat::RGB8, ETextureType::UnsignedByte), 1});&#xA; glm::ivec3 *indices = (glm::ivec3 *)(*this).operator()(IEntity::Quanta::Indice, 2);&#xA; indices[0] = {3, 2, 1}; // front&#xA; indices[1] = {1, 0, 3};&#xA; glm::vec2 *uvs = (glm::vec2 *)(*this).operator()<float>(IEntity::Quanta::UV2, 4);&#xA; auto _uvs = Common::getUVs2DQuad();&#xA; for (int index = 0; index &lt; 4; index&#x2B;&#x2B;)&#xA; {&#xA;  uvs[index] = _uvs._data[index];&#xA; }&#xA; TimerFunctions::addFunction({this, &amp;Video::update}, 0, 1000 / fps);&#xA; return;&#xA;};&#xA;/*&#xA; */&#xA;Video::~Video()&#xA;{&#xA; File tempFile(tempname);&#xA; tempFile.remove();&#xA;};&#xA;/*&#xA; */&#xA;void Video::updateTextureWithFrame(const uInteger64 &amp;frameIndex, UniquePointer<texture> &amp;texturePointer)&#xA;{&#xA; auto start = std::chrono::high_resolution_clock::now();&#xA; auto &amp;videoCapture = *videoCapturePointer.pointer;&#xA; videoCapture.set(cv::CAP_PROP_POS_FRAMES, frameIndex);&#xA; Boolean frameGrabSuccess = videoCapture.grab();&#xA; if (!frameGrabSuccess)&#xA; {&#xA;  Logger(LogType::ERROR, "%s\n", "Failed to grab frame from VideoCapture");&#xA;  return;&#xA; }&#xA; Boolean frameRetrieveSuccess = videoCapture.retrieve(frame);&#xA; if (!frameRetrieveSuccess)&#xA; {&#xA;  Logger(LogType::ERROR, "%s\n", "Failed to retrieve frame from VideoCapture");&#xA;  return;&#xA; }&#xA; auto end = std::chrono::high_resolution_clock::now();&#xA; std::chrono::duration elapsed = end - start;&#xA; std::cout &lt;&lt; "Video::updateTextureWithFrame took " &lt;&lt; elapsed.count() &lt;&lt; "ms\n";&#xA; cv::cvtColor(frame, frameConverted, cv::COLOR_BGR2RGB);&#xA; cv::flip(frameConverted, frameConverted, 0);&#xA; if (texturePointer.pointer)&#xA; {&#xA;  auto &amp;texture = texturePointer.pointer;&#xA;  if (texture->width != frameConverted.cols || texture->height != frameConverted.rows)&#xA;  {&#xA;   goto _newTexture;&#xA;  }&#xA;  else&#xA;  {&#xA;   texture->update(frameConverted.data);&#xA;  }&#xA; }&#xA; else&#xA; {&#xA; _newTexture:&#xA;  texturePointer = {ReleaseType::Delete, new Texture(frameConverted.cols, frameConverted.rows, frameConverted.data, ETextureFormat::RGB8, ETextureType::UnsignedByte), 1};&#xA; }&#xA;};&#xA;/*&#xA; */&#xA;const Boolean Video::resize(const glm::vec2 &amp;_size)&#xA;{&#xA; size = _size;&#xA; glm::vec3 *vertices = (glm::vec3 *)(*this).operator()<float>(IEntity::Quanta::Vertex, 4);&#xA; glm::vec3 topRight = {size.x / 2, size.y / 2, 0};&#xA; glm::vec3 bottomRight = {size.x / 2, -(size.y / 2), 0};&#xA; glm::vec3 bottomLeft = {-(size.x / 2), -(size.y / 2), 0};&#xA; glm::vec3 topLeft = {-(size.x / 2), size.y / 2, 0};&#xA; vertices[0] = topRight;&#xA; vertices[1] = bottomRight;&#xA; vertices[2] = bottomLeft;&#xA; vertices[3] = topLeft;&#xA; *changedPointer = true;&#xA; return true;&#xA;};&#xA;/*&#xA; */&#xA;Boolean Video::update(const uInteger64 &amp;elapsedTimeMs)&#xA;{&#xA; currentFrameIndex&#x2B;&#x2B;;&#xA; Logger(LogType::INFO, "Video-elapsedTime: %llums\n", elapsedTimeMs);&#xA; if (currentFrameIndex == frameCount - 1)&#xA; {&#xA;  return false;&#xA; }&#xA; auto &amp;texturePointer = textures._data[0];&#xA; updateTextureWithFrame(currentFrameIndex, texturePointer);&#xA; return true;&#xA;};&#xA;</float></texture></float></cstdio>

    &#xA;

    When running a simple test video @ 1280x720 the updateTextureWithFrame timer begins at 12ms but gradually over time increases to over 100ms and beyond. Causing video playback to be running at lower than defined frames per second.

    &#xA;

    What is causing this gradual increase in updateTextureWithFrame ?? How can I solve it ?

    &#xA;

    Edit :

    &#xA;

     uInteger64 bufferSize = videoCapture.get(cv::CAP_PROP_BUFFERSIZE);&#xA; Logger(LogType::INFO, "BufferSize: %llu\n", bufferSize);&#xA;

    &#xA;

    prints BufferSize : 0. Indicating setting CAP_PROP_BUFFERSIZE is not supported for ffmpeg

    &#xA;

    Edit2 :&#xA;Some logs of timings

    &#xA;

    Video::updateTextureWithFrame took 16.5161ms&#xA;Video::updateTextureWithFrame took 21.6109ms&#xA;Video::updateTextureWithFrame took 21.1443ms&#xA;Video::updateTextureWithFrame took 20.4253ms&#xA;Video::updateTextureWithFrame took 23.9015ms&#xA;Video::updateTextureWithFrame took 22.1348ms&#xA;Video::updateTextureWithFrame took 21.3723ms&#xA;Video::updateTextureWithFrame took 21.2186ms&#xA;Video::updateTextureWithFrame took 24.0211ms&#xA;Video::updateTextureWithFrame took 24.5907ms&#xA;Video::updateTextureWithFrame took 23.2134ms&#xA;Video::updateTextureWithFrame took 25.6763ms&#xA;Video::updateTextureWithFrame took 25.416ms&#xA;Video::updateTextureWithFrame took 25.2314ms&#xA;Video::updateTextureWithFrame took 26.3919ms&#xA;Video::updateTextureWithFrame took 24.1883ms&#xA;Video::updateTextureWithFrame took 27.7095ms&#xA;Video::updateTextureWithFrame took 26.5594ms&#xA;Video::updateTextureWithFrame took 26.6618ms&#xA;Video::updateTextureWithFrame took 29.496ms&#xA;Video::updateTextureWithFrame took 27.2731ms&#xA;Video::updateTextureWithFrame took 27.5113ms&#xA;Video::updateTextureWithFrame took 30.2855ms&#xA;Video::updateTextureWithFrame took 27.6773ms&#xA;Video::updateTextureWithFrame took 30.5532ms&#xA;Video::updateTextureWithFrame took 32.6858ms&#xA;Video::updateTextureWithFrame took 32.8735ms&#xA;Video::updateTextureWithFrame took 31.7369ms&#xA;Video::updateTextureWithFrame took 31.2453ms&#xA;Video::updateTextureWithFrame took 30.9424ms&#xA;Video::updateTextureWithFrame took 36.7046ms&#xA;Video::updateTextureWithFrame took 33.6224ms&#xA;Video::updateTextureWithFrame took 32.0368ms&#xA;Video::updateTextureWithFrame took 33.0109ms&#xA;Video::updateTextureWithFrame took 32.2155ms&#xA;Video::updateTextureWithFrame took 33.5314ms&#xA;Video::updateTextureWithFrame took 33.576ms&#xA;Video::updateTextureWithFrame took 37.8993ms&#xA;Video::updateTextureWithFrame took 33.9495ms&#xA;Video::updateTextureWithFrame took 35.776ms&#xA;Video::updateTextureWithFrame took 36.2566ms&#xA;Video::updateTextureWithFrame took 36.5887ms&#xA;Video::updateTextureWithFrame took 40.0839ms&#xA;Video::updateTextureWithFrame took 38.5146ms&#xA;Video::updateTextureWithFrame took 40.72ms&#xA;Video::updateTextureWithFrame took 37.8345ms&#xA;Video::updateTextureWithFrame took 37.9925ms&#xA;Video::updateTextureWithFrame took 39.0402ms&#xA;Video::updateTextureWithFrame took 39.8856ms&#xA;Video::updateTextureWithFrame took 41.3421ms&#xA;Video::updateTextureWithFrame took 41.0703ms&#xA;Video::updateTextureWithFrame took 42.9482ms&#xA;Video::updateTextureWithFrame took 42.9199ms&#xA;Video::updateTextureWithFrame took 44.2593ms&#xA;Video::updateTextureWithFrame took 41.2746ms&#xA;Video::updateTextureWithFrame took 45.7017ms&#xA;Video::updateTextureWithFrame took 46.1854ms&#xA;Video::updateTextureWithFrame took 44.154ms&#xA;Video::updateTextureWithFrame took 42.6004ms&#xA;Video::updateTextureWithFrame took 47.2442ms&#xA;Video::updateTextureWithFrame took 43.4156ms&#xA;Video::updateTextureWithFrame took 47.9288ms&#xA;Video::updateTextureWithFrame took 45.3475ms&#xA;Video::updateTextureWithFrame took 46.9646ms&#xA;Video::updateTextureWithFrame took 48.4978ms&#xA;Video::updateTextureWithFrame took 45.1322ms&#xA;Video::updateTextureWithFrame took 48.1365ms&#xA;Video::updateTextureWithFrame took 49.8857ms&#xA;Video::updateTextureWithFrame took 47.4854ms&#xA;Video::updateTextureWithFrame took 48.2378ms&#xA;Video::updateTextureWithFrame took 50.9174ms&#xA;Video::updateTextureWithFrame took 52.347ms&#xA;Video::updateTextureWithFrame took 51.6252ms&#xA;Video::updateTextureWithFrame took 52.2018ms&#xA;Video::updateTextureWithFrame took 49.2384ms&#xA;Video::updateTextureWithFrame took 50.9491ms&#xA;Video::updateTextureWithFrame took 52.2139ms&#xA;Video::updateTextureWithFrame took 53.3229ms&#xA;Video::updateTextureWithFrame took 56.0199ms&#xA;Video::updateTextureWithFrame took 55.582ms&#xA;Video::updateTextureWithFrame took 55.2675ms&#xA;Video::updateTextureWithFrame took 54.9446ms&#xA;Video::updateTextureWithFrame took 54.7955ms&#xA;Video::updateTextureWithFrame took 54.0296ms&#xA;Video::updateTextureWithFrame took 54.0375ms&#xA;Video::updateTextureWithFrame took 57.0916ms&#xA;Video::updateTextureWithFrame took 55.2474ms&#xA;Video::updateTextureWithFrame took 56.8046ms&#xA;Video::updateTextureWithFrame took 57.562ms&#xA;Video::updateTextureWithFrame took 59.9115ms&#xA;Video::updateTextureWithFrame took 59.3991ms&#xA;Video::updateTextureWithFrame took 60.0536ms&#xA;Video::updateTextureWithFrame took 59.9457ms&#xA;Video::updateTextureWithFrame took 57.5088ms&#xA;Video::updateTextureWithFrame took 59.1255ms&#xA;Video::updateTextureWithFrame took 62.2311ms&#xA;Video::updateTextureWithFrame took 59.0422ms&#xA;Video::updateTextureWithFrame took 62.0419ms&#xA;Video::updateTextureWithFrame took 62.0586ms&#xA;Video::updateTextureWithFrame took 64.0988ms&#xA;Video::updateTextureWithFrame took 64.743ms&#xA;Video::updateTextureWithFrame took 63.008ms&#xA;Video::updateTextureWithFrame took 65.1726ms&#xA;Video::updateTextureWithFrame took 63.3618ms&#xA;Video::updateTextureWithFrame took 65.6431ms&#xA;Video::updateTextureWithFrame took 63.8957ms&#xA;Video::updateTextureWithFrame took 65.1142ms&#xA;Video::updateTextureWithFrame took 67.2243ms&#xA;Video::updateTextureWithFrame took 65.1302ms&#xA;Video::updateTextureWithFrame took 66.4947ms&#xA;Video::updateTextureWithFrame took 66.092ms&#xA;Video::updateTextureWithFrame took 68.6997ms&#xA;Video::updateTextureWithFrame took 70.5683ms&#xA;Video::updateTextureWithFrame took 71.9019ms&#xA;Video::updateTextureWithFrame took 68.6088ms&#xA;Video::updateTextureWithFrame took 70.7946ms&#xA;Video::updateTextureWithFrame took 68.263ms&#xA;Video::updateTextureWithFrame took 66.1565ms&#xA;Video::updateTextureWithFrame took 70.6742ms&#xA;Video::updateTextureWithFrame took 70.7035ms&#xA;Video::updateTextureWithFrame took 73.8002ms&#xA;Video::updateTextureWithFrame took 73.1897ms&#xA;Video::updateTextureWithFrame took 74.006ms&#xA;Video::updateTextureWithFrame took 74.1048ms&#xA;Video::updateTextureWithFrame took 72.9378ms&#xA;Video::updateTextureWithFrame took 75.0651ms&#xA;Video::updateTextureWithFrame took 73.5676ms&#xA;Video::updateTextureWithFrame took 73.7706ms&#xA;Video::updateTextureWithFrame took 74.0839ms&#xA;Video::updateTextureWithFrame took 74.6773ms&#xA;Video::updateTextureWithFrame took 75.8827ms&#xA;Video::updateTextureWithFrame took 74.4724ms&#xA;Video::updateTextureWithFrame took 75.2119ms&#xA;Video::updateTextureWithFrame took 83.4102ms&#xA;Video::updateTextureWithFrame took 77.6811ms&#xA;Video::updateTextureWithFrame took 78.7307ms&#xA;Video::updateTextureWithFrame took 80.1705ms&#xA;Video::updateTextureWithFrame took 78.6064ms&#xA;Video::updateTextureWithFrame took 80.803ms&#xA;Video::updateTextureWithFrame took 80.0117ms&#xA;Video::updateTextureWithFrame took 78.2948ms&#xA;Video::updateTextureWithFrame took 81.0375ms&#xA;Video::updateTextureWithFrame took 78.7389ms&#xA;Video::updateTextureWithFrame took 80.2201ms&#xA;Video::updateTextureWithFrame took 82.8578ms&#xA;Video::updateTextureWithFrame took 84.2388ms&#xA;Video::updateTextureWithFrame took 84.6484ms&#xA;Video::updateTextureWithFrame took 87.6683ms&#xA;Video::updateTextureWithFrame took 82.8939ms&#xA;Video::updateTextureWithFrame took 84.015ms&#xA;Video::updateTextureWithFrame took 88.1832ms&#xA;Video::updateTextureWithFrame took 83.3894ms&#xA;Video::updateTextureWithFrame took 86.9088ms&#xA;Video::updateTextureWithFrame took 87.1049ms&#xA;Video::updateTextureWithFrame took 87.6748ms&#xA;Video::updateTextureWithFrame took 87.178ms&#xA;Video::updateTextureWithFrame took 84.7988ms&#xA;Video::updateTextureWithFrame took 89.528ms&#xA;Video::updateTextureWithFrame took 88.7021ms&#xA;Video::updateTextureWithFrame took 90.0357ms&#xA;Video::updateTextureWithFrame took 90.398ms&#xA;Video::updateTextureWithFrame took 87.8047ms&#xA;Video::updateTextureWithFrame took 90.2447ms&#xA;Video::updateTextureWithFrame took 94.6288ms&#xA;Video::updateTextureWithFrame took 88.9265ms&#xA;Video::updateTextureWithFrame took 89.01ms&#xA;Video::updateTextureWithFrame took 87.6294ms&#xA;Video::updateTextureWithFrame took 90.6988ms&#xA;Video::updateTextureWithFrame took 93.0173ms&#xA;Video::updateTextureWithFrame took 92.1651ms&#xA;Video::updateTextureWithFrame took 92.9234ms&#xA;Video::updateTextureWithFrame took 95.4223ms&#xA;Video::updateTextureWithFrame took 99.0941ms&#xA;Video::updateTextureWithFrame took 97.3014ms&#xA;Video::updateTextureWithFrame took 91.8709ms&#xA;Video::updateTextureWithFrame took 96.8951ms&#xA;Video::updateTextureWithFrame took 95.3506ms&#xA;Video::updateTextureWithFrame took 96.5474ms&#xA;Video::updateTextureWithFrame took 92.4739ms&#xA;Video::updateTextureWithFrame took 95.1857ms&#xA;Video::updateTextureWithFrame took 96.6743ms&#xA;Video::updateTextureWithFrame took 99.0657ms&#xA;Video::updateTextureWithFrame took 105.84ms&#xA;Video::updateTextureWithFrame took 99.3163ms&#xA;Video::updateTextureWithFrame took 127.942ms&#xA;Video::updateTextureWithFrame took 101.378ms&#xA;Video::updateTextureWithFrame took 98.6114ms&#xA;Video::updateTextureWithFrame took 101.161ms&#xA;Video::updateTextureWithFrame took 102.271ms&#xA;Video::updateTextureWithFrame took 100.77ms&#xA;Video::updateTextureWithFrame took 100.825ms&#xA;Video::updateTextureWithFrame took 100.64ms&#xA;Video::updateTextureWithFrame took 99.7002ms&#xA;Video::updateTextureWithFrame took 103.207ms&#xA;Video::updateTextureWithFrame took 107.135ms&#xA;Video::updateTextureWithFrame took 100.766ms&#xA;Video::updateTextureWithFrame took 103.321ms&#xA;Video::updateTextureWithFrame took 107.361ms&#xA;Video::updateTextureWithFrame took 104.086ms&#xA;Video::updateTextureWithFrame took 100.975ms&#xA;Video::updateTextureWithFrame took 105.846ms&#xA;Video::updateTextureWithFrame took 104.755ms&#xA;Video::updateTextureWithFrame took 105.893ms&#xA;Video::updateTextureWithFrame took 105.234ms&#xA;Video::updateTextureWithFrame took 109.415ms&#xA;Video::updateTextureWithFrame took 107.942ms&#xA;Video::updateTextureWithFrame took 109.816ms&#xA;Video::updateTextureWithFrame took 109.268ms&#xA;Video::updateTextureWithFrame took 111.918ms&#xA;Video::updateTextureWithFrame took 110.123ms&#xA;Video::updateTextureWithFrame took 109.975ms&#xA;Video::updateTextureWithFrame took 110.105ms&#xA;Video::updateTextureWithFrame took 115.888ms&#xA;Video::updateTextureWithFrame took 112.443ms&#xA;Video::updateTextureWithFrame took 111.795ms&#xA;Video::updateTextureWithFrame took 112.016ms&#xA;Video::updateTextureWithFrame took 115.857ms&#xA;Video::updateTextureWithFrame took 114.762ms&#xA;Video::updateTextureWithFrame took 112.551ms&#xA;Video::updateTextureWithFrame took 116.05ms&#xA;Video::updateTextureWithFrame took 119.133ms&#xA;Video::updateTextureWithFrame took 114.202ms&#xA;Video::updateTextureWithFrame took 119.864ms&#xA;Video::updateTextureWithFrame took 119.743ms&#xA;Video::updateTextureWithFrame took 119.911ms&#xA;Video::updateTextureWithFrame took 120.957ms&#xA;Video::updateTextureWithFrame took 117.611ms&#xA;Video::updateTextureWithFrame took 116.596ms&#xA;Video::updateTextureWithFrame took 116.859ms&#xA;Video::updateTextureWithFrame took 120.355ms&#xA;Video::updateTextureWithFrame took 121.932ms&#xA;Video::updateTextureWithFrame took 117.56ms&#xA;Video::updateTextureWithFrame took 122.747ms&#xA;Video::updateTextureWithFrame took 120.103ms&#xA;Video::updateTextureWithFrame took 123.497ms&#xA;Video::updateTextureWithFrame took 126.391ms&#xA;Video::updateTextureWithFrame took 123.512ms&#xA;Video::updateTextureWithFrame took 121.612ms&#xA;Video::updateTextureWithFrame took 130.169ms&#xA;Video::updateTextureWithFrame took 126.936ms&#xA;Video::updateTextureWithFrame took 122.812ms&#xA;Video::updateTextureWithFrame took 122.843ms&#xA;Video::updateTextureWithFrame took 124.214ms&#xA;Video::updateTextureWithFrame took 125.563ms&#xA;Video::updateTextureWithFrame took 128.024ms&#xA;Video::updateTextureWithFrame took 129.263ms&#xA;Video::updateTextureWithFrame took 130.028ms&#xA;Video::updateTextureWithFrame took 127.493ms&#xA;Video::updateTextureWithFrame took 129.553ms&#xA;Video::updateTextureWithFrame took 130.538ms&#xA;Video::updateTextureWithFrame took 22.6048ms&#xA;Video::updateTextureWithFrame took 20.2454ms&#xA;Video::updateTextureWithFrame took 19.9947ms&#xA;Video::updateTextureWithFrame took 21.2817ms&#xA;Video::updateTextureWithFrame took 22.6694ms&#xA;Video::updateTextureWithFrame took 25.5187ms&#xA;Video::updateTextureWithFrame took 19.8971ms&#xA;Video::updateTextureWithFrame took 22.2975ms&#xA;Video::updateTextureWithFrame took 21.4979ms&#xA;Video::updateTextureWithFrame took 25.6767ms&#xA;Video::updateTextureWithFrame took 23.4276ms&#xA;Video::updateTextureWithFrame took 25.5657ms&#xA;Video::updateTextureWithFrame took 23.2816ms&#xA;Video::updateTextureWithFrame took 26.8515ms&#xA;Video::updateTextureWithFrame took 24.0271ms&#xA;Video::updateTextureWithFrame took 24.4675ms&#xA;Video::updateTextureWithFrame took 25.6897ms&#xA;Video::updateTextureWithFrame took 28.7489ms&#xA;Video::updateTextureWithFrame took 24.6164ms&#xA;Video::updateTextureWithFrame took 29.6739ms&#xA;Video::updateTextureWithFrame took 27.8118ms&#xA;Video::updateTextureWithFrame took 30.3992ms&#xA;Video::updateTextureWithFrame took 28.2943ms&#xA;Video::updateTextureWithFrame took 29.9693ms&#xA;Video::updateTextureWithFrame took 30.6129ms&#xA;

    &#xA;

  • Xuggle build failed on ubuntu x64 ?

    3 avril 2012, par beginner

    After downloading the source code from GIT hub I setup the enviroment variables
    as Xuggle YouTube Video said so

      export XUGGLE_HOME=/usr/local
      export PATH=$XUGGLE_HOME/bin:$PATH
      export LD_LIBRARY_PATH=$XUGGLE_HOME

    Then I simply started the ant test by command

    ant run-tests

    Which gave me following output with error in the end ..

    compile-native-do:
        [exec] Making all in captive
        [exec] make[1]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive&#39;
        [exec] Making all in libvo-aacenc
        [exec] make[2]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc&#39;
        [exec] Incarcerated package configured: ../../../../../captive/libvo-aacenc
        [exec] Incarcerating package ../../../../../captive/libvo-aacenc to fake DESTDIR=/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive
        [exec] make[3]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc&#39;
        [exec] make  all-am
        [exec] make[4]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc&#39;
        [exec] make[4]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc&#39;
        [exec] make[3]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc/csrc&#39;
        [exec] Incarceration complete: ../../../../../captive/libvo-aacenc
        [exec] make[2]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libvo-aacenc&#39;
        [exec] Making all in libopencore-amr
        [exec] make[2]: Entering directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr&#39;
        [exec] Incarcerated package must be reconfigured; regenerating out of date captive Makefile from: ../../../../../captive/libopencore-amr/csrc/configure
        [exec] /bin/mkdir -p csrc
        [exec] cd csrc &amp;&amp; sh ../incarcerate
        [exec] Creating release version of libopencore-amr:
        [exec] Copying /home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/libopencore-amr/csrc to /home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr/csrc
        [exec] Configuring libopencore-amr with these options:  --enable-shared
        [exec] checking for a BSD-compatible install... /usr/bin/install -c
        [exec] checking whether build environment is sane... yes
        [exec] checking for a thread-safe mkdir -p... /bin/mkdir -p
        [exec] checking for gawk... no
        [exec] checking for mawk... mawk
        [exec] checking whether make sets $(MAKE)... yes
        [exec] checking how to create a ustar tar archive... gnutar
        [exec] checking whether to enable maintainer-specific portions of Makefiles... no
        [exec] checking build system type... x86_64-unknown-linux-gnu
        [exec] checking host system type... x86_64-unknown-linux-gnu
        [exec] checking for g++... no
        [exec] checking for c++... no
        [exec] checking for gpp... no
        [exec] checking for aCC... no
        [exec] checking for CC... no
        [exec] checking for cxx... no
        [exec] checking for cc++... no
        [exec] checking for cl.exe... no
        [exec] checking for FCC... no
        [exec] checking for KCC... no
        [exec] checking for RCC... no
        [exec] checking for xlC_r... no
        [exec] checking for xlC... no
        [exec] configure: error: in `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr/csrc&#39;:
        [exec] configure: error: C++ compiler cannot create executables
        [exec] See `config.log&#39; for more details.
        [exec] make[2]: *** [/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr/csrc/Makefile] Error 1
        [exec] make[1]: *** [all-recursive] Error 1
        [exec] make: *** [all-recursive] Error 1
        [exec] checking for C++ compiler default output file name...
        [exec] Could not configure library: "/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/../../../../captive/libopencore-amr"; you may want to try disabling it or installing your own version
        [exec] make[2]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive/libopencore-amr&#39;
        [exec] make[1]: Leaving directory `/home/uroot/xuggle/build/native/x86_64-unknown-linux-gnu/captive&#39;

    BUILD FAILED
    /home/uroot/xuggle/mk/buildtools/buildhelper.xml:1149: exec returned: 2