Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (6170)

  • Problems when make ffmpeg with ios5.1

    20 octobre 2012, par why

    I am using https://github.com/lajos/iFrameExtractor and there is ffmpeg directory.

    I can configure and make successful, but there some errors when run ./build_universal

    libavformat/metadata_compat.c: In function ‘ff_metadata_mux_compat’:
    libavformat/metadata_compat.c:129: warning: the address of ‘number’ will always evaluate as ‘true’
    libavformat/metadata_compat.c:130: warning: the address of ‘number’ will always evaluate as ‘true’
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/options.d -MT libavformat/options.o -c -o libavformat/options.o libavformat/options.c
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/os_support.d -MT libavformat/os_support.o -c -o libavformat/os_support.o libavformat/os_support.c
    libavformat/os_support.c: In function ‘resolve_host’:
    libavformat/os_support.c:68: warning: implicit declaration of function ‘inet_aton’
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/sdp.d -MT libavformat/sdp.o -c -o libavformat/sdp.o libavformat/sdp.c
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/seek.d -MT libavformat/seek.o -c -o libavformat/seek.o libavformat/seek.c
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/utils.d -MT libavformat/utils.o -c -o libavformat/utils.o libavformat/utils.c
    libavformat/utils.c: In function ‘parse_date’:
    libavformat/utils.c:3100: warning: cast discards qualifiers from pointer target type
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/avio.d -MT libavformat/avio.o -c -o libavformat/avio.o libavformat/avio.c
    /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize       -MMD -MF libavformat/aviobuf.d -MT libavformat/aviobuf.o -c -o libavformat/aviobuf.o libavformat/aviobuf.c
    libavformat/aviobuf.c: In function ‘url_fdopen’:
    libavformat/aviobuf.c:560: warning: passing argument 6 of ‘init_put_byte’ from incompatible pointer type
    libavformat/aviobuf.c:560: warning: passing argument 7 of ‘init_put_byte’ from incompatible pointer type
    libavformat/aviobuf.c:560: warning: passing argument 8 of ‘init_put_byte’ from incompatible pointer type
    /var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2662:no such instruction: `eor %ecx, %eax,%eax,ror'
    /var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2663:no such instruction: `bic %ecx, %ecx,'
    /var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2664:suffix or operands invalid for `mov'
    /var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2665:no such instruction: `eor %eax, %eax,%ecx,lsr'
       make: *** [libavformat/aviobuf.o] Error 1
       mv: rename libavcodec/libavcodec.a to armv7/libavcodec.a: No such file or directory
       mv: rename libavformat/libavformat.a to armv7/libavformat.a: No such file or directory
       mv: rename libavutil/libavutil.a to armv7/libavutil.a: No such file or directory
       mv: rename libswscale/libswscale.a to armv7/libswscale.a: No such file or directory
       rm: No match.
       rm: No match.
       lipo: can't open input file: armv7/libavcodec.a (No such file or directory)
       lipo: specifed architecture type (armv7) for file (armv7/libavdevice.a) does not match its cputype (16777223) and cpusubtype (3) (should be cputype (12) and cpusubtype (9))
       lipo: can't open input file: armv7/libavformat.a (No such file or directory)
       lipo: can't open input file: armv7/libavutil.a (No such file or directory)
       lipo: can't open input file: armv7/libswscale.a (No such file or directory)
       cp: No match.
  • How can I mux (or encapsulate) H.264 RTP output into a container using FFMPEG ?

    7 octobre 2013, par Grad

    I am working on the effects of network losses in video transmission. In order to simulate the network losses I use a simple program which drops random RTP packets from the output of H.264 RTP encoding.

    I use Joint Model (JM) 14.2 in order to encode the video. However, I don't use AnnexB format as my output, instead I choose the output as RTP packets. The JM output is generated as RTP packets with RTP headers and payload as a sequence. After that, some of RTP packets are dropped by using a simple program. Then, I can decode the output bitstream by using also JM and it's error concealment methods.

    The main purpose of this process is to evaluate the differences created by network losses on the human video quality perception. In order to measure the perceived quality, the shown video must be in its decoded form (i.e. full resolution) or it can be decodable at the receiver side. The RTP packets created by the JM Encoder cannot be decoded without the JM software installed. However, with the proper header (or container) most video players are able to decode the bitstream. So, the my goal in this question is to encapsulate my encoded RTP packet bitstream in a common container such as AVI or MP4 to have my content decodable at the receiver computer.

    The format of the encoded bitstream in RTP packetized form is as follows :

        ----------------------------------------------------------------------
        | RTP Header #1 | RTP Payload #1 | RTP Header #2 | RTP Payload #2 |...
        ----------------------------------------------------------------------

    In order to find the video quality, I want to make a subjective test with these bitstreams. I can make these test by using the full resolution data decoded by myself whereas it's very inconvenient to crowdsource this subjective test with GBs of video data on the Internet. So, I want to mux these bitstreams into a container (i.e. AVI) by using FFMPEG. I have tried to decode these bitstreams with FFMPEG and FFPLAY ; however, both of them didn't work. I also tried the following command and it didn't work, either.

       ffmpeg - f h264 -i  -vcodec copy -r 25 out.avi

    Which format or muxer should I use ? Do I need to convert these files to any other format ?

  • convert mp3 to wav using xuggle getting exception

    24 juin 2013, par Felix

    I am trying to convert mp3 to wav and the code is here :

    String mp3 = "F:\\work\\pic2talk38512.mp3";
    String wav = "F:\\work\\pic2talk38512.wav";
    TranscodeAudioAndVideo.transcodeTest(mp3, wav);

    public static void transcode(String sourceUrl, String destinationUrl) {
       IMediaReader reader = ToolFactory.makeReader(sourceUrl);
       reader.addListener(ToolFactory.makeWriter(destinationUrl, reader));

       while (reader.readPacket() == null)
               do {
               } while (false);
    }

    I got this exception :

    java.lang.UnsupportedOperationException: could not guess codec
    at com.xuggle.xuggler.IContainerFormat.establishOutputCodecId(IContainerFormat.java:454)
    at com.xuggle.xuggler.IContainerFormat.establishOutputCodecId(IContainerFormat.java:327)
    at com.xuggle.xuggler.IContainerFormat.establishOutputCodecId(IContainerFormat.java:300)
    at com.xuggle.mediatool.MediaWriter.addStreamFromContainer(MediaWriter.java:1134)
    at com.xuggle.mediatool.MediaWriter.getStream(MediaWriter.java:1039)
    at com.xuggle.mediatool.MediaWriter.encodeVideo(MediaWriter.java:742)
    at com.xuggle.mediatool.MediaWriter.encodeVideo(MediaWriter.java:783)
    at com.xuggle.mediatool.MediaWriter.onVideoPicture(MediaWriter.java:1434)
    at com.xuggle.mediatool.AMediaToolMixin.onVideoPicture(AMediaToolMixin.java:166)
    at com.xuggle.mediatool.MediaReader.dispatchVideoPicture(MediaReader.java:610)
    at com.xuggle.mediatool.MediaReader.decodeVideo(MediaReader.java:519)
    at com.xuggle.mediatool.MediaReader.readPacket(MediaReader.java:475)
    at com.renren.intl.soundsns.pictalk.utils.TranscodeAudioAndVideo.transcodeTest(TranscodeAudioAndVideo.java:75)
    at com.renren.intl.soundsns.pictalk.utils.TranscodeAudioAndVideoTest.convert(TranscodeAudioAndVideoTest.java:12)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    I know that xuggle can figure out the conversion by the extension.But why this time is failed ?

    thanks

    edit :

    previously I can convert mp3 which params(MPEG 22.1KHZ 32kbps) to wav, but If I use the mp3(MPEG 44.1KHZ 62kbps) I got this exception ?

    How this happened ?