Exporting video fails

Bug #200440 reported by Jaroslaw Lipszyc
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
stopmotion (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: stopmotion

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy

STOPMOTION: 0.6.0-1

Expected: I can export video using ffmpeg

Happened: I/O error

Message:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Jun 3 2007 20:59:25, gcc: 4.1.3 20070528 (prerelease) (Ubuntu 4.1.2-9ubuntu2)
/home/rekrutacja/.stopmotion/packer/henio/images/%06d.jpg: I/O error occured
Usually that means that input file is truncated and/or corrupted.

Pictures used in my video are just example Ubuntu logos provided with my system. Stopmotion and ffmpeg are installed from default repos.

Revision history for this message
Marc Gariépy (mgariepy) wrote :

I've been testing this application on intrepid 64-bit and it doesn't work,

When there is a jpg file in the frame, there is a video output of this frame but all the other picture are dropped..

I have been trying the upstream version too and it doesn't work better then the one in ubuntu.

This program should be able to deal with any file format that it let you import, so we could make a video of png and jpg files.

Since it copy all the files into the same directory it should be able to convert them to a format that the encoder support.

Daniel T Chen (crimsun)
Changed in stopmotion:
status: New → Confirmed
Revision history for this message
Tiefflieger (tiefflieger) wrote :

The problem occured on my system, too.
Intrepid 64, I was trying to use some (single-image) gifs to create a movie

Revision history for this message
komputes (komputes) wrote :

I get the following error when trying to export to video with stopmotion 0.6.2-1. I can still export the frames, but no video.

FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Apr 10 2009 23:18:41, gcc: 4.3.3
Input #0, image2, from '/home/komputes/.stopmotion/packer/ucda/images/%06d.jpg':
  Duration: 00:00:00.60, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], 10 tbr, 10 tbn, 10 tbc
Unable to find a suitable output format for '/home/komputes/ubuntu_cd_anim/ucda'

Revision history for this message
doudoulolita (doudou-lolita) wrote :

Ubuntu studio Jaunty
With choice of ffmpeg as encoder and mpeg4 this is the error message:

FFmpeg version 0.5-svn+3:0.svn20090303-1ubuntu6+patch~ppa3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn+3:0.svn20090303-1ubuntu6+patch~ppa3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libxvid --enable-libmp3lame --enable-libfaac --enable-libx264 --enable-libdc1394 --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Jul 11 2009 13:10:42, gcc: 4.3.3
/home/laurence/.stopmotion/packer/mannequin-oscar/images/%06d.jpg: I/O error occurred
Usually that means that input file is truncated and/or corrupted.

After installation of mencoder and changing my choice to mpeg2, new error message:

MEncoder 2:1.0~rc2-0ubuntu19 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 16 data: 0x0 - 0x0
MF file format detected.
[mf] search expr: /home/laurence/.stopmotion/packer/mannequin-oscar/images/*.jpg

Exiting...

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

I wrote .avi at the end of the name of the file, and tried other extensions, but no way.

Revision history for this message
doudoulolita (doudou-lolita) wrote :

My problem with mencoder was due to the extension: JPG instead of jpg. So I added a new configuration for the export:

mencoder -ovc lavc -lavcopts vcodec=msmpeg4v2:vpass=1:$opt -mf type=jpg:fps=8 -o "$VIDEOFILE" "mf://$IMAGEPATH/*.JPG"

But it doesn't work with FFmpeg, sorry !

Revision history for this message
paulpoco (pjb-telus) wrote :

Still not compatible with Raspian Jessie Pixel.

mencoder not installable
aconv was missing.

Cannot export video so half of program is useless.
So without working eport

Revision history for this message
paulpoco (pjb-telus) wrote :

Good getting your kids to use this program on the Raspberry Pi when they cannot export their video.

The original dev forked stopmotion to qStopmotion, so maybe Raspian needs qStopmotion in the Repositories? The dev says the

Revision history for this message
paulpoco (pjb-telus) wrote :

New qStopmotion doesn't require fiddling with export settings and external encoders.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.