[FFmpeg-user] Cant convert file on Linux, but on Windows ok

Claudiu Rad jazzman at misalpina.net
Fri Jan 9 09:02:52 CET 2015

On 1/9/2015 9:31 AM, Damian Głodny wrote:
> Hi, when we try to encode one video file on Linux we are getting following
> errors (on Windows everything is fine):

are you comparing the exact same version?

> ffmpeg version 2.1.3-   http://johnvansickle.com/ffmpeg/    Copyright (c)
> 2000-2013 the FFmpeg developers
>    built on Jan 22 2014 19:50:14 with gcc 4.8 (Debian 4.8.2-14)

this is 1 year old. build or get the latest.

> ffmpeg -y -i 'dying_ts.mpg'  -strict -2 -vf
> scale=1280:-1,pad=1280:720:0:\(oh-ih\)/2 -r 25 -c:v libx264 -x264-params
> stitchable=true:keyint=75:min-keyint=25:crf=20:qpmin=5:vbv-maxrate=3750:vbv-
> bufsize=12500:crf-max=0.0:nal-hrd=none:filter=0 -profile:v high -level 3.1
> -c:a aac -b:a 128k 'dying_ts.mpgconv.mp4'

> We also noticed that when we remove "pad=1280:720:0:\(oh-ih\)/2" from
> command above conversion will start to work on Linux. But we need that
> padding. Any ideas why it is not working on Linux, but on Windows is ok?
> Only that file causing problems on that moment.

like in any OS, the console has special characters that you need to 
escape. please put your filter, params, etc. in quotes.


More information about the ffmpeg-user mailing list