[FFmpeg-user] segmenter

JULIAN GARDNER joolzg at btinternet.com
Thu Jul 14 13:40:06 CEST 2011

im trying to get a hls segmenter working but have a problem, i have downloaded a program called live-segmenter (http://www.ioncannon.net/) and modified it to build with the latest versions of ffmpeg but i have run into a problem.

every time the program decides to chop the stream it calls in order

      // change filename to next one

      url_fopen(&output_context->pb, output_filename, URL_WRONLY);

But after 40 segments we get a "***stack smashing detected **** crash

Also every new segment adds a program into the PAT and adds a new PMT into the stream.

Now i am new to using ffmpeg as libraries so any help on fixing this would be good, i will be looking to add HLS as native once i have this working.

DVB Subtitles and HARD Subtitles (burnt in) are in test and looking good, patches coming soon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: live_segmenter.c
Type: text/x-csrc
Size: 12751 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110714/939a6794/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 156 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110714/939a6794/attachment.obj>

More information about the ffmpeg-user mailing list