| Summary: | mjpegtools-1.8.0-r1 lav2mpeg fails to process cli switches | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Robert Tseu <bobert> |
| Component: | Current packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | media-video |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Robert Tseu
2006-06-21 17:39:29 UTC
The problem here seems to be that lav2mpeg starts lavinfo and just uses bash's eval on the returned info.
# eval $($LAVINFO $@ | grep "=")
But lavinfo returnes lines like this:
video_inter=***BOGUS/UNKNOWN*** interlacing
That means that at least all spaces in the output must be quoted like this:
# eval $($LAVINFO $@ | grep "=" | sed -e 's: :\\ :g')
But the problem continues than as that value is compared against "1" later on:
# if [ $video_inter -eq 1 ]; then
Perhaps changing to
# if [[ ${video_inter/interlacing} != ${video_inter} ]]; then
helps.
Applied changes to mjpegtools-1.8.0-r2, hopefully it works that way now. I also consider this bug not resolved. zzam, whats the status on this one? beandog, I have not used this after last time touching this, so I have no idea about the status. obsolete bug. 1.9.0 is stable on all arch's. no up to date information provided, closing as TEST-REQUEST. |