Opened 14 years ago

Closed 14 years ago

#7668 closed defect (fixed)

ffmpeg errors with nuvexport on Ubuntu 9.10

Reported by: brian@… Owned by: beirdo
Priority: minor Milestone: 0.24
Component: Apps - Nuvexport Version: 0.22
Severity: medium Keywords:
Cc: Ticket locked: yes

Description

nuvexport on 0.22 seems to be creating ffmpeg command lines incompatible with Ubuntu 9.10's version of ffmpeg. Witness:

$ /usr/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_10411/audout -f rawvideo -pix_fmt yuv420p -s 720x480 -aspect 1.33333333333333 -r 29.970 -i /tmp/fifodir_10411/vidout -aspect 1.33333333333333 -r 29.970 -deinterlace -s 320x240  -vcodec mpeg4 -b '960k' -lumi_mask 0.05 -dark_mask 0.02 -scplx_mask 0.5 -mv4 -part -vtag divx -acodec libmp3lame  -ab '64k' -f avi '/video/tmp/The Office - The Job, Part 1.avi' 2>&1
FFmpeg 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:15:16, gcc: 4.4.1
Input #0, s16le, from '/tmp/fifodir_10411/audout':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Input #1, rawvideo, from '/tmp/fifodir_10411/vidout':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #1.0: Video: rawvideo, yuv420p, 720x480, 29.97 tbr, 29.97 tbn, 29.97 tbc
Invalid value '-part' for option 'mv4'

Since I don't better, I remove the -mv4 argument:

brian@pc:~$ /usr/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_10411/audout -f rawvideo -pix_fmt yuv420p -s 720x480 -aspect 1.33333333333333 -r 29.970 -i /tmp/fifodir_10411/vidout -aspect 1.33333333333333 -r 29.970 -deinterlace -s 320x240  -vcodec mpeg4 -b '960k' -lumi_mask 0.05 -dark_mask 0.02 -scplx_mask 0.5 -part -vtag divx -acodec libmp3lame  -ab '64k' -f avi '/video/tmp/The Office - The Job, Part 1.avi' 2>&1
FFmpeg 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:15:16, gcc: 4.4.1
Input #0, s16le, from '/tmp/fifodir_10411/audout':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Input #1, rawvideo, from '/tmp/fifodir_10411/vidout':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #1.0: Video: rawvideo, yuv420p, 720x480, 29.97 tbr, 29.97 tbn, 29.97 tbc
Invalid value '-vtag' for option 'part'

And again, not knowing any better, I remove the -part option which allows ffmpeg to progress to encoding. But with who knows what results given those missing instructions to ffmpeg.

Change History (7)

comment:1 Changed 14 years ago by malcolm@…

I am also seeing this problem. Is there a work around?

comment:2 Changed 14 years ago by robertm

Ticket locked: set

We don't need "me too"s and this isn't a help forum.

comment:3 Changed 14 years ago by sphery

Component: Contributed Scripts & AppsApps - Nuvexport
Owner: changed from sphery to xris
Priority: majorminor
Status: newassigned

comment:4 Changed 14 years ago by beirdo

Owner: changed from xris to beirdo

comment:5 Changed 14 years ago by beirdo

I have a fix for this awaiting confirmation from someone not using ubuntu so that I don't break things for others in the process of fixing this.

comment:6 Changed 14 years ago by beirdo

Milestone: unknown0.24

comment:7 Changed 14 years ago by beirdo

Resolution: fixed
Status: assignedclosed

(In [25429]) Updates to most of the nuvexport exporters.

Tested to work fine on ubuntu 10.04, using mencoder and libavcodec-extra-52 from medibuntu repos.

Fixes #7668. Fixes #8472.

Note: See TracTickets for help on using tickets.