WMV/MP4 ClipVideoLocation Issue

55 views
Skip to first unread message

Krishna Rao Veeramachaneni

unread,
Jul 29, 2013, 5:09:37 AM7/29/13
to granicus-...@googlegroups.com
Hi Team,

By Meaning of below code, I can able to get the filename but not real path

Programming Language : JAVA
Code Snippet:
                                          ClipData[] clipdata = client.getClips(1020);
                   for (ClipData clipDataObject : clipdata) {
                System.out.println("ID"+clipDataObject.getID());
               System.out.println("FileName"+clipDataObject.getFileName());
                System.out.println("-CL--"+client.getClipVideoLocation(clipDataObject.getID()));
                     }

OUTPUT:

ID: 824
FileName : beverlyhills_318c429a-cbbb-47f7-96c8-89784fac1ee6.wmv


Problem: I'm unable to clip @ QuickTimePlayer.(Player unable to identify the .ASX Format) 
if you can provide the wmv/mp4 file real path we can play video directly in Player.


Javier Muniz

unread,
Jul 29, 2013, 1:17:35 PM7/29/13
to granicus-...@googlegroups.com
Hi Krishna,

Your use case might be better served by the Search API, that API is located at http://search.granicus.com/api and the docs are at http://search.granicus.com/help/api 

Please give that a shot and let me know if you have any questions.

-javier

From: granicus-...@googlegroups.com [granicus-...@googlegroups.com] on behalf of Krishna Rao Veeramachaneni [krishnara...@gmail.com]
Sent: Monday, July 29, 2013 2:09 AM
To: granicus-...@googlegroups.com
Subject: WMV/MP4 ClipVideoLocation Issue

--
You received this message because you are subscribed to the Google Groups "Granicus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to granicus-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Krishna Rao Veeramachaneni

unread,
Jul 29, 2013, 4:07:51 PM7/29/13
to granicus-...@googlegroups.com
Dear Javier,

Glad to see your post. As per your post, I'm tried to execute below statement


 Also, I'm crosschecked with below list of videos from Granicus


OUTPUT: When I'm comparing both, i can see only few results are similar and too less content @ search API.(http://search.granicus.com/api/beverlyhills.granicus.com/_search?name=Architectural Commission&type=video)

But i can see long list of videos @ ViewPublisher Page (http://beverlyhills.granicus.com/ViewPublisher.php?view_id=28)

Kindly let me know if i'm done something wrong here?

Thanks in advance javier.

// Krishna

Javier Muniz

unread,
Jul 29, 2013, 5:48:52 PM7/29/13
to granicus-...@googlegroups.com
Hi Krishna,

Try the following: 


notice that I told the system to fetch 1000 rows. You probably don't want to do this in, say, a mobile app, and instead want to use pagination (you can see the elasticsearch.org documentation for more info on that). I also changed your query to use q=name:<name> instead of name=<name> which is the proper query syntax. 

-javier

Sent: Monday, July 29, 2013 1:07 PM
To: granicus-...@googlegroups.com
Subject: Re: WMV/MP4 ClipVideoLocation Issue

Reply all
Reply to author
Forward
0 new messages