[Libav-user] write hls stream to disc
Georg Stein
georg_stein at t-online.de
Wed Apr 15 14:57:27 CEST 2015
when i look into my logs (writing the packets) these are always making a
pause from around 4-8 secs, then i get 4 secs long packets to write,
this is of course not what i need to play this in almost realtime. For
me oit looks like i did something worng while i opened the stream with
avformat_open_input.
and as is wrote before, the ffmpeg command line tool is able to do this
in realtime (perhaps the stream is freezing for some milliseconds
sometimes, but not for seconds
Georg
Am 15.04.2015 um 14:37 schrieb wm4:
> On Wed, 15 Apr 2015 11:46:39 +0000 (UTC)
> Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>
>> Georg Stein <georg_stein at ...> writes:
>>
>>>> What's wrong with mplayer -dumpstream ?
>>>
>>> against mplayer:
>>> first i have to do some preprocessing to get the
>>> stream url, and then i wanted to start
>>> prohgramming around ffmpeg.
>>
>> The important thing to get this right - imo! - is
>> not to "mux" the output but to write the data to
>> the disc as it arrives: Not implementing the
>> FFmpeg way but implementing -dumpstream (which
>> doesn't exist in FFmpeg).
>
> Shouldn't muxing to raw achieve the same thing?
>
>> Please do not top-post here, it is considered
>> rude, Carl Eugen
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
More information about the Libav-user
mailing list