Recherche avancée

Médias (91)

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • Android java.lang.UnsatisfiedLinkError : android error for .so libraries

    14 septembre 2017, par Burak iren

    so libraries to my project for ffmpeg camera but I have got some errors when I load the library.

    I’m getting error like that "java.lang.UnsatisfiedLinkError : android" .

    My .so files directory is src-main-jniLibs-armeabi - so files. When I loading the so file gettting error I can’t load the so file. I have tried many answer but still going this error.

    If you want other config files I can load here.

    Error log is here also

    09-14 17:40:33.739 19728-20196/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #6
                                                  Process: com.leadtimeapp.io.internal.debug, PID: 19728
                                                  java.lang.RuntimeException: An error occurred while executing doInBackground()
                                                      at android.os.AsyncTask$3.done(AsyncTask.java:309)
                                                      at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
                                                      at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
                                                      at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                                                      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
                                                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                      at java.lang.Thread.run(Thread.java:818)
                                                   Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.leadtimeapp.io.internal.debug-2/base.apk"],nativeLibraryDirectories=[/data/app/com.leadtimeapp.io.internal.debug-2/lib/arm64, /data/app/com.leadtimeapp.io.internal.debug-2/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libjniavformat.so"
                                                      at java.lang.Runtime.loadLibrary(Runtime.java:367)
                                                      at java.lang.System.loadLibrary(System.java:1076)
                                                      at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:586)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:540)
                                                      at com.googlecode.javacv.cpp.avformat.<clinit>(avformat.java:40)
                                                      at com.googlecode.javacv.cpp.avformat.av_register_all(Native Method)
                                                      at com.leadtimeapp.io.ffmpeg.NewFFmpegFrameRecorder.<clinit>(NewFFmpegFrameRecorder.java:302)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.initVideoRecorder(FFmpegRecorderActivity.java:464)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.access$1400(FFmpegRecorderActivity.java:66)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:368)
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:360)
                                                      at android.os.AsyncTask$2.call(AsyncTask.java:295)
                                                      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 
                                                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
                                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
                                                      at java.lang.Thread.run(Thread.java:818) 
                                                   Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.leadtimeapp.io.internal.debug-2/base.apk"],nativeLibraryDirectories=[/data/app/com.leadtimeapp.io.internal.debug-2/lib/arm64, /data/app/com.leadtimeapp.io.internal.debug-2/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libavformat.so"
                                                      at java.lang.Runtime.loadLibrary(Runtime.java:367)
                                                      at java.lang.System.loadLibrary(System.java:1076)
                                                      at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:577)
                                                      at com.googlecode.javacpp.Loader.load(Loader.java:540) 
                                                      at com.googlecode.javacv.cpp.avformat.<clinit>(avformat.java:40) 
                                                      at com.googlecode.javacv.cpp.avformat.av_register_all(Native Method) 
                                                      at com.leadtimeapp.io.ffmpeg.NewFFmpegFrameRecorder.<clinit>(NewFFmpegFrameRecorder.java:302) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.initVideoRecorder(FFmpegRecorderActivity.java:464) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity.access$1400(FFmpegRecorderActivity.java:66) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:368) 
                                                      at com.leadtimeapp.io.ffmpeg.FFmpegRecorderActivity$2.doInBackground(FFmpegRecorderActivity.java:360) 
                                                      at android.os.AsyncTask$2.call(AsyncTask.java:295) 
                                                      at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
                                                      at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 
                                                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
                                                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
                                                      at java.lang.Thread.run(Thread.java:818) 
    09-14 17:40:34.168 19728-19790/? E/NativeCrypto: ssl=0x7f643ae900
    cert_verify_callback x509_store_ctx=0x7f76e3e1a0 arg=0x0
    09-14 17:40:34.168 19728-19790/? E/NativeCrypto: ssl=0x7f643ae900
    cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
    </clinit></clinit></clinit></clinit>

    My gradle is

    apply plugin: 'com.android.application'
    apply plugin: 'io.fabric'
    apply plugin: 'com.github.triplet.play'
    apply plugin: 'project-report'

    def buildVersionCode = new Date().format("yyMMddHHmm",
    TimeZone.getTimeZone("Europe/Istanbul")).toInteger()
    def buildVersionName = "1.1.2"
    def SupportVersion = '25.3.1'
    def OkHttpVersion = '3.2.0'
    def RetrofitVersion = '2.0.2'
    def FacebookVersion = '4.+'
    def GSonVersion = '2.6.2'

    android {

    compileSdkVersion 25
    buildToolsVersion "25.0.3"

    playAccountConfigs {
       defaultAccountConfig {
           ...
       }
    }

    defaultConfig {
       applicationId "...."
       resValue "string", "app_name", "..."
       resValue "string", "face_app_id", "...."
       minSdkVersion 16
       playAccountConfig = playAccountConfigs.defaultAccountConfig
       //noinspection OldTargetApi
       targetSdkVersion 25
       versionCode buildVersionCode
       versionName buildVersionName
       multiDexEnabled true
       renderscriptTargetApi 19
       renderscriptSupportModeEnabled true


    }

    signingConfigs {
       ....
    }

    lintOptions {
       abortOnError false        // true by default
       checkAllWarnings false
       checkReleaseBuilds false
       ignoreWarnings true       // false by default
       quiet true                // false by default
    }

    sourceSets {
       main.jni.srcDirs = []
       main.jniLibs.srcDirs = ['libs']
    }

    buildTypes {
       release {
           minifyEnabled true
           debuggable false
           signingConfig signingConfigs.release
           proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

           applicationVariants.all { variant ->
               variant.outputs.each { output ->
                   output.outputFile = new File(output.outputFile.parent,
                           output.outputFile.name.replace("-release", "-release-" + buildVersionName + "-" + buildVersionCode)
                   )
               }
           }
       }

       debug {
           debuggable true
           zipAlignEnabled true
           applicationIdSuffix ".debug"
       }

       productFlavors {
           arm7 {
               // in the future, ndk.abiFilter might also work
               ndk {
                   abiFilter 'armeabi-v7a'
               }
           }
           arm8 {
               ndk {
                   abiFilters 'arm64-v8a'
               }
           }
           arm {
               ndk {
                   abiFilter 'armeabi'
               }
           }
           x86 {
               ndk {
                   abiFilter 'x86'
               }
           }
           x86_64 {
               ndk {
                   abiFilter 'x86_64'
               }
           }
           mips {
               ndk {
                   abiFilters 'mips', 'mips64'
               }
           }
           universal {
               ndk {
                   abiFilters 'mips', 'mips64', 'x86', 'x86_64'
               }
           }
       }
    }

    lintOptions {
       abortOnError false
       checkReleaseBuilds false
       checkAllWarnings true
       htmlReport true
       htmlOutput file("lint-report.html")
       checkReleaseBuilds true

       disable 'MissingTranslation'
       disable 'UnusedResources'
       disable 'IconLauncherShape'
       disable 'GoogleAppIndexingApiWarning'
       disable 'SelectableText'
       error 'CommitTransaction'
       error 'InconsistentArrays'
       error 'Registered'
       error 'ManifestOrder'
    }

    }

    play {
    track = 'alpha'
    }

    dependencies {
    compile fileTree(dir: 'libs', include: ['.jar', '.so'])
    compile files('libs/javacpp.jar')
    compile files('libs/javacv.jar')

    compile project(':camera')
    compile project(':VideoRecorder')

    compile("com.android.support:appcompat-v7:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-v4'
       exclude group: 'com.android.support', module: 'support-annotations'
    }
    compile("com.android.support:cardview-v7:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-annotations'
    }
    compile("com.android.support:design:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-core-ui'
       exclude group: 'com.android.support', module: 'appcompat-v7'
       exclude group: 'com.android.support', module: 'support-v4'
    }
    compile("com.android.support:support-v4:$SupportVersion") {
       exclude group: 'com.android.support', module: 'support-media-compat'
       exclude group: 'com.android.support', module: 'support-compat'
    }
    compile('com.android.support:multidex:1.0.1') {
       exclude group: 'com.android.support', module: 'support-vector-drawable'
    }

    compile(group: 'org.bytedeco', name: 'javacv-platform', version: '1.3') {
       exclude group: 'org.bytedeco.javacpp-presets'
    }
    compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '3.2.1-1.3'
    compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '3.2.1-1.3', classifier: 'android-arm'

    compile "com.google.code.gson:gson:$GSonVersion"
    compile "com.squareup.okhttp3:okhttp:$OkHttpVersion"
    compile "com.squareup.retrofit2:retrofit:$RetrofitVersion"
    compile "com.facebook.android:facebook-android-sdk:$FacebookVersion"


    compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
       transitive = true;
    }
    compile('com.twitter.sdk.android:twitter:2.3.0@aar') {
       transitive = true;
    }
    compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'de.hdodenhof:circleimageview:2.0.0'
    compile 'com.wdullaer:materialdatetimepicker:2.3.0'
    compile 'com.github.zhaokaiqiang.klog:library:1.4.0'
    compile 'com.github.filippudak.progresspieview:library:1.0.4'
    compile 'com.daimajia.swipelayout:library:1.2.0@aar'
    compile 'com.amazonaws:aws-android-sdk-s3:2.4.7'
    compile 'io.paperdb:paperdb:1.5'
    compile 'org.greenrobot:eventbus:3.0.0'
    compile 'com.jakewharton:butterknife:8.4.0'
    compile 'com.flipboard:bottomsheet-core:1.5.0'
    compile 'com.flipboard:bottomsheet-commons:1.5.0'
    compile 'com.yqritc:android-scalablevideoview:1.0.4'
    compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
    compile 'com.google.android.gms:play-services-gcm:11.0.4'
    compile 'me.relex:circleindicator:1.1.8@aar'
    compile 'com.github.ihsanbal:scissors:1.1.3'
    compile 'org.zakariya.stickyheaders:stickyheaders:0.7.5'
    compile 'com.parse.bolts:bolts-android:1.4.0'
    compile 'com.parse:parse-android:1.15.8'
    compile 'com.getbase:floatingactionbutton:1.10.1'
    compile 'com.github.wooplr:Spotlight:1.2.3'
    compile 'com.adjust.sdk:adjust-android:4.7.0'
    compile 'com.google.android.gms:play-services-analytics:11.0.4'
    compile 'com.makeramen:roundedimageview:2.3.0'
    compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'
    compile 'com.github.castorflex.verticalviewpager:library:19.0.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
    compile 'jp.wasabeef:blurry:2.1.1'
    compile 'com.writingminds:FFmpegAndroid:0.3.2'

    }
  • Stream RTP to FFMPEG using SDP

    9 avril 2021, par Johnathan Kanarek

    I get RTP stream from WebRTC server (I used mediasoup) using node.js and I get the decrypted RTP packets raw data from the stream.&#xA;I want to forward this RTP data to ffmpeg and from there I can save it to file, or push it as RTMP stream to other media servers.&#xA;I guess that the best way would be to create SDP file that describes both the audio and video streams and send the packets through new sockets.

    &#xA;&#xA;

    The ffmpeg command is :

    &#xA;&#xA;

    ffmpeg -loglevel debug -protocol_whitelist file,crypto,udp,rtp -re -vcodec libvpx -acodec opus -i test.sdp -vcodec libx264 -acodec aac -y output.mp4

    &#xA;&#xA;

    I tried to send the packets through UDP :

    &#xA;&#xA;

    v=0&#xA;o=mediasoup 7199daf55e496b370e36cd1d25b1ef5b9dff6858 0 IN IP4 192.168.193.182&#xA;s=7199daf55e496b370e36cd1d25b1ef5b9dff6858&#xA;c=IN IP4 192.168.193.182&#xA;t=0 0&#xA;m=audio 33301 RTP/AVP 111&#xA;a=rtpmap:111 /opus/48000&#xA;a=fmtp:111 minptime=10;useinbandfec=1&#xA;a=rtcp-fb:111 transport-cc&#xA;a=sendrecv&#xA;m=video 33302 RTP/AVP 100&#xA;a=rtpmap:100 /VP8/90000&#xA;a=rtcp-fb:100 ccm fir&#xA;a=rtcp-fb:100 nack&#xA;a=rtcp-fb:100 nack pli&#xA;a=rtcp-fb:100 goog-remb&#xA;a=rtcp-fb:100 transport-cc&#xA;a=sendrecv&#xA;

    &#xA;&#xA;

    But I always get (removed the boring parts) :

    &#xA;&#xA;

    Opening an input file: test.sdp.&#xA;&#xA;[sdp @ 0x103dea0]&#xA;Format sdp probed with size=2048 and score=50&#xA;[sdp @ 0x103dea0] audio codec set to: (null)&#xA;[sdp @ 0x103dea0] audio samplerate set to: 44100&#xA;[sdp @ 0x103dea0] audio channels set to: 1&#xA;[sdp @ 0x103dea0] video codec set to: (null)&#xA;[udp @ 0x10402e0] end receive buffer size reported is 131072&#xA;[udp @ 0x10400c0] end receive buffer size reported is 131072&#xA;[sdp @ 0x103dea0] setting jitter buffer size to 500&#xA;[udp @ 0x1040740] bind failed: Address already in use&#xA;[AVIOContext @ 0x1046980] Statistics: 473 bytes read, 0 seeks&#xA;test.sdp: Invalid data found when processing input&#xA;

    &#xA;&#xA;

    Note that I get it even if I don't open socket at all or send anything to this port, as if the ffmpeg itself tries to open these ports more than once.

    &#xA;&#xA;

    I tried also to open two (video and audio) TCP servers and define SDP with TCP :

    &#xA;&#xA;

    v=0&#xA;o=mediasoup 7199daf55e496b370e36cd1d25b1ef5b9dff6858 0 IN IP4 192.168.193.182&#xA;s=7199daf55e496b370e36cd1d25b1ef5b9dff6858&#xA;c=IN IP4 192.168.193.182&#xA;t=0 0&#xA;m=audio 33301 TCP 111&#xA;a=rtpmap:111 /opus/48000&#xA;a=fmtp:111 minptime=10;useinbandfec=1&#xA;a=rtcp-fb:111 transport-cc&#xA;a=setup:active&#xA;a=connection:new&#xA;a=sendrecv&#xA;m=video 33302 TCP 100&#xA;a=rtpmap:100 /VP8/90000&#xA;a=rtcp-fb:100 ccm fir&#xA;a=rtcp-fb:100 nack&#xA;a=rtcp-fb:100 nack pli&#xA;a=rtcp-fb:100 goog-remb&#xA;a=rtcp-fb:100 transport-cc&#xA;a=setup:active&#xA;a=connection:new&#xA;a=sendrecv&#xA;

    &#xA;&#xA;

    However I don't see any incoming connection into my TCP servers and I get the following from ffmpeg :

    &#xA;&#xA;

    Opening an input file: test.sdp.&#xA;&#xA;[sdp @ 0xdddea0]&#xA;Format sdp probed with size=2048 and score=50&#xA;&#xA;[sdp @ 0xdddea0]&#xA;audio codec set to: (null)&#xA;&#xA;[sdp @ 0xdddea0]&#xA;audio samplerate set to: 44100&#xA;[sdp @ 0xdddea0] audio channels set to: 1&#xA;[sdp @ 0xdddea0] video codec set to: (null)&#xA;[udp @ 0xde02e0] end receive buffer size reported is 131072&#xA;[udp @ 0xde00c0] end receive buffer size reported is 131072&#xA;[sdp @ 0xdddea0] setting jitter buffer size to 500&#xA;[udp @ 0xde0740] end receive buffer size reported is 131072&#xA;&#xA;[udp @ 0xde0180] end receive buffer size reported is 131072&#xA;[sdp @ 0xdddea0] setting jitter buffer size to 500&#xA;[sdp @ 0xdddea0] Before avformat_find_stream_info() pos: 593 bytes read:593 seeks:0 nb_streams:2&#xA;[libvpx @ 0xdeea80] v1.3.0&#xA;[libvpx @ 0xdeea80] --target=x86_64-linux-gcc --enable-pic --disable-install-srcs --as=nasm --enable-shared --prefix=/usr --libdir=/usr/lib64&#xA;&#xA;[sdp @ 0xdddea0] Could not find codec parameters for stream 1 (Video: vp8, 1 reference frame, none): unspecified size&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;[sdp @ 0xdddea0] After avformat_find_stream_info() pos: 593 bytes read:593 seeks:0 frames:0&#xA;Input #0, sdp, from &#x27;test.sdp&#x27;:&#xA;  Metadata:&#xA;    title           : 7199daf55e496b370e36cd1d25b1ef5b9dff6858&#xA;  Duration: N/A, bitrate: N/A&#xA;    Stream #0:0, 0, 1/90000: Audio: opus, 48000 Hz, mono, fltp&#xA;    Stream #0:1, 0, 1/90000: Video: vp8, 1 reference frame, none, 90k tbr, 90k tbn, 90k tbc&#xA;Successfully opened the file.&#xA;Parsing a group of options: output file output.mp4.&#xA;Successfully parsed a group of options.&#xA;Opening an output file: output.mp4.&#xA;[file @ 0xde3660] Setting default whitelist &#x27;file,crypto&#x27;&#xA;Successfully opened the file.&#xA;&#xA;detected 1 logical cores&#xA;[graph 0 input from stream 0:0 @ 0xde3940] Setting &#x27;time_base&#x27; to value &#x27;1/48000&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xde3940] Setting &#x27;sample_rate&#x27; to value &#x27;48000&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xde3940] Setting &#x27;sample_fmt&#x27; to value &#x27;fltp&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xde3940] Setting &#x27;channel_layout&#x27; to value &#x27;0x4&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xde3940] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x4&#xA;[audio format for output stream 0:0 @ 0xe37900] Setting &#x27;sample_fmts&#x27; to value &#x27;fltp&#x27;&#xA;[audio format for output stream 0:0 @ 0xe37900] Setting &#x27;sample_rates&#x27; to value &#x27;96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350&#x27;&#xA;[AVFilterGraph @ 0xde0220] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed&#xA;&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;&#xA;  Metadata:&#xA;&#xA;    title           :&#xA;7199daf55e496b370e36cd1d25b1ef5b9dff6858&#xA;&#xA;&#xA;    encoder         :&#xA;Lavf57.56.100&#xA;&#xA;&#xA;    Stream #0:0&#xA;, 0, 1/48000&#xA;: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, mono, fltp, delay 1024, 69 kb/s&#xA;&#xA;&#xA;    Metadata:&#xA;&#xA;      encoder         :&#xA;Lavc57.64.100 aac&#xA;&#xA;&#xA;Stream mapping:&#xA;&#xA;  Stream #0:0 -> #0:0 (opus (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;&#xA;test.sdp: Connection timed out&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[output stream 0:0 @ 0xde3b40] EOF on sink link output stream 0:0:default.&#xA;No more output streams to write to, finishing.&#xA;[aac @ 0xde2b00] Trying to remove 1024 samples, but the queue is empty&#xA;[aac @ 0xde2b00] Trying to remove 1024 more samples than there are in the queue&#xA;[mp4 @ 0xe6a540] 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&#xA;[mp4 @ 0xe6a540] Encoder did not produce proper pts, making some up.&#xA;[aac @ 0xde2b00] Trying to remove 1024 samples, but the queue is empty&#xA;[aac @ 0xde2b00] Trying to remove 1024 more samples than there are in the queue&#xA;size=       1kB time=00:00:00.04 bitrate= 157.9kbits/s speed=0.00426x&#xA;video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3268.000000%&#xA;Input file #0 (test.sdp):&#xA;  Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);&#xA;  Input stream #0:1 (video): 0 packets read (0 bytes);&#xA;  Total: 0 packets (0 bytes) demuxed&#xA;Output file #0 (output.mp4):&#xA;  Output stream #0:0 (audio): 0 frames encoded (0 samples); 2 packets muxed (25 bytes);&#xA;  Total: 2 packets (25 bytes) muxed&#xA;0 frames successfully decoded, 0 decoding errors&#xA;[AVIOContext @ 0xde37a0] Statistics: 30 seeks, 25 writeouts&#xA;[aac @ 0xde2b00] Qavg: 47249.418&#xA;&#xA;[AVIOContext @ 0xde6980] Statistics: 593 bytes read, 0 seeks&#xA;

    &#xA;&#xA;

    Note to the "Connection timed out" in the log above.

    &#xA;&#xA;

    I guess that both my SDPs are wrong, any suggestions ?

    &#xA;&#xA;

    Alternatives to SDP are also most welcomed.

    &#xA;

  • Convert form 30 to 60fps by increasing speed, not duplicating frames. FFmpeg

    14 janvier 2014, par Matt Pellegrini

    I have a video that is incorrectly labelled at 30fps, it is actually 60fps and so looks like it's being played at half speed. The audio is fine, that is, the soundtrack finishes half way through the video clip. I'd like to know how, if possible to fix this, that is double the video speed, making it 60fps and meaning that the audio and video are synced.

    The file is H.264 and the audio MPEG-4 AAC

    Thanks in advance for any help,

    Matt

    File details as given by ffmpeg, as requested :

    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
    built on Nov  9 2013 19:09:46 with gcc 4.8.1
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;./Tignes60fps.mp4&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2014-01-13 02:23:09
       Duration: 00:08:33.21, start: 0.000000, bitrate: 5690 kb/s
       Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 5609 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
       creation_time   : 2014-01-13 02:23:09
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 156 kb/s
    Metadata:
         creation_time   : 2014-01-13 02:23:09
    At least one output file must be specified