[MPlayer-users] Apple trailers and dumpstream

Heine Laursen zannvip at gmail.com
Fri Nov 24 09:01:30 CET 2006


2006/11/23, Jeremy Hansen <jebrhansen at gmail.com>:
> I don't know about a shortcut but it would be easy to create a script...
>
> mplayer -v http://some_trailer.mov
> grep filename
> mplayer -dumpstream `awk '{print $2}'`

Thank you for your suggestion. I didn't think about scripting.
I came up with the following which works for me.

#!/bin/sh

URL=`mplayer -v -frames 0 $@ |grep Filename|awk '{print $6}'|tail -n 1`
mplayer -dumpstream $URL



More information about the MPlayer-users mailing list