On Wed, Jun 19, 2013 at 12:17 PM, Greg Stein <gst...@gmail.com> wrote: > On Wed, Jun 19, 2013 at 2:37 PM, Dan Dennedy <d...@dennedy.org> wrote: >> On Wed, Jun 19, 2013 at 11:06 AM, Greg Stein <gst...@gmail.com> wrote: >>... >>> I was following the command line on the section that I linked to: >>> >>> $ melt -profile square_pal somevideo.foo ... -consumer >>> avformat:udp://224.224.224.224:1234?pkt_size=1316\&reuse=1 real_time=1 >>> terminate_on_pause=0 f=mpegts vcodec=mpeg4 b=1000k s=320x240 >>> acodec=mp2 ab=128k >>> >>> The text goes on to suggest trying h264 rather than mpeg4. And while >> >> I guess the text was being descriptive rather than literal or I made a >> typo. If you do a little research about encoding H.264 with >> ffmpeg/libav, then you'd know that you need to use "libx264" to do >> H.264 encoding. > > Gotcha. When I saw "h264" in mlt's video codecs, I went for it. ... > and failed :-) > > I see what you mean about descriptive/prose rather than being an > actual value for the cmdline. But as a newbie getting a feel for mlt, > it was a bump in the road. Maybe the page could be tweaked?
yes, I already did that, but you might not see it for several hours due to a CDN cache. >>> it seems ffmpeg (well, libav really) has h264, it isn't being seen by >>> mlt. >> >> libavcodec has "h264" for decoding. When you run "melt -query >> video_codecs" it is listing encoders only. The output of avconv >> -codecs varies by version, and it used to have a separate decode-only >> entry for h264 and encode-only entry for libx264. Now, it is lumping >> them together. Perhaps you can now use "h264" as an alias for libx264; >> I am not sure, but "libx264" is what MLT needs. > > Thanks for the detailed explanation. "avconv -codecs" has a > column-based output with D and/or E specifying whether > decoding/encoding are available. In my case (v0.8.6 of libav), it > doesn't have h264 encoding available (installed on Ubuntu via > libav-tools). I can get that fixed. > > I appreciate the quick help, all. P.S. If you download a Shotcut binary, it includes melt and its own build of ffmpeg against libx264, all available without needing to install it - just extract the archive somewhere, cd Shotcut/Shotcut.app and ./melt ... -- +-DRD-+ ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel