* [gentoo-user] [OT] how to read movie clip duration in console?
@ 2011-11-04 21:05 Francisco Ares
2011-11-04 21:32 ` Michael Schreckenbauer
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Francisco Ares @ 2011-11-04 21:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 623 bytes --]
Hi, All
Sorry for the OT, but Gentoo'ers are way above medium linux users.
I have a bunch of movie clips and I wanted to build a table of contents
including clip duration. Instead of opening one at a time, is there any
application that I could user for a script?
I though on mplayer, but I could not find a way for it to tell me the
duration of a clip.
Thanks
Francisco
--
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw
[-- Attachment #2: Type: text/html, Size: 691 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [OT] how to read movie clip duration in console?
2011-11-04 21:05 [gentoo-user] [OT] how to read movie clip duration in console? Francisco Ares
@ 2011-11-04 21:32 ` Michael Schreckenbauer
2011-11-04 21:38 ` Dale
2011-11-04 22:14 ` Neil Bothwick
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Michael Schreckenbauer @ 2011-11-04 21:32 UTC (permalink / raw
To: gentoo-user
Hi,
Am Freitag, 4. November 2011, 19:05:23 schrieb Francisco Ares:
> Hi, All
>
> Sorry for the OT, but Gentoo'ers are way above medium linux users.
>
> I have a bunch of movie clips and I wanted to build a table of contents
> including clip duration. Instead of opening one at a time, is there any
> application that I could user for a script?
>
> I though on mplayer, but I could not find a way for it to tell me the
> duration of a clip.
emerge exiftool
exiftool <movie> | grep "^Duration"
> Thanks
> Francisco
Best,
Michael
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [OT] how to read movie clip duration in console?
2011-11-04 21:32 ` Michael Schreckenbauer
@ 2011-11-04 21:38 ` Dale
0 siblings, 0 replies; 7+ messages in thread
From: Dale @ 2011-11-04 21:38 UTC (permalink / raw
To: gentoo-user
Michael Schreckenbauer wrote:
> Hi,
>
> Am Freitag, 4. November 2011, 19:05:23 schrieb Francisco Ares:
>> Hi, All
>>
>> Sorry for the OT, but Gentoo'ers are way above medium linux users.
>>
>> I have a bunch of movie clips and I wanted to build a table of contents
>> including clip duration. Instead of opening one at a time, is there any
>> application that I could user for a script?
>>
>> I though on mplayer, but I could not find a way for it to tell me the
>> duration of a clip.
> emerge exiftool
>
> exiftool<movie> | grep "^Duration"
>
>> Thanks
>> Francisco
> Best,
> Michael
>
>
I got to put that command in my savers file. I have always wondered
that too.
Any way to know for sure the whole movie is there without playing the
whole thing? Sometimes the end of mine gets cut off. I think one of
the sites I use has a limit and it cuts off the connection even if it is
in the middle of the show. The nerve of people. lol
Thanks. You helped two people today. ;-)
Dale
:-) :-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [OT] how to read movie clip duration in console?
2011-11-04 21:05 [gentoo-user] [OT] how to read movie clip duration in console? Francisco Ares
2011-11-04 21:32 ` Michael Schreckenbauer
@ 2011-11-04 22:14 ` Neil Bothwick
2011-11-04 22:25 ` Paul Hartman
2011-11-05 0:10 ` Mark Knecht
3 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2011-11-04 22:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
On Fri, 4 Nov 2011 19:05:23 -0200, Francisco Ares wrote:
> I have a bunch of movie clips and I wanted to build a table of contents
> including clip duration. Instead of opening one at a time, is there any
> application that I could user for a script?
>
> I though on mplayer, but I could not find a way for it to tell me the
> duration of a clip.
midentify, distributed with mplayer
midentify filename | grep LENGTH
It's a wrapper script for mplayer, so it works with any format that
mplayer can play.
--
Neil Bothwick
WinErr 013: Unexpected error - Huh ?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [OT] how to read movie clip duration in console?
2011-11-04 21:05 [gentoo-user] [OT] how to read movie clip duration in console? Francisco Ares
2011-11-04 21:32 ` Michael Schreckenbauer
2011-11-04 22:14 ` Neil Bothwick
@ 2011-11-04 22:25 ` Paul Hartman
2011-11-04 23:08 ` Francisco Ares
2011-11-05 0:10 ` Mark Knecht
3 siblings, 1 reply; 7+ messages in thread
From: Paul Hartman @ 2011-11-04 22:25 UTC (permalink / raw
To: gentoo-user
On Fri, Nov 4, 2011 at 4:05 PM, Francisco Ares <frares@gmail.com> wrote:
> Hi, All
>
> Sorry for the OT, but Gentoo'ers are way above medium linux users.
>
> I have a bunch of movie clips and I wanted to build a table of contents
> including clip duration. Instead of opening one at a time, is there any
> application that I could user for a script?
>
> I though on mplayer, but I could not find a way for it to tell me the
> duration of a clip.
The media-video/mediainfo package provides this info and more. It can
also output the info in XML which might be useful to you if you're
building a database of your movie info.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [OT] how to read movie clip duration in console?
2011-11-04 22:25 ` Paul Hartman
@ 2011-11-04 23:08 ` Francisco Ares
0 siblings, 0 replies; 7+ messages in thread
From: Francisco Ares @ 2011-11-04 23:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
Thanks a lot to all, It is very interesting, 3 excellent options already.
Francisco
On Fri, Nov 4, 2011 at 8:25 PM, Paul Hartman
<paul.hartman+gentoo@gmail.com>wrote:
> On Fri, Nov 4, 2011 at 4:05 PM, Francisco Ares <frares@gmail.com> wrote:
> > Hi, All
> >
> > Sorry for the OT, but Gentoo'ers are way above medium linux users.
> >
> > I have a bunch of movie clips and I wanted to build a table of contents
> > including clip duration. Instead of opening one at a time, is there any
> > application that I could user for a script?
> >
> > I though on mplayer, but I could not find a way for it to tell me the
> > duration of a clip.
>
> The media-video/mediainfo package provides this info and more. It can
> also output the info in XML which might be useful to you if you're
> building a database of your movie info.
>
>
--
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw
[-- Attachment #2: Type: text/html, Size: 1550 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [OT] how to read movie clip duration in console?
2011-11-04 21:05 [gentoo-user] [OT] how to read movie clip duration in console? Francisco Ares
` (2 preceding siblings ...)
2011-11-04 22:25 ` Paul Hartman
@ 2011-11-05 0:10 ` Mark Knecht
3 siblings, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2011-11-05 0:10 UTC (permalink / raw
To: gentoo-user
On Fri, Nov 4, 2011 at 2:05 PM, Francisco Ares <frares@gmail.com> wrote:
> Hi, All
>
> Sorry for the OT, but Gentoo'ers are way above medium linux users.
>
> I have a bunch of movie clips and I wanted to build a table of contents
> including clip duration. Instead of opening one at a time, is there any
> application that I could user for a script?
>
> I though on mplayer, but I could not find a way for it to tell me the
> duration of a clip.
>
> Thanks
> Francisco
> --
> "If you have an apple and I have an apple and we exchange apples then you
> and I will still each have one apple. But if you have an idea and I have one
> idea and we exchange these ideas, then each of us will have two ideas." -
> George Bernard Shaw
>
Another possibility, assuming you have ffmpeg installed, is
ffmpeg -i FILE
and then look at the Duration field.
- Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-11-05 0:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 21:05 [gentoo-user] [OT] how to read movie clip duration in console? Francisco Ares
2011-11-04 21:32 ` Michael Schreckenbauer
2011-11-04 21:38 ` Dale
2011-11-04 22:14 ` Neil Bothwick
2011-11-04 22:25 ` Paul Hartman
2011-11-04 23:08 ` Francisco Ares
2011-11-05 0:10 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox