Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#135 rendering doesn't terminate

feature_request
closed
nobody
None
5
2014-06-30
2011-08-06
Ian Lynagh
No

With these files:

http://the.earth.li/~igloo/mlt_problem/render_no_terminate.mlt
http://the.earth.li/~igloo/mlt_problem/render_no_terminate.MTS

(113MB; sorry, I couldn't reproduce the problem using the start of the clip, so I don't know how to make it smaller)

rendering appears not to terminate. It quickly gets to this point:

$ time melt consumer:render_no_terminate.mlt profile=atsc_1080p_50 -consumer avformat:render_no_terminate.mpg progress=1 f=mpeg acodec=mp2 ab=384k ar=48000 vcodec=mpeg2video minrate=0 b=12000k bf=2 b_strategy=1 trellis=1 aspect=@16/9 threads=1 real_time=-1 s=960x540 progress=1 verbose=1
libdc1394 error: Failed to initialize libdc1394
Current Frame: 266, percentage: 76

and then sits there for at least an hour.

Frame 266 is about where the clip starts.

Discussion

  • Dan Dennedy
    Dan Dennedy
    2011-08-06

    gdb shows it gets stuck in libavformat:

    #0 handle_packet (ts=0x1, packet=0x8 <Address 0x8 out of bounds>)
    at libavformat/mpegts.c:1278
    #1 0x00007fffeadbbbfe in handle_packets (s=0x7fffdc0203a0, pkt=0x7fffe12e1130)
    at libavformat/mpegts.c:1413
    #2 mpegts_read_packet (s=0x7fffdc0203a0, pkt=0x7fffe12e1130)
    at libavformat/mpegts.c:1650
    #3 0x00007fffeadfbd4c in av_read_packet (s=0x7fffdc0203a0, pkt=0x7fffe12e1130)
    at libavformat/utils.c:722
    #4 0x00007fffeadfd7ba in av_read_frame_internal (s=0x7fffdc0203a0,
    pkt=0x7fffe12e1270) at libavformat/utils.c:1180
    #5 0x00007fffeb04babb in producer_get_audio (frame=0x7fffdc01bd60,
    buffer=0x7fffe12e1e30, format=0x7fffe12e1e88, frequency=0x7fffe12e1e7c,
    channels=0x7fffe12e14bc, samples=0x7fffe12e1e78)
    at producer_avformat.c:2233

    However, 'melt render_no_terminate.MTS in=534' works, but slower to startup than usual.

     
  • Dan Dennedy
    Dan Dennedy
    2014-06-30

    I no longer reproduce this. I used FFmpeg v2.2.1 and MLT v0.9.2 for today's test. Might be fixed in earlier versions of one or the other, but I do not know.

     
  • Dan Dennedy
    Dan Dennedy
    2014-06-30

    • status: open --> closed
    • Group: --> feature_request