can anyone tell me how to write ffmpeg output into text file in windows
4,437 views
Skip to first unread message
xhe
unread,
Jun 6, 2008, 10:36:53 PM6/6/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmpeg-php
I want to run this one in windows:
ffmpeg -i filename > test.txt
because I want to parse the output and find out movie dimension.
If I use ffmepg -i filename 2>test.txt, it can accurately output in
linux. But in windows, the output file is empty.
Can anyone tell me how to use ffmpeg redirect in windows to write
output into a text file?
Thanks
fayazmiraz
unread,
Jun 8, 2008, 4:05:41 AM6/8/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmpeg-php
Hi,
I actually always got output with the command: "ffmepg -i filename
2>test.txt" in winxp.
may be your test.txt was not writable.
OR,
You can try to output both STDOUT and STDERR
"ffmepg -i filename 1>test1.txt 2>test2.txt"
fayazmiraz
unread,
Jun 8, 2008, 4:38:36 AM6/8/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmpeg-php
oops, *ffmpeg
xhe
unread,
Jun 8, 2008, 10:59:58 AM6/8/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmpeg-php
great! Thanks.
I see orginally I only used ffmepg -i filename > test.txt
checked all the documents for widnows redirect, they never mentioned
about using 2>test.txt