Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (66)

Sur d’autres sites (13088)

  • Merge remote-tracking branch ’qatar/master’

    26 mars 2014, par Michael Niedermayer
    Merge remote-tracking branch ’qatar/master’
    

    * qatar/master :
    truehd : add hand-scheduled ARM asm version of ff_mlp_pack_output.

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/arm/Makefile
    • [DH] libavcodec/arm/mlpdsp_armv6.S
    • [DH] libavcodec/arm/mlpdsp_init_arm.c
  • Creating a .m3u8 file for .ts files that already exist

    25 octobre 2019, par user12267838

    I need to create an m3u8 file - either from scratch or with a program - for existing .ts files that I have.

    I have 10 .ts files, all are the same duration, same fps, etc..

    I tried generating an m3u8, but the VLC Player shows a corrupted file every time I play it. The duration is incorrect, the video freezes at some parts while other parts play choppy and even lose all quality.

    I tried using FFmpeg to create a .m3u8 file for another mp4 that does not have the same content as the .ts files, but should be the same fps and the same duration of all .ts files combined.

    Here is the command which failed me :

    `ffmpeg -i background.mp4 -g 50 -hls_time 2 output.m3u8`

    I tried creating a m3u8 file from scratch,

    like this :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:4
    #EXT-X-MEDIA-SEQUENCE:5
    #EXTINF:2.000000,
    export-1080p--0.ts
    #EXTINF:2.000000,
    export-1080p--1.ts
    #EXTINF:2.000000,
    export-1080p--2.ts
    #EXTINF:2.000000,
    export-1080p--3.ts
    #EXTINF:2.000000,
    export-1080p--4.ts
    #EXTINF:2.000000,
    export-1080p--5.ts
    #EXTINF:2.000000,
    export-1080p--6.ts
    #EXTINF:1.000000,
    export-1080p--7.ts
    #EXT-X-ENDLIST

    But that failed as well.

    With ffmeg command :

    ffmpeg -i [filename.ts]

    I have checked all of my .ts files, they are all 00:00:02.02


    In this thread I have found a command, I need a similar command that allows me to use an input of multiple .ts files.

    ffmpeg -i input.ts \
    - map 0 -c copy \
    - f segment -segment_list out.m3u8 \
    - segment_time 60 \
    out%03d.ts


    Is there a way to :

    a) create a m3u8 by hand ?

    b) use a program to create a m3u8 ?

    c) use ffmpeg to fetch the .ts files so that it makes a playable m3u8 file ?

    Does anyone know how I can get it done ?

  • Updating ffmpeg on Ubuntu 12.04 ; conflicts with old version from standard repository

    29 octobre 2016, par Frank van Wensveen

    I have never used ffmpeg on my Ubuntu Linux 12.04 (Precise Pangolin) box until now. Typing ’ffmpeg’ at the command prompt revealed that ffmpeg 0.8.17 (listed as ffmpeg 0.8.17-4:0.8.17-0ubuntu0.12.04.2) was installed. Seeing as I need to convert h.265 to h.264, an update was obviously required.

    Following posted instructions, I installed a ream of packages :

    $ sudo apt-get install faad libmp4v2-dev libfaac0 libfaac-dev
    libxvidcore4 libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev
    libgsm-tools libogg-dev libtheora-bin libfaad-dev libvorbis-dev
    libtheora-dev libdts-dev git-core yasm texi2html checkinstall

    followed by

    $ sudo apt-get purge ffmpeg

    in order to get rid of the old stuff from the original repo.

    Downloaded the latest ffmpeg, and a ."/configure ; make ; sudo make install" later, I should be in business.

    Except that typing ’ffmpeg’ at the prompt still fired up the old version. A quick look revealed that the old ffmpeg binary was still sitting in /usr/bin with the new one being installed in /usr/local/bin. But ffmpeg is no longer listed as an installed package, and sudo apt-get remove ffmpeg tells me that "Package ffmpeg is not installed, so not removed".

    Running /usr/local/bin/ffmpeg directly works, however then fails in an Unknown encoder ’libx264’ error. Which is puzzling because the package libx264-120 is installed and /usr/lib/i386-linux-gnu/libx264.so.120 (with the appropriate symlink to /usr/lib/i386-linux-gnu/libx264.so) does exist.

    Maybe I’ve been looking at this for too long, because I’m sure this is a simple issue but I just can’t see it.

    Can someone please hand me the stupid had and point out why I deserve to wear it ?

    Tnx !