Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Show only middle section of video?

1 reply [Last post]

Hi, I'm using JW player 4.3 with rtmp streaming videos and I was wondering if there's some way to "point" the player so it only shows a middle section of the video.

For example, if I have a 10 minute video, only make the player show 0-30 seconds but have that 0 time really be minute 5 in the video? So it's showing 5:00-5:30 but to the user it looks like 0:00-0:30??

I know you can do this with the very start of a video by setting duration = 30, but then that just shows the start, I do not know how to have duration=30 but have the beginning of that duration be something other than 0? Like a cropstart thing in mplayer...?

Thanks!!

You have to chop the video with a video editor or else serve it with ffmpeg.

If you use:

start=300
duration=30
respectduration=true

The first 300 seconds of the video will still show in the timeline and the user will be able to scrub to any time in the entire 600 seconds.