VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Dec 2014
    Location
    Paris
    Search Comp PM
    I've been trying to do something what seems very simple: prepare an audio stream for HTTP Live Streaming. This means muxing the audio into a TS container and breaking it up into 10s segments. Now ffmpeg claims to do this: https://www.ffmpeg.org/ffmpeg-formats.html#hls but when I try it with
    Code:
    ffmpeg -i test.m4a -hls_time 10 test.m3u8
    I get:
    Code:
    [hls @ 0x7fa46c00b200] Frame rate very high for a muxer not efficiently supporting it.
    Please consider specifying a lower framerate, a different muxer or -vsync 2
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x7fa46b815800] using SAR=1/1
    [libx264 @ 0x7fa46b815800] MB rate (32490000) > level limit (2073600)
    [libx264 @ 0x7fa46b815800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x7fa46b815800] profile High 4:4:4 Predictive, level 5.2, 4:4:4 8-bit
    [aac @ 0x7fa46b816a00] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
    Can anyone replicate this bug, or am I doing something wrong? It seems to go for libx264 which is strange since there is no video stream at all.
    Quote Quote  
  2. Hi certuna ,

    Not easy to solve your ask .

    After many tries , what i can say , is to
    _ write "-hls_list_size 30" ( in my try i had 29 streams .ts )
    _ BEFORE -hls_time 10

    Code:
    ================
    "ffmpeg.exe" -i "O_Holy_Night.mp3" -hls_list_size 30 -hls_time 10  "O_Holy_Night.m3u8"
    
    Input #0, mp3, from 'O_Holy_Night.mp3':
    Output #0, hls, to 'O_Holy_Night.m3u8':
    
    Stream mapping:
      Stream #0:0 -> #0:0 (mp3 -> mp2)
    
    size=N/A time=00:04:50.67 bitrate=N/A
    =================
    =================
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:10
    #EXT-X-MEDIA-SEQUENCE:0
    #EXTINF:10,
    O_Holy_Night0.ts
    ...
    #EXTINF:10,
    O_Holy_Night28.ts
    #EXTINF:1,
    O_Holy_Night29.ts
    #EXT-X-ENDLIST
    =================
    Some instructions don't work (???) in
    https://www.ffmpeg.org/ffmpeg-formats.html#hls

    Note : While playing the file ( in VLC) the 'progress bar' is staying at 0 !!! .

    Code:
    Some times the file .m3u8 is unable to be deleted !!!
    Do < Ctrl Alt Del> => 'Task Manager' stop the process 'vlc.exe' (running) .

    Regards .
    Last edited by aazerty; 18th Dec 2014 at 14:37. Reason: Shift => Alt
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!