[Bug 1002520] Re: winff can't convert MTS to MPG (PAL DVD Widescreen)

Paul Gevers 1002520 at bugs.launchpad.net
Fri Jun 22 10:12:26 UTC 2012


** Description changed:

  [Impact]
- <fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
+ The problem was that libav got updated in Precise and that the command line options of avconv were changed. This causes quite some presets to not work at all. ffmpeg/avconv will just report an error when these presets are used and will fail to convert the file as requested. The fix has no winff source change and is low impact as the presets are in a text file and only the none working presets are changed.
  
  [Text Case]
- <fill me in with detailed *instructions* on how to reproduce the bug.  This will be used by people later on to verify the updated package fixes the problem.>
- 1.
- 2.
- 3.
- Broken Behavior: 
- Fixed Behavior: 
+ Warning: if you are testing this with the broken and the fixed Winff, be sure to remove ~/.winff/presets.xml in between the tests.
+ 
+ 1. Start Winff
+ 2. Press Add and select a video for conversion
+ 3. Select "VCD" in "convert to" and "PAL VCD (HQ)" in preset
+ 4. Provide an output path (e.g. /tmp)
+ 5. Press convert and wait
+ Broken Behavior:
+ - ffmpge/avconv will report an error
+ Fixed Behavior:
+ - ffmpge/avconv will convert the file
  
  [Regression Potential]
- <fill me in with a discussion of how regressions would typically manifest as a result of this change.  It's assumed that all candidate patches are well-tested and have low overall risk of regression; but if there's an area of concern be sure to call it out so testers can check it.>
+ In principle, I can hardly think of a potential regression. The possible regression is that one of the changed presets did not need a change (I tested this but maybe I made a mistake) or, not really regression but just no improvement, the new presets are wrong in other ways than they were before. Both issues were tested by me to the best of my abilities, but very maybe the latter depends on the specific video file that I used. As no code is changed, I can not believe winff to be impacted.
  
  [Original Report]
  ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
    built on Mar 22 2012 05:09:06 with gcc 4.6.3
  This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
  
  Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
  Input #0, mpegts, from '/media/1B6D-BF5C/vd01_canon_legria_hf200/fruites_verdures_00012.MTS':
    Duration: 00:00:10.08, start: 0.481978, bitrate: 12565 kb/s
    Program 1
      Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
      Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
  [buffer @ 0x107f860] w:1440 h:1080 pixfmt:yuv420p
  [scale @ 0x1081680] w:1440 h:1080 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4
  Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
  [mpeg2video @ 0x10806c0] [Eval @ 0x7fffcd9188a0] Undefined constant or missing '(' in 'mv0'
  [mpeg2video @ 0x10806c0] Unable to parse option value "mv0"
  [mpeg2video @ 0x10806c0] Error setting option trellis to value -mv0.
  Output #0, dvd, to '/home/josep/Escriptori/fruites_verdures_00012.mpg':
      Stream #0.0: Video: mpeg2video (hq), yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 8000 kb/s, 90k tbn, 25 tbc
      Stream #0.1: Audio: ac3, 48000 Hz, stereo, flt, 200 kb/s
  Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
  Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
  
  It worked with 10.04 LTS. It doesn't work with 12.04 LTS (?)
  
  Regards,
  
  Josep Pujadas-Jubany

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1002520

Title:
  winff can't convert MTS to MPG (PAL DVD Widescreen)

Status in “winff” package in Ubuntu:
  Fix Released
Status in “winff” source package in Precise:
  Confirmed

Bug description:
  [Impact]
  The problem was that libav got updated in Precise and that the command line options of avconv were changed. This causes quite some presets to not work at all. ffmpeg/avconv will just report an error when these presets are used and will fail to convert the file as requested. The fix has no winff source change and is low impact as the presets are in a text file and only the none working presets are changed.

  [Text Case]
  Warning: if you are testing this with the broken and the fixed Winff, be sure to remove ~/.winff/presets.xml in between the tests.

  1. Start Winff
  2. Press Add and select a video for conversion
  3. Select "VCD" in "convert to" and "PAL VCD (HQ)" in preset
  4. Provide an output path (e.g. /tmp)
  5. Press convert and wait
  Broken Behavior:
  - ffmpge/avconv will report an error
  Fixed Behavior:
  - ffmpge/avconv will convert the file

  [Regression Potential]
  In principle, I can hardly think of a potential regression. The possible regression is that one of the changed presets did not need a change (I tested this but maybe I made a mistake) or, not really regression but just no improvement, the new presets are wrong in other ways than they were before. Both issues were tested by me to the best of my abilities, but very maybe the latter depends on the specific video file that I used. As no code is changed, I can not believe winff to be impacted.

  [Original Report]
  ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
    built on Mar 22 2012 05:09:06 with gcc 4.6.3
  This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).

  Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
  Input #0, mpegts, from '/media/1B6D-BF5C/vd01_canon_legria_hf200/fruites_verdures_00012.MTS':
    Duration: 00:00:10.08, start: 0.481978, bitrate: 12565 kb/s
    Program 1
      Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
      Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
  [buffer @ 0x107f860] w:1440 h:1080 pixfmt:yuv420p
  [scale @ 0x1081680] w:1440 h:1080 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4
  Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
  [mpeg2video @ 0x10806c0] [Eval @ 0x7fffcd9188a0] Undefined constant or missing '(' in 'mv0'
  [mpeg2video @ 0x10806c0] Unable to parse option value "mv0"
  [mpeg2video @ 0x10806c0] Error setting option trellis to value -mv0.
  Output #0, dvd, to '/home/josep/Escriptori/fruites_verdures_00012.mpg':
      Stream #0.0: Video: mpeg2video (hq), yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 8000 kb/s, 90k tbn, 25 tbc
      Stream #0.1: Audio: ac3, 48000 Hz, stereo, flt, 200 kb/s
  Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
  Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

  It worked with 10.04 LTS. It doesn't work with 12.04 LTS (?)

  Regards,

  Josep Pujadas-Jubany

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/winff/+bug/1002520/+subscriptions



More information about the Ubuntu-sponsors mailing list