From a dlv movie to a web page movie

  • install the package mpgtx, which includes the command mpgjoin
  • install the program ffmpeg

  • Once all the parts of the movies have been generated, for instance:
    1.mpg 2.mpg 3.mpg

    they can be concatenated in one file with the following command:
    mpgjoin 1.mpg 2.mpg 3.mpg

    the file chunck.mpg will be generated.

    The file has to be converted in a proper format that allows a progressive download on the net;
    the following command can be used:
    ffmpeg -i chunck.mpg -sameq chunck.swf

    The preview image can be generated by executing the command
    ffmpeg -i chunck.mpg -t .001 -an -sameq -f mjpeg preview.jpg

    Finally, the following lines can be inserted in your html web page
    in order to display the movie
    <object type="application/x-shockwave-flash"
    width=600 height=624
    data="flvplayer.swf?image=preview.jpg&file=chunck.swf &autostart=false&loop=false">
    <param name="movie" value="flvplayer.swf?image=preview.jpg
    <param name="wmode" value="transparent" />

    The text in bold has to be modified as required by your movie.
    The flvplayer.swf is a player that can be downloaded from the web page of Jeroen Wijering, and it can be used under a Creative Commons License; the file flvplayer.swf has to be copied in the directory of your page.