>> 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.
Nice investigative work. Do you want me to change the script to force aac? Or do you want to try to chase it down? ~BM ------------------------------------------------------------------------------ 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