[FFmpeg-user] make a video from 1000 txt file
Spencer Graves
spencer.graves at prodsyse.com
Wed Mar 12 23:18:04 CET 2014
On 3/11/2014 7:13 AM, Pál Levente wrote:
> I forget to say I use debian.
>
>
> 2014-03-11 15:09 GMT+01:00 Pál Levente <pallevi93 at gmail.com>:
>
>> Hello!
>> I have 1000 txt file with each one have 300 lines and 3 columns with
>> numbers. I want make a video, with graph the first and the second column (x
>> an y axis)(with gnuplot). And start with the first txt and make steps while
>> reach the last txt.
>> I searched on it, but I not really find anything. If i found something
>> it's not work.
>> So can somebody give me a hand?
>> Thanks
>> Levi
This can be done in two steps:
CORRECTION:
1. Convert the text files to graphics, e.g., plot1.png,
plot2.png, ... plot9.png, plot10.png, ..., plot300.png. For this I
routinely use R (r-project.org). [An experiment with plot01.png, ...
plot15.png failed, but plot1.png, ..., plot9.png,plot10.png, ...,
plot15.png worked.]
2. "ffmpeg -y -r 300 -i plot%d.png -b 300k -pix_fmt
yuv420p tst.mp4". This was discussed in a recent thread I initiated on
"Windows Media Player cannot play the file"
(http://ffmpeg.org/pipermail/ffmpeg-user/2014-March/subject.html). The
first email on this thread included 3 png files that were successfully
combined using a version of this command in the seventh email in this
thread.
Hope this helps.
Spencer
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list