maindvdspanky - Support: sr #105894, Multiplex stage fails, ffmpeg...

 
 

sr #105894: Multiplex stage fails, ffmpeg "unsupported codec"

Submitter:  Maarten Boekhold <boekhold>
Submitted:  Thu 14 Jun 2007 08:37:01 AM UTC
   
 
Priority:  5 - Normal Severity:  3 - Normal
Status:  Done Assigned to:  jgrembecki
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Jun 2007 10:12:25 AM UTC, comment #4: 

Anything is possible, but I have a version of ffmpeg which states 2006 in the version line so... I've added the "pray" patch to CVS.

Regards,

Jeff.

Jeffrey Grembecki <jgrembecki>
Group administrator
Fri 15 Jun 2007 08:34:54 AM UTC, comment #3: 

This is on Ubuntu 6.10 Edgy Eft. From the version line of ffmpeg it looks like it was compiled on Sept 20 2006. I'd assume that the ffmpeg snapshot is from around that time as well.

Maarten Boekhold <boekhold>
Fri 15 Jun 2007 12:07:42 AM UTC, comment #2: 

Ok, well it does look like a rather old version of ffmpeg (2004?) and seems ffmpeg has fixed it sometime before 2007. May I ask which distro packages that version?

The best I can do about this is to add -acodec wav before the -i switch in an attempt to force wav decoding and pray that helps. Otherwise it looks like I could be adding a FAQ soon ;-)

If you break or the program breaks before a fully completing you can continue at the second pass or multiplex by appending -2 or -M respectivly to the original command.

Thanks for the report!

Jeff.

Jeffrey Grembecki <jgrembecki>
Group administrator
Thu 14 Jun 2007 10:14:14 AM UTC, comment #1: 

Hi,

Done some searching, and came across the following link:

http://lists.mplayerhq.hu/pipermail/mplayer-users/2005-January/050582.html

It's possible that my ffmpeg version (presumably from around Sept 2006) thinks this file is an "ogg-in-avi" file (because of the Audio: 0xfffe part).

I just compiled a more recent snapshot of ffmpeg (from today in fact). I've used the following configure options:

$ ffmpeg -h
FFmpeg version SVN-r9304, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/home/boekhold/local --enable-gpl --enable-pp --enable-pthreads --enable-libvorbis --enable-libogg --enable-liba52 --enable-libgsm --enable-dc1394 --disable-debug --disable-vhook
  libavutil version: 49.4.0
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Jun 14 2007 13:47:10, gcc: 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

(had to add --disable-vhooks, otherwise it gave a compile error on Imlib2.h).

After this, running the ffmpeg command manually works. I've now started a new (full) dvdspanky -m run, so it'll take a while before I can say whether my issue is completely resolved. I'll keep you updated.

Rgds

Maarten Boekhold <boekhold>
Thu 14 Jun 2007 08:37:01 AM UTC, original submission:  

Hi,

$ dvdspanky -i XXXXXXXX.avi -s $((660*1024)) -m -a 3 -p -b -R 192 -c 6 -S
...
converting audio to AC3..

error: ffmpeg failed
$

In the log file:

dvdspanky | converting audio to AC3..
 dvdspanky | fork /usr/bin/ffmpeg,  [ffmpeg] [-i] [XXXXXXXX.wav] [-acodec] [ac3] [-ab] [192] [-ac] [6] [XXXXXXXX.ac3]
    ffmpeg | FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
    ffmpeg |   configuration:  --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
    ffmpeg |   libavutil version: 0d.49.0.0
    ffmpeg |   libavcodec version: 0d.51.11.0
    ffmpeg |   libavformat version: 0d.50.5.0
    ffmpeg |   built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906 (prerelease) (Ubuntu 4.1.1-13ubuntu2)
    ffmpeg | Input #0, wav, from 'XXXXXXXX.wav':
    ffmpeg |   Duration: 00:12:52.0, start: 0.000000, bitrate: 4607 kb/s
    ffmpeg |   Stream #0.0: Audio: 0xfffe, 48000 Hz, 5:1, 4608 kb/s
    ffmpeg | Output #0, ac3, to 'XXXXXXXX.ac3':
    ffmpeg |   Stream #0.0: Audio: ac3, 48000 Hz, 5:1, 192 kb/s
    ffmpeg | Stream mapping:
    ffmpeg |   Stream #0.0 -> #0.0
    ffmpeg | Unsupported codec (id=0) for input stream #0.0
 dvdspanky |
 dvdspanky | error: ffmpeg failed

mplayer -identify XXXXXXXX.wav says :
ID_AUDIO_CODEC=pcm
ID_AUDIO_FORMAT=65534
ID_AUDIO_BITRATE=4608000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
ID_LENGTH=772.00


But: $ ffmpeg -formats | grep wav
...
 DE wav             wav format
 DEA    adpcm_ima_wav

and ffmpeg -formats | grep pcm
...
returns a huge list of pcm-formats

$ file XXXXXXXX.wav
XXXXXXXX.wav: RIFF (little-endian) data, WAVE audio, 6 channels 48000 Hz

The version of ffmpeg on my system is:

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 0d.49.0.0
  libavcodec version: 0d.51.11.0
  libavformat version: 0d.50.5.0
  built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906 (prerelease) (Ubuntu 4.1.1-13ubuntu2)
ffmpeg      SVN-rUNKNOWN
libavutil   3211264
libavcodec  3345152
libavformat 3278080

Any idea why ffmpeg fails in this case?

Maarten Boekhold <boekhold>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jgrembecki (Posted a comment)
  • -email is unavailable- added by boekhold (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-15 jgrembecki StatusIn Progress Done
        Open/ClosedOpen Closed
    2007-06-15 jgrembecki StatusNone In Progress
        Assigned toNone jgrembecki

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code