You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Player stops before video is done Created May 31, 2010

This thread is solved

Views: 1906     Replies: 7     Last reply Aug 8, 2011  
You must login first before you can use this feature

pstrand

Posts: 4

Registered:
May 27, 2010

Player stops before video is done

Posted: May 31, 2010

We are having an issue with some video files, that stops before they should. One example is here :

https://lab6.soonr.com/share/fang/case-23354.avi

This video is 36 seconds long, but stalls around 23 seconds - this happens on Mac, Ubuntu and windows, across all browser types.
If you download the original file, it plays fine.
To play in flowplayer, it was converted using FFMPEG - we used these parameters :
-vb 500000 -ar 22050 -f flv

I tried upgrading flowplayer to the latest version, but that did not help.

When looking at console output, there is no smoke.
So I am stalled here - any ideas to what can be wrong ?

thanks,
Peter

Anssi
Flowplayer Flash & video streaming developer

Posts: 1194

Registered:
Jul 24, 2007

» Player stops before video is done

Posted: May 31, 2010

Reply to: Player stops before video is done, from pstrand
Sounds like an encoding issue. You can try encoding your video using our setup tool.

pstrand

Posts: 4

Registered:
May 27, 2010

» » Player stops before video is done

Posted: May 31, 2010

Reply to: » Player stops before video is done, from Anssi
Anssi,

thanks for the reply.
I tried to use the setup tool - but I can not create a setup. Do i need a commercial license to do that?

I have tried a lot of different encoding parameters when converting with FFMPEG ( I am by no means an expert ), and all of these produce output that fails around seconds 23 to 25. The video plays flawlessly in other players ( mplayer etc ).
Are you aware of any FFMPEG specific settings to use or avoid ?

thanks,
Peter

pstrand

Posts: 4

Registered:
May 27, 2010

» » Player stops before video is done

Posted: Jun 7, 2010

Reply to: » Player stops before video is done, from Anssi
Do I need to purchase a commercial licence to be able to get you to investigate this issue in more detail ? I doubt that it is an encoding issue, as the converted flv file plays well in other players

Edge
Vizmu Media ------------------- http://vizmu.com/

Posts: 576

Registered:
Nov 29, 2008

» Player stops before video is done

Posted: Jun 7, 2010

Reply to: Player stops before video is done, from pstrand
Out of curiosity how many keyframes are you using via the ffmpeg encoding command line?

With ffmpeg the command would be -g

pstrand

Posts: 4

Registered:
May 27, 2010

» » Player stops before video is done

Posted: Jun 8, 2010

Reply to: » Player stops before video is done, from edge
ok, I spent some time with the settings for FFMPEG. I tried converting to mp4 instead of flv, and that gave me a working video - in better quality.

If anyone should be interested, this is the ffmpeg parameters I used :

-crf 15 -vcodec libx264 -acodec libfaac -ab 128k -ac 2 -b 256000 -flags +loop -cmp +chroma -partitions 0 -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -level 30 -f mp4