[FFmpeg-user] High Quality WEBM

jd1008 jd1008 at gmail.com
Tue Dec 22 21:36:52 CET 2015



On 12/22/2015 01:18 PM, Reindl Harald wrote:
>
>
> Am 22.12.2015 um 21:10 schrieb jd1008:
>>
>>
>> On 12/22/2015 12:46 PM, Reindl Harald wrote:
>>>
>>>
>>> Am 22.12.2015 um 20:41 schrieb jd1008:
>>>> On 12/22/2015 12:32 PM, Reindl Harald wrote:
>>>>>> I would like to add
>>>>>>
>>>>>> -s '1920x1080'
>>>>>
>>>>> how does 1920x1080 makes sense when your destination size is 320x180?
>>>>>
>>>>>
>>>> So, would changing
>>>>
>>>> -vf 'scale=320:176,setdar=16/9,pad=320:180:0:2:000000'
>>>> to
>>>> -vf 'scale=1920:1080'
>>>>
>>>> be enough to get full HD resolution, or would that make the image lose
>>>> clarity, definition and sharpness??
>>>
>>> yes, if the inout format is Ok
>>>
>>> "-vf 'scale=320:176,setdar=16/9,pad=320:180" make black borders on the
>>> correct sides and si calculated by the script generating the
>>> ffmoeg-call because to have exactly 320x180 on a website from the
>>> input file used you need them
>> Sorry Reindl, I lost you.
>> Do I understand I still need to provide the input scale, of "-vf
>> 'scale=320:176,setdar=16/9,pad=320:180" ...
>
> why would you need to provide the input sclase
>
>> and for output provide -vf 'scale=1920:1080' ?
>>
>> Really confused now.
>
> about what?
>
>> I have a vid that is of lower scale and need to expand it to 1920x1080
>> and hopefully not ruin the definition, sharpness ... etc too much.
>> Video input is (per ffplay):
>> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
>> 640x360 [SAR 1:1 DAR 16:9], 278 kb/s, 29.97 fps, 29.97 tbr, 90k tbn,
>> 59.94 tbc (default)
>>
>> and mplayer reports:
>> VIDEO:  [H264]  640x360  24bpp  29.970 fps  278.1 kbps (33.9 kbyte/s)
>>
>> So I would obviously need to increase the bitrate but not sure to what,
>> nor am I sure if I need to specify what the input 'vf' values are and
>> then provide the output vf values
>
> you just need to play around with the bitrate
> especially when you upsacle
> -vf is *not* about the bitrate
>
> step back to my first response and look at the other params too
I read it and it does not answer my questions :( :(

And I think you are NOT helping anyone by your replies :(



More information about the ffmpeg-user mailing list