Opened 16 years ago
Closed 16 years ago
#1348 closed defect (invalid)
mencoder strange handle spaces in option list separated by ':'
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | vf |
Version: | unspecified | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
While execution of this not propertly formed (pay attention to the space in "width=720: height=576" ) string mencoder ingores its option -vf despite of it position after "buggy" place. Btw other options are not being droppped.
mencoder tv:// \
-tv driver=v4l:width=720: height=576:freq=383.250:input=0 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=500:keyint=50 \
-vf kerndeint,crop=300:300:8:8,hqdn3d \
-o out.avi
Or less specific example
mencoder in.avi -ovc lavc -lavcopts vcodec=libx264: vbitrate=500 \
-vf kerndeint,crop=300:300:8:8,hqdn3d -o out.avi
Output showes empty filters list:
Read output about filters:
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
With the space, "height=576:freq=383.250:input=0" becomes a second filename.
Thus, all the following "non-global" options only apply to that file, not to the first one ("tv://").
Put options like -vf in the front to make them apply to all files given.