Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (29)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (5141)

  • ffmpeg trim .mp3 - output length forced to 2 seconds

    22 septembre 2015, par Brooks

    I have just downloaded the latest version of ffmpeg and I am trying to trim the first 14 and the last 6 seconds from a 40 seconds .mp3 file.

    The problem I have is that doesn’t matter what -t X I use, the output is always only 2 seconds in length. It’s my first using ffmpeg but it seems like something is forcing it to limit the output to 2 seconds.

    I tried a lot of commands including

    ffmpeg -ss 00:00:14.358 -i input.mp3 -ab 32k -t 00:00:20.04 -c:a copy output.mp3 -y

    ffmpeg -ss 14 -i input.mp3 -ab 32k -t 20 -c:a copy output.mp3 -y

    ffmpeg -ss 14 -i input.mp3 -t 20 -acodec copy output.mp3 -y

    ffmpeg -ss 14 -i input.mp3 -acodec copy output.mp3 -y

    ffmpeg -ss 14 -t 20 -i input.mp3 output.mp3

    ffmpeg -ss 14 -i input.mp3 -t 20 output.mp3

    but the result is almost always a 2 sec mp3 file.
    Now I’m out of ideas.

    As requested this is the output from the console :

    > Input #0, mp3, from 'C:\Track7.mp3':   Duration: 00:00:40.49, start:
    > 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=       1kB time=00:00:00.00 bitrate= 752.3kbits/s video:0kB
    > audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 110.287079%
    >
    > C:\Je>ffmpeg -ss 00:00:14.358 -i "C:\Track7.mp3" -t 5 -c:a copy
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 0000000002fb02c0] Skipping 0 bytes of junk at 0. [mp3 @
    > 0000000002fb02c0] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%
    >
    > C:\Je>ffmpeg -ss 00:00:14.358 -i "C:\Track7.mp3" -c:a copy
    > "C:\Track7.mp3" -t 5 -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 Trailing options were found on the commandline. [mp3 @ 0000000003020300] Skipping 0
    > bytes of junk at 0. [mp3 @ 0000000003020300] Estimating duration from
    > bitrate, this may be inaccurate Input #0, mp3, from 'C:\Track7.mp3':  
    > Duration: 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%
    >
    > C:\Je>ffmpeg -ss 00:00:14.358 -i "C:\Track7.mp3" -c:a copy -t 5
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 00000000003102c0] Skipping 0 bytes of junk at 0. [mp3 @
    > 00000000003102c0] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%
    >
    > C:\Je>ffmpeg -ss 00:00:14.358  -t 5 -i "C:\Track7.mp3" -c:a copy
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 0000000002fb02c0] Skipping 0 bytes of junk at 0. [mp3 @
    > 0000000002fb02c0] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%
    >
    > C:\Je>ffmpeg -i "C:\Track7.mp3"-ss 00:00:14.358 -acodec copy
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 C:\Track7.mp3-ss: No such file or directory
    >
    > C:\Je>ffmpeg -i "C:\Track7.mp3" -ss 00:00:14.358 -acodec copy
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 0000000002fb0240] Skipping 0 bytes of junk at 0. [mp3 @
    > 0000000002fb0240] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=       0kB time=00:00:00.00 bitrate=N/A video:0kB audio:0kB
    > subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
    > unknown Output file is empty, nothing was encoded (check -ss / -t /
    > -frames parameters if used)
    >
    > C:\Je>ffmpeg -ss 00:00:14.358 -i "C:\Track7.mp3" -c:a copy
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 0000000002fb0220] Skipping 0 bytes of junk at 0. [mp3 @
    > 0000000002fb0220] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%
    >
    > C:\Je>ffmpeg -ss 00:00:14.358 -i "C:\Track7.mp3" -ab 32k -c:a copy
    > "C:\Track7.mp3" -y ffmpeg version N-75463-g53e8bef Copyright (c)
    > 2000-2015 the FFmpeg developers   built with gcc 4.9.3 (GCC)  
    > configuration: --enable-gpl --enable-version3 --disable-w32threads
    > --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 0000000002fb02c0] Skipping 0 bytes of junk at 0. [mp3 @
    > 0000000002fb02c0] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%
    >
    > C:\Je>ffmpeg -ss 00:00:14.358 -i "C:\Track7.mp3" -ab 32k -t
    > 00:00:20.04 -c:a copy "C:\Track7.mp3" -y ffmpeg version
    > N-75463-g53e8bef Copyright (c) 2000-2015 the FFmpeg developers   built
    > with gcc 4.9.3 (GCC)   configuration: --enable-gpl --enable-version3
    > --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
    > --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable
    > -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      55.  2.100 / 55.  2.100   libavcodec     57.  3.100 /
    > 57.  3.100   libavformat    57.  2.100 / 57.  2.100   libavdevice    57.  0.100 / 57.  0.100   libavfilter     6.  6.100 /  6.  6.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /
    > 2.  0.100   libpostproc    54.  0.100 / 54.  0.100 [mp3 @ 00000000031903c0] Skipping 0 bytes of junk at 0. [mp3 @
    > 00000000031903c0] Estimating duration from bitrate, this may be
    > inaccurate Input #0, mp3, from 'C:\Track7.mp3':   Duration:
    > 00:00:40.49, start: 0.000000, bitrate: 128 kb/s
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp3, to 'C:\Track7.mp3':   Metadata:
    >     TSSE            : Lavf57.2.100
    >     Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s Stream mapping:   Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help
    > size=      32kB time=00:00:02.04 bitrate= 129.5kbits/s video:0kB
    > audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing
    > overhead: 1.410433%

    What am I doing wrong ?

  • streaming automatically (on boot) using init.d scripts

    15 juillet 2014, par Aldo Daniel

    I am using Hackberry A10 with a Linaro 3.0.101 distro.
    I am trying to run ffserver and ffmpeg to stream audio and video at the same time. From terminal, these are possible. But now I want to make them run at the start of my device’s boot.

    The script contains :

    case "$1" in

    start)

    cd /home/linaro/bin/

    ./ffserver -f /home/linaro/Desktop/mpeg.conf &

    ./ffmpeg [ code ] &

     ; ;

    esac

    exit 0

    After that I type the following commands :

    chmod 755 [scriptname]

    update-rc.d [scriptname] defaults

    After I reboot the device, nothing happens. The camera light does not turn on. But when I try to run ffserver with the same configuration, it does not allow me, nor does it tell me that there is an error.

    Can anyone help me with this problem ? Thanks in advance !

  • Solution for VB6 to broadcast Webcam

    11 juillet 2014, par vantrung -cuncon

    Sorry, I know VB6 is decades ago, but I’m in a situation that I have to use VB6 to deliver live webcam stream beetween 2 PC in Server - Client Model program. Vb6-code holds the connection then I have no choice but to transfer all data via that connection.

    I’ve tried weeks for this, uncountable approaches but went to nowhere.
    My efforts focused on 3 major approaches :

    1/ Use ffmpeg to record live webcam as ".avi" file on hard disk, transfer parts of file to other end & play it. But I’ve stucked with a media-player that can play a "being written" avi file.

    Windows Media Player control told me "file already in use..." & VLC Plugin can’t even be added to VB6 (axvlc.dll).

    2/ Use ffmpeg to save live webcam as avi file, transfer each bit of that file to the other end, then in other end, extract 24 images / second from the avi to display continously in a picture box.
    This approach is ok except that my hard disk get fulled of images in a time of wink and my program get very slow before hanging.

    3/ Use ffmpeg to stream the live webcam to a rtp-port like this :

    ffmpeg -f dshow -i video="Lenovo EasyCamera" -vcodec mpeg2video -pix_fmt yuv422p -f rtp -an rtp://224.1.2.3:8191

    I’ve successfully watch the stream in VLC, but VLC(axvlc.dll) refused to be integrated into ancient VB6. And more important, I don’t know how to redirect/reroute the rtp stream to other PC with VB6.

    Any one please light me up ? (Any 3rd party component is welcomed)