Hi Georg,

Georg Martius wrote:
Hi Pablo,

On Sunday 27 December 2009, Pablo d'Angelo wrote:
Hi Georg,

Georg Martius wrote:
Hi Pablo,

Can you try whether ffmpeg works with the video?
E.g.:
ffmpeg -i DSC_0103.AVI -sameq -vcodec mpeg4 -acodec copy  test.avi;

That does fail, too:
--------------------------------------
$ ffmpeg -i DSC_0103.AVI -sameq -vcodec mpeg4 -acodec copy test.aviFFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --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 Oct 13 2009 22:35:00, gcc: 4.4.1
Input #0, avi, from 'DSC_0103.AVI':
  Duration: 00:01:22.00, start: 0.000000, bitrate: 21001 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, 24 tbr, 24 tbn, 24 tbc
    Stream #0.1: Audio: pcm_s16le, 11025 Hz, mono, s16, 176 kb/s
Output #0, avi, to 'test.avi':
Stream #0.0: Video: mpeg4, yuv420p, 1280x720, q=2-31, 200 kb/s, 90k tbn, 24 tbc
    Stream #0.1: Audio: pcm_s16le, 11025 Hz, mono, s16, 176 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg4 @ 0xec1730]timebase not supported by mpeg 4 standard
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
--------------------------------------------

I will try with a newer version of ffmpeg.

Another option is to use the mplayer input module for transcode
transcode -J preview -i DSC_0103.AVI -x mplayer,null -y null,null -o dummy
The preview should display the movie correctly (maybe to fast though).

That works somehow, but the colors are also messed up (looks like red and blue are swapped).

ciao
  Pablo

Reply via email to