[FFmpeg-user] Please can someone tell me why this ffmpeg command stopped working
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:
>>>> 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
>>>> (i.e ffmpeg -i mythar4336) ?
>>> 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>
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>> Cenwen un elfe sur la banquise/ an elve on the ice
>> Mon blog perso sur le multimédia, Ubuntu, Linux et OpenShot :
>> Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
>> Nothing is lost until the last second.
>> The family motto : When we want, we can.
More information about the ffmpeg-user