[FFmpeg-user] Please can someone tell me why this ffmpeg command stopped working

Paul Gardiner lists at glidos.net
Sun Jan 29 14:18:54 CET 2012

On 28/01/2012 19:39, eolinwen at gmail.com wrote:
> Just a last word. What is the good command line (this one which is working
> now) ? I am sure that people who could see later this thread will be happy
> to see the final solution.

Good point. Here is the working version of the command.

/usr/bin/ffmpeg -f ac3 -i /tmp/mythar14168/audout -f rawvideo -top 1 
-pix_fmt yuv420p -s 1440x1088 -r 25 -i /tmp/mythar14168/vidout -threads 
2 -vf crop=1440:1080:0:0,scale=1280:720 -vcodec libx264 -preset medium 
-crf 20.0 -bufsize 25000k -maxrate 20000k -aspect 16:9 -acodec copy -ar 
48000 -f mp4 /home/public/video/Archive/Horizon - Playing God.mp4

Looking at the documentation again, it seems that actually the original
command should have worked because the default sample_rate for the
output file is supposed use the sample_rate from the corresponding
input channel, and -ar is permitted as an input specification, although
it is supposedly unnecessary other than when the input is raw.


> 2012/1/28 eolinwen at gmail.com<eolinwen at gmail.com>
>> Thanks a lot for your explanations.
>> 2012/1/28 Paul Gardiner<lists at glidos.net>
>>> On 28/01/2012 17:24, eolinwen at gmail.com wrote:
>>>> Hi,
>>>> Interesting subject (for me). I'm curious to know characteristics of your
>>>> input file.
>>>> Do you will agree to put the result of the ffmpeg information command
>>>> here
>>>> (i.e ffmpeg -i mythar4336) ?
>>>> Thanks.
>>> I use MythTv for a home entertainment system. It includes a program
>>> called mythtranscode which can transcode recorded programs while
>>> top and tailing plus removing adverts. One way in which mythtranscode
>>> can work is to output raw audio and video to a pair of pipes, so
>>> that some other program (such as ffmpeg) can be used for the
>>> recompression. Details here: http://www.mythtv.org/wiki/**Mythtranscode<http://www.mythtv.org/wiki/Mythtranscode>
>>> Paul.
>>> ______________________________**_________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>> --
>> Olivier
>> Cenwen un elfe sur la banquise/ an elve on the ice
>> Mon blog perso  sur le multimédia, Ubuntu, Linux et OpenShot :
>> http://linuxevolution.wordpress.com/
>> Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
>> http://openshotusers.com/forum/index.php
>> Nothing is lost until the last second.
>> The family motto : When we want, we can.
>> Google+<https://plus.google.com/u/0/111472725110173916234/posts>

More information about the ffmpeg-user mailing list