[Bug 305539] Re: REGRESSION in ffmpeg support in transcode

Iain Lane launchpad at orangesquash.org.uk
Thu Jan 8 23:32:17 GMT 2009


transcode (2:1.0.2-0.8ubuntu10.1) intrepid-proposed; urgency=low

  * debian/patches/06_libavcodec.dpatch: Fix typo in function name which
    prevented encoding using ffmpeg in certain circumstances (LP: #305539).

 -- Iain Lane <laney at ubuntu.com>  Thu, 08 Jan 2009 23:00:45 +0000


** Summary changed:

- error when using ffmpeg unstripped libraries
+ REGRESSION in ffmpeg support in transcode

** Description changed:

- I have installed the ffmpeg unstripped libraries in order to be able to
- encode patent encumbered formats, unfortunately transcode seems not to
- like that and throws up the following error:
+ Hello,
  
- $ transcode -i The\ Fellowship\ of\ the\ Ring.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o lotr -D0 -b224 -N 0x2000 -m lotr.ac3 -J modfps=clonetype=3 --export_fps 25                                                                          
- transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg        
- [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms        
- [transcode] auto-probing source The Fellowship of the Ring.avi (ok)             
- [transcode] V: import format    | XviD RIFF data, AVI (V=ffmpeg|A=ac3)          
- [transcode] V: import frame     | 544x320  1.70:1                               
- XXX: zoom=yes pre_clip=no                                                       
- [transcode] V: zoom             | 720x576  1.25:1 (Lanczos3)                    
- [transcode] V: bits/pixel       | 0.174                                         
- [transcode] V: decoding fps,frc | 25.000,3                                      
- [transcode] V: Y'CbCr           | YV12/I420                                     
- [transcode] A: import format    | 0x2000  AC3          [48000,16,6]  192 kbps   
- [transcode] A: downmix          | 6 channels -> 2 channels                      
- [transcode] A: export format    | 0x2000  AC3          [48000,16,2]  224 kbps   
- [transcode] V: encoding fps,frc | 25.000,3                                      
- [transcode] A: bytes per frame  | 7680 (7680.000000)                            
- [transcode] A: adjustment       | 0 at 1000                                        
- [transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx asm C)                                                                          
- tc_memcpy: using sse for memcpy                                                 
- [transcode] V: video buffer     | 10 @ 720x576                                  
- [import_ac3.so] v0.3.2 (2002-02-15) (audio) AC3                                 
- [import_ffmpeg.so] v0.1.12 (2004-05-07) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG
- [filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
- [filter_modfps.so] converting from 25.0000fps to 25.0000fps
- [filter_modfps.so] No framerate conversion requested, exiting
- [transcode] warning : filter plugin 'modfps' returned error - plugin skipped
- [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.50.0 | (audio) MPEG/AC3/PCM
- [import_ac3.so] AC3->PCM
- [import_ac3.so] tcextract -a 0 -i "The Fellowship of the Ring.avi" -x ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
- tc_memcpy: using sse for memcpy
- [export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video).
- [export_ffmpeg.so]: INFO: Selected dvd profile, pal/secam video type for video
- [export_ffmpeg.so]: INFO: Set interlacing to top-first
- [export_ffmpeg.so]: INFO: Set frame rate to 25
- [export_ffmpeg.so]: INFO: Set video bitrate to 5000
- [export_ffmpeg.so]: INFO: Set GOP size to 15
- [export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
- [export_ffmpeg.so] found. Default settings will be used instead.
- [export_ffmpeg.so]: INFO: Starting 1 thread(s)
- [export_ffmpeg.so]: INFO: Display aspect ratio calculated as 1.777778
- [export_ffmpeg.so]: INFO: Sample aspect ratio calculated as 1.422222
- [mpeg2video @ 0xb51f92f0]removing common factors from framerate
- [export_ffmpeg.so]: INFO: Selected dvd profile for audio
- [export_ffmpeg.so]: INFO: Resampling filter inactive
- [export_ffmpeg.so]: INFO: Set number of audio channels to 2
- [export_ffmpeg.so]: INFO: Set number of audio bits to 16
- [export_ffmpeg.so]: INFO: No audio resampling necessary, using 48000 Hz
- transcode: symbol lookup error: /usr/lib/transcode/export_ffmpeg.so: undefined symbol: avcodec_regisiter_all
+ Please consider this SRU for Intrepid.
  
- This was never the case in previous ubuntu versions. Could someone
- *PLEASE* take care of it?
+ This is entirely my fault, I'm afraid. I can only apologise and offer a
+ fix now. A patch I applied to fix an FTBFS in the Intrepid cycle had a
+ typo in it. This causes transcode to fail to encode using ffmpeg in some
+ circumstances (I haven't pinned down exactly which, but I do have a
+ simple testcase).
+ 
+ TEST CASE
+ 
+ Using the intrepid version of transcode,  2:1.0.2-0.8ubuntu10: Find an
+ AVI, call it /path/to/file.avi. Call transcode thus:
+ 
+   transcode -i path/to/file.avi -y ffmpeg -F mjpeg -N 0x2000
+ 
+ This should transcode the file into mjpeg video and AC3 audio, and send
+ both to /dev/null. Observe the following error:
+ 
+   transcode: symbol lookup error: /usr/lib/transcode/export_ffmpeg.so:
+ undefined symbol: avcodec_regisiter_all
+ 
+ Install the proposed SRU version,  2:1.0.2-0.8ubuntu10.1, and run the
+ same command. The video is transcoded as expected:
+ 
+   [transcode] encoded 11708 frames (0 dropped, 0 cloned), clip length
+ 390.66 s
+ 
+ REGRESSION POTENTIAL
+ 
+ The functionality is totally broken at the moment, so any regression
+ potential is minimal, barirng some unexpected interaction with other
+ parts of the program. The benefits (being able to encode in more cases)
+ outweigh these miniscule risks.
+ 
+ The bug will be fixed in Jaunty by upgrading to the new upstream version
+ (bug #311202), which includes the correct version of this same patch.

** Attachment added: "transcode-avcodec-sru.debdiff"
   http://launchpadlibrarian.net/21038865/transcode-avcodec-sru.debdiff

** Description changed:

  Hello,
  
  Please consider this SRU for Intrepid.
  
  This is entirely my fault, I'm afraid. I can only apologise and offer a
  fix now. A patch I applied to fix an FTBFS in the Intrepid cycle had a
  typo in it. This causes transcode to fail to encode using ffmpeg in some
  circumstances (I haven't pinned down exactly which, but I do have a
  simple testcase).
  
  TEST CASE
  
  Using the intrepid version of transcode,  2:1.0.2-0.8ubuntu10: Find an
  AVI, call it /path/to/file.avi. Call transcode thus:
  
    transcode -i path/to/file.avi -y ffmpeg -F mjpeg -N 0x2000
  
  This should transcode the file into mjpeg video and AC3 audio, and send
  both to /dev/null. Observe the following error:
  
    transcode: symbol lookup error: /usr/lib/transcode/export_ffmpeg.so:
  undefined symbol: avcodec_regisiter_all
  
- Install the proposed SRU version,  2:1.0.2-0.8ubuntu10.1, and run the
- same command. The video is transcoded as expected:
+ Install the proposed SRU version,  2:1.0.2-0.8ubuntu10.1 (debdiff at
+ http://launchpadlibrarian.net/21038865/transcode-avcodec-sru.debdiff),
+ and run the same command. The video is transcoded as expected:
  
    [transcode] encoded 11708 frames (0 dropped, 0 cloned), clip length
  390.66 s
  
  REGRESSION POTENTIAL
  
  The functionality is totally broken at the moment, so any regression
  potential is minimal, barirng some unexpected interaction with other
  parts of the program. The benefits (being able to encode in more cases)
  outweigh these miniscule risks.
  
  The bug will be fixed in Jaunty by upgrading to the new upstream version
  (bug #311202), which includes the correct version of this same patch.

** Changed in: transcode (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- REGRESSION in ffmpeg support in transcode
+ REGRESSION in ffmpeg support in transcode (intrepid)

-- 
REGRESSION in ffmpeg support in transcode (intrepid)
https://bugs.launchpad.net/bugs/305539
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list