[FFmpeg-user] mmsh to hls

lyncher at sapo.pt lyncher at sapo.pt
Wed May 7 23:05:53 CEST 2014


Hello,
I'm trying to convert a mmsh stream in a HLS stream using ffmpeg with 
partial success... It works, but only for a few hours (the most that it 
got was 13h) after that time it simply stops updating the playlist or 
saving any more segments to disk.

The command that I'm using is:

ffmpeg.exe -i "mmsh://127.0.0.1/stream" -y -hls_time 10 -hls_wrap 50 
-hls_list_size 3 -f hls "test.m3u8"


ffmpeg version N-62994-g2baf1c8 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on May  5 2014 22:09:11 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libcaca --enable-libfreetype --enable-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 --enable-libvo-aacenc --enable-libvo-amrwbenc 
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 
--enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink 
--enable-zlib
   libavutil      52. 81.100 / 52. 81.100
   libavcodec     55. 60.103 / 55. 60.103
   libavformat    55. 37.102 / 55. 37.102
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100

It works until:
size=N/A time=13:01:18.85 bitrate=N/A
size=N/A time=13:01:19.95 bitrate=N/A
size=N/A time=13:01:20.99 bitrate=N/A

The ffmpeg process keeps running with 83 threads but using 0% CPU or 
writing any more data.
I've tested the same command in a previous version 
(20140212-git-058a3d6) with a different behaviour: after about 2 hours 
the playlist wasn't updated anymore but new segments were written...

Is this a known problem with ffmpeg?

Thanks







More information about the ffmpeg-user mailing list