[FFmpeg-user] Question about rendering and photo dimensions.
Paul B Mahol
onemda at gmail.com
Thu Nov 1 14:24:15 EET 2018
On 11/1/18, Hwaen Ch'uqi <hwaenchuqi at gmail.com> wrote:
> Greetings Carl and Paul,
>
> Thank you both for your advice. Paul, can you demonstrate how exactly
> to use the loop video filter? I have tried:
>
> ffmpeg -i FILE.jpg -i FILE.mp3 -vf loop=loop=1 FILE.mp4
>
> The result is audio with a black screen rather than with an image. I
> clearly have not understood the filter guide.
>
> Thank you in advance,
Sorry, I'm not doing somebody else homework, you need to read
carefully documentation.
Also full uncut FFmpeg output missing.
>
> Hwaen Ch'uqi
>
>
> On 10/31/18, Paul B Mahol <onemda at gmail.com> wrote:
>> On 10/30/18, Hwaen Ch'uqi <hwaenchuqi at gmail.com> wrote:
>>> Greetings All,
>>>
>>> I am a newbie to ffmpeg and am quite impressed at the program's
>>> capabilities. For the moment, I am simply combining an audio file with
>>> a single still image to create an mp4 file. I am using this command:
>>>
>>> ffmpeg -loop 1 -i FILE.jpg -i FILE.mp3 -c:v libx264 -c:a aac -strict
>>> experimental -b:a 192k -shortest FILE.mp4
>>>
>>> From what I can tell, it appears that picture files with smaller
>>> dimensions - 2960x2640, for example - render quite easily, whereas
>>> something like 4910x6054 causes the rendering to slow tremendously,
>>> even to the point of hanging/crashing my computer! Has this something
>>> to do with libx264 presets? What can I do to anticipate which picture
>>> files will have this undesired effect? Are there flags that I can call
>>> to help with these sizes? Any help would be appreciated!
>>
>> There is loop video filter, use it.
>> Your command above will decode input image, over and over again,
>> with loop video filter image is decoded only once and reused during loop.
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list