Bug#773055: Fwd: Bug#773055: libav-tools: avconv -target pal-svcd fails with "Unable to parse option value "scan_offset""
Reinhard Tartler
siretart at gmail.com
Sun Dec 14 00:35:52 UTC 2014
Control: forwarded -1 libav-devel at libav.org
Hi,
This looks like an easy target to fix. Can someone have a look at
this? Is this critical and applicable for earlier releases as well?
Best,
Reinhard
---------- Forwarded message ----------
From: Andreas Weber <andy.weber.aw at gmail.com>
Date: Sat, Dec 13, 2014 at 2:48 PM
Subject: Bug#773055: libav-tools: avconv -target pal-svcd fails with
"Unable to parse option value "scan_offset""
To: Debian Bug Tracking System <submit at bugs.debian.org>
Package: libav-tools
Version: 6:11-2
Severity: normal
Tags: upstream
Dear Maintainer,
avconv -i in.mp4 -target pal-svcd out.mpg
fails with:
[mpeg2video @ 0x14b63c0] [Eval @ 0x7ffff3fcfd50] Undefined constant or missing
'(' in 'scan_offset'
[mpeg2video @ 0x14b63c0] Unable to parse option value "scan_offset"
[mpeg2video @ 0x14b63c0] Error setting option flags to value +scan_offset.
....
Error while opening encoder for output stream #0:0 - maybe incorrect parameters
such as bit_rate, rate, width or height
After fixing avconv_opt.c:
--- avconv_opt.c_orig 2014-12-13 20:34:41.795060988 +0100
+++ avconv_opt.c 2014-12-13 20:26:00.579042876 +0100
@@ -1825,7 +1825,7 @@
opt_default(NULL, "maxrate", "2516000");
opt_default(NULL, "minrate", "0"); // 1145000;
opt_default(NULL, "bufsize", "1835008"); // 224*1024*8;
- opt_default(NULL, "flags", "+scan_offset");
+ opt_default(NULL, "scan_offset", "1");
opt_default(NULL, "b:a", "224000");
avconv works as expected. Is it possible that patch
https://patches.libav.org/patch/19539/ got lost?
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libav-tools depends on:
ii dpkg 1.17.21
ii libavcodec56 6:11-2
ii libavdevice55 6:11-2
ii libavfilter5 6:11-2
ii libavformat56 6:11-2
ii libavresample2 6:11-2
ii libavutil54 6:11-2
ii libc6 2.19-13
ii libsdl1.2debian 1.2.15-10+b1
ii libswscale3 6:11-2
ii libvdpau1 0.8-3
ii libx11-6 2:1.6.2-3
libav-tools recommends no packages.
Versions of packages libav-tools suggests:
pn frei0r-plugins <none>
-- no debconf information
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
--
regards,
Reinhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pal_svcd_target_scan_offset.patch
Type: text/x-diff
Size: 465 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141213/5a2fc028/attachment.patch>
More information about the pkg-multimedia-maintainers
mailing list