creating a new plugin

Mostrando 1 a 6 de 6 registros

2012-10-11 01:10:10
Jay Lee

Hi

I'm creating a new plugin but I couldn't find any documentation about "Video offset variable".

From various tests, I came to a conclusion that "Range base only" is byte position and "Range base offset" is byte range like 0-1000000. Please correct me if I'm wrong.

However I couldn't figure out how to specify when a URL has two offsets. Below is an example, "start" variable indicates start position and "length" variable specifying number of bytes.

Can anyone please help me here?

"Google Translation"

Estou criando um novo plugin, mas eu não poderia encontrar qualquer documentação sobre a "variável vídeo compensar".

De vários testes, cheguei a uma conclusão de que "a base Gama só" é a posição de byte e "base Faixa de compensação" é intervalo de byte como 0-1000000. Por favor me corrija se eu estiver errado.

No entanto, eu não conseguia descobrir como especificar quando um URL tem dois deslocamentos. Abaixo está um exemplo, "start" variável indica a posição de início e "comprimento" variável especificando o número de bytes.

Alguém por favor pode me ajudar aqui?

================================

GET /f4v/43/154231943.h264_1.f4v?81000&key=24a07a5e31acd7eb8a37e15074d6e6004038675184&playtype=1&tk=155012678729683985660045070&brt=2&bc=0&nt=0&du=1936470&ispid=800615&rc=207&inf=1&si=sp&npc=786&pp=2&ul=2&mt=0&sid=81000&rid=0&rst=0&au=0&id=tudou&itemid=118067257&fi=154231943&sz=61462857&posky=OcxdQdI4IUtOVzSUZ8LYDySdYS3HYI&plybgn=1&start=0&length=819200 HTTP/1.1 Host: 221.9.253.11 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-gb,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Referer: http://www.tudou.com/v/wxCmJB049yo

HTTP/1.0 200 OK Server: nginx/0.7.60 Content-Type: video/f4v Content-Length: 819200 Connection: keep-alive

================================

2012-10-11 22:36:47
Alexandre

Reply  

Hi Jay Lee! I am not expert in create plugins but I have some ideas.
For everyone to help you, please post the web site that you are interested to make the plugin and what it is for. Videos? I believe it is for videos because I went there to see.

Please sniff the connection for us and send it. Attach a copy of your plugin if you have one already.

2012-10-12 02:06:34
Guilherme Alves
Developer
Reply  

Jay, i think we will need some modds on our current video-range matching engine. In your case, you have one url encoded var for BASE and other url encoded var for OFFSET.

Is that correct? If so, we will need some time to work on this code (backend code and frontend exposure of new resource).

The information requested by Alexandre should also be helpful.

PS: Our support guys forwarded me you support ticket, but this maybe of interest of some other foreign users. Is it ok for you if we keep it up here, on our forum?

2012-10-16 04:36:26
Jay Lee

Reply  

Thank you all for your response. The site is www.tudou.com which is one of most popular video sharing site in China as far as I know. I can upload the sniff file but it's better for you to directly access the video as it's quite big.

Example video: http://www.tudou.com/programs/view/tc2azsIb4lI/

When video starts it may play advertisement that's about 30 seconds long then it fetches the video like below.

http://218.26.241.101/f4v/38/154741838.h264_1.f4v?81000&key=52b655f4b53c4a8711cd3a507d0c3200406079f8ac&playtype=1&tk=144204072609349007860141171&brt=2&bc=0&nt=0&du=1988530&ispid=800615&rc=200&inf=1&si=sp&npc=2702&pp=2&ul=2&mt=0&sid=81000&rid=0&rst=0&au=0&id=tudou&itemid=119297987&fi=154741838&sz=63099265&posky=EUnMlg9NR7MiXIxsFdH8X25ewfB95E&plybgn=1&start=0&length=204800

Directory path and file name is constant so I used "tudou.video/|r_url_path|" for url normalization. The _1 before the file extension is video quality and it often has other numbers. All other variables aren't important except for start and length which is important for video seeking. If you could implement this that would be really great. If you need more information please let me know.

2012-10-16 15:31:33
Guilherme Alves
Developer
Reply  

Is this length unit defined in bytes? seconds? kbytes?

Can you check this variables against adverted content length on http headers of response?

Are the video metadata being corrected interpreted by video sampling layers?

When you check at video meta, can you see a consistent duration, as seen by the player?

2012-10-17 01:26:33
Jay Lee

Reply  

It's in bytes. Request URL's length variable and Content-Length header of 200 response are both same. I'm not sure how the player interacts with video metadata. Attached is metadata details of a tudou.com video using flvtool2.

2012-10-17 19:00:00
Guilherme Alves
Developer
Reply  

Jay, look at video meta report inside speedr. It will also decode metadata when it sees video media, will identify what type of media it is seeing and will parse metadata acordingly.

Take a look if its internal video metadata sampler is decoding metada correctly. You can tell that if duration and bitrate are showing OK at Video Meta inside your speedr.

Mostrando 1 a 6 de 6 registros

To reply this post or create new ones you must login

Forgot Password?

*emphasis   **more emphasis**

(4 spaces)code

> quote

* List item
* Another list item

1. Ordered list item
2. Other ordered list item

# Fist level title (##, ###, ####)

[Link's Text](http://address.com)