On Wed, Jun 19, 2013 at 8:30 AM, Brian Matherly <pez4br...@yahoo.com> wrote: >>I'm having a problem with vcodec skew. When I run: >> >>$ melt -query video_codecs >> >>There is no mention of h264. But when I run: >> >>$ avconv -codecs >> >>then I see h264 listed. >> >>Needless to say, since melt isn't seeing the codec (via the avformat >>consumer), it is ignoring my vcodec= assignment. >> >>Is there something that I'm missing? I've been attempting to following >>the cmdline suggested at: >>http://www.mltframework.org/bin/view/MLT/Questions#How_can_I_stream_as_multicast_tr >> >>For starters, if I specify *any* vcodec=, then nothing goes through to >>VLC. Just audio. When I drop it, then I get the original .mp4 passed >>through and VLC shows the video. I've been trying to specify a codec >>and bitrate, however, to increase the quality. And the h264 simply >>isn't working. > > MLT uses libx264 for H.264 encoding. When you run "melt -query video_codecs", > you should see an entry named "libx264". If you do not, then your mlt was not > compiled with "--enable-libx264"
There is no such switch for mlt itself. Looking at the build script that Carl referenced, it appears that switch gets passed to ffmpeg rather than mlt. > It isn't perfectly clear what you are trying to do. You said "consumer" - > which would be decoding, but I infer that you are trying to encode h.264 > because you say you are sending it to VLC. 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 it seems ffmpeg (well, libav really) has h264, it isn't being seen by mlt. So I'm guessing that in this situation... yeah, it would be encoding for transport. Thx, -g ------------------------------------------------------------------------------ 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