[FFmpeg-user] forcing x264 baseline

Jonathan Isom jeisom at gmail.com
Mon Nov 7 22:19:12 CET 2011


On Mon, Nov 7, 2011 at 3:51 AM, Paolo <linuzzz at yahoo.it> wrote:
> dear all,
>
> for a lot of time I used this command line to convert my video to a
> format compatible with my android device:
>
> ffmpeg -i input.mp4 -strict experimental -s 320x240 -b 384k -vcodec
> libx264 -flags +loop+mv4 -cmp 256 -partitions
> +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs
> 5 -bf 0 -flags2 +mixed_refs -coder 0 -me_range 16 -g 250 -keyint_min
> 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -acodec
> aac -ac 2 -ab 128k -ar 44100 output.mp4
>
> using mediainfo I see that
>
> Format profile                           : Baseline at L1.3
>
> and the result file will play on android without problems
>
> Now, I suppose after an ffmpeg update, the same command line produce a file with
>
> Format profile                           : Main at L1.3
>
> by this way the file mp4 will not play on my android device.
>
> I see in the man ffmpeg that "-profile" is deprecated, so, what will
> be the best way to force Baseline profile?

I believe you are looking for "-vprofile baseline"

HTH

Jonathan

> many thanks
> Paolo
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list