winff can't convert MTS to MPG (PAL DVD Widescreen)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
winff (Ubuntu) |
Fix Released
|
Undecided
|
Paul Gevers | ||
Precise |
Fix Released
|
Undecided
|
Paul Gevers |
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/
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:
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/
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/
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
I downloaded presets- libavcodec53- v4.xml. gz from http:// code.google. com/p/winff/ downloads/ list
I extracted them and I copied them to .winff/presets.xml
They work fine!
Package for 12.04 LTS (Precise Pangolin) contains invalid presets, for older versions of ffmpeg & libavcodec.
Regards,
Josep Pujadas-Jubany