back

cases

The in format can of course be named other than ".mov", for example .pano, .swf…
If the ffmpeg info shows that the biggest stream is in a "mjpeg" jpg, format,
try in this order, the first should give you the best files:
ffmpeg -i in.mov -c:v copy -bsf:v mjpeg2jpeg div/%02d.jpg
ffmpeg -i in.mov -c:v copy div/%02d.jpg
ffmpeg -i in.mov div/%02d.jpg

You might at first just get a black/white preview file, then try to find the right stream, and start from the top again:
ffmpeg -i in.mov -map 0:1 -c:v copy -bsf:v mjpeg2jpeg div/%02d.jpg
ffmpeg -i in.mov -map 0:1 -c:v copy div/%02d.jpg
ffmpeg -i in.mov -map 0:1 div/%02d.jpg

If they are not in "mjpeg" format try:
ffmpeg -i in.mov -c:v copy div/%02d.jpg
ffmpeg -i in.mov div/%02d.jpg (or .tif, .png)
and "-map 0:3" or whatever stream.

If ffmpeg find more than one stream of the same size, use "-map 0:12" (or whatever stream number) so it can give you the stream(s) you want, else it might not give you any output at all:
ffmpeg -i gundvr.mov -map 0:12 -c:v copy -bsf:v mjpeg2jpeg div/12/%02d.jpg
ffmpeg -i gundvr.mov -map 0:13 -c:v copy -bsf:v mjpeg2jpeg div/13/%02d.jpg
ffmpeg -i gundvr.mov -map 0:14 -c:v copy -bsf:v mjpeg2jpeg div/14/%02d.jpg
ffmpeg -i gundvr.mov -map 0:15 -c:v copy -bsf:v mjpeg2jpeg div/15/%02d.jpg
ffmpeg -i gundvr.mov -map 0:16 -c:v copy -bsf:v mjpeg2jpeg div/16/%02d.jpg
(example was encoded with LiveStage Pro, 2000) "Gunnebo castle 2001"

Look into the folder with the produced images to check the number of files (sometimes the info is not enough) so you can set the number of tiles: tile=1x24, tile=5x5, tile=6x1 etc.

If the produced images are in varying sizes, you set up differently, see: "4. more on spherical panoramas"

back