On Mon, May 20, 2013 at 9:55 AM, Brian Matherly <pez4br...@yahoo.com> wrote: > Ok Sounds good. > > This is the line that is hanging up: > > melt -silent -profile dv_ntsc blipflash out=200 -consumer > avformat:tmp_output.mkv terminate_on_pause=1; melt -silent -profile dv_ntsc > avformat:tmp_output.mkv -consumer blipflash:results.txt terminate_on_pause=1 > > This feels a lot like the last time where we had an infinite loop that was > never breaking out. > > I started to dig into it last night but didn't get far before I ran out of > time. Let me know if there is anything I can do to help.
The problem is the length could not be computed correctly (we ask libavformat for it). ddennedy@ddennedy-MS-7593:~/Videos$ melt -silent -profile dv_ntsc avformat:tmp_output.mkv -consumer xml <?xml version="1.0"?> <mlt LC_NUMERIC="en_US.UTF-8" version="0.8.9" title="avformat:tmp_output.mkv"> <profile description="DV/DVD NTSC" width="720" height="480" progressive="0" sample_aspect_num="8" sample_aspect_den="9" display_aspect_num="4" display_aspect_den="3" frame_rate_num="30000" frame_rate_den="1001" colorspace="601"/> <producer id="producer0" in="0" out="2147483646"> <property name="mlt_type">producer</property> <property name="length">2147483647</property> <property name="eof">loop</property> When libavformat says the duration is undefined, the MLT avformat producer rather assumes it is a live source and sets the producer to the max duration MLT supports (INT_MAX) and with looping behavior. ffprobe says the duration is zero, and ffplay plays it for a long time (I did not wait). Adding acodec=aac to the first melt command resolves it (it was defaulting to libvorbis).Curiously, webm output gives the same problem, so it seems to be related to the usage of libvorbis in the output. Using the ffmpeg utility to transcode a blipflash to mkv or webm works fine. So, it is something in the API usage of the avformat consumer on FFmpeg later than v1.2. > ~BM > > ________________________________ > From: Dan Dennedy <ddenn...@gmail.com> > To: Brian Matherly <pez4br...@yahoo.com> > Sent: Monday, May 20, 2013 11:37 AM > Subject: Fwd: [TeamCity, FAILED] Build MLT::MLT-MELT-TEST - All Ubuntu 12.04 > Agents #212 > > I changed the build scripts to use ffmpeg master instead of the 1.2 > branch, which probably caused this. I will take a look into it soon. > > ---------- Forwarded message ---------- > From: <teamc...@mltframework.org> > Date: Sun, May 19, 2013 at 3:35 PM > Subject: [TeamCity, FAILED] Build MLT::MLT-MELT-TEST - All Ubuntu > 12.04 Agents #212 > To: ddenn...@gmail.com > > > Build MLT::MLT-MELT-TEST - All Ubuntu 12.04 Agents #212 failed > ([Execution timeout] Tests passed: 96) > Agent: "Ubuntu 12.04 64bit" > > > Failed Tests Summary: 1 (1 new) > (new) avsync: avformat-mkv details ยป > > Stacktraces : > (new) avsync: avformat-mkv > The build MLT::MLT-MELT-TEST - All Ubuntu 12.04 Agents #212 > {builId=28664} has been running for more than 720 minutes. > Terminating... ------- Stdout: ------- About to execute: melt -silent > -profile dv_ntsc blipflash out=200 -consumer avformat:tmp_output.mkv > terminate_on_pause=1; melt -silent -profile dv_ntsc > avformat:tmp_output.mkv -consumer blipflash:results.txt > terminate_on_pause=1 PID: 14724, PPID: 820, Command line: /bin/bash > /opt/buildAgent/temp/agentTmp/custom_script6236720764277827672 Failed > to locate jps tool. No thread dump information is available PID: > 14728, PPID: 14724, Command line: /bin/bash ./test.sh Failed to locate > jps tool. No thread dump information is available PID: 27487, PPID: > 14728, Command line: /bin/bash ./test_avsync.sh -t Failed to locate > jps tool. No thread dump information is available PID: 27529, PPID: > 27487, Command line: melt -silent -profile dv_ntsc > avformat:tmp_output.mkv -consumer blipflash:results.txt > terminate_on_pause=1 Failed to locate jps tool. No thread dump > information is available Build finished ------- Stderr: ------- > [libx264 @ 0x7fba9400c1e0] interlace + weightp is not implemented > [matroska @ 0x7fba9400b3c0] Encoder did not produce proper pts, making > some up. [libvorbis @ 0x7fba9400d6e0] 1 frames left in the queue on > closing [matroska,webm @ 0xf907a0] max_analyze_duration 5000000 > reached at 5005000 microseconds [matroska,webm @ 0x1093540] > max_analyze_duration 5000000 reached at 5005000 microseconds > [matroska,webm @ 0x1093d80] max_analyze_duration 5000000 reached at > 5005000 microseconds [matroska,webm @ 0x7fec3c002320] > max_analyze_duration 5000000 reached at 5005000 microseconds > [matroska,webm @ 0x7fec3c2c23a0] max_analyze_duration 5000000 reached > at 5005000 microseconds [matroska,webm @ 0x7fec3c2b9c40] > max_analyze_duration 5000000 reached at 5005000 microseconds > ./test.sh: line 11: 27487 Killed ./test_avsync.sh -t > -- +-DRD-+ ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel