Closed (fixed)
Project:
Video
Version:
7.x-2.5
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
23 Apr 2012 at 12:01 UTC
Updated:
3 Nov 2014 at 05:10 UTC
Jump to comment: Most recent
Hello,
maybe this is a stupid question. But I have to ask anyway, is there a way to increase the quality beyond the "highest setting" in the FLV preset.
When comparing the quality of the original mp4 with the flv file (see attachments) it is apearent that the flv will not do at all.
Am I missing something in the advanced video settings of the preset or is flv unsuitable for high quality in generel? Sorry if my question seem stupid, but I don't work with video very much.
Best wishes,
Paul
| Comment | File | Size | Author |
|---|---|---|---|
| Preset Video Settings.jpg | 92.8 KB | paul_constantine | |
| Preset FLV.jpg | 83.04 KB | paul_constantine | |
| MP4.jpg | 84.68 KB | paul_constantine | |
| FLV.jpg | 72.99 KB | paul_constantine |
Comments
Comment #1
Jorrit commentedCould you take a look at my question in #1404432: No codecs and output extension selectable ? Maybe the FLV quality problem is solved when that fix works.
Comment #2
Jorrit commentedClosed because of lack of response.
Comment #3
fonant commentedI have this problem too. The "Quality" setting appears to have no effect at all on the ffmpeg command actually run, and unless I specify a large bitrate my video is very pixellated. Have tried various settings, and the latest dev version.
Comment #4
Jorrit commentedWhat version of FFmpeg are you using? Can you give me a link to a page with a pixelated video?
Comment #5
fonant commentedFurther investigation shows that the ffmpeg command does not include a quality argument. In the past I've found that -qscale works nicely, but the code doesn't exist to set this in the video module. The Quality setting is present in the Zencoder code, but isn't in the ffmpeg code.
Using ffmpeg version 0.7.13-rpmfusion, but it's the command line that's wrong, not ffmpeg.
We need to call the setConstantQuality() method, with an integer modified to match that method's requirements for 100 being best quality and 0 worst quality. In the past I've used -qscale 5 for high quality, so that would need setConstantQuality(84);
Comment #6
fonant commentedOK, my fixes so that the Video Quality works for ffmpeg transcoding, are as follows:
setConstantQuality()needs toreturn TRUE;setOptions():to
(or similar!).
Comment #7
Jorrit commentedI overlooked your comment, sorry. I'll see what I can do for the next release.
Comment #8
Jorrit commentedI updated the module such that the Video quality setting is used by FFmpeg, thanks for that. I did not change the handling of video_bitrate, because the switch statement isn't executed when $value is empty. I removed all code related to $value being empty.
Comment #10
abarpetia commentedHello,
I am creating all my videos to .flv format by using this module. When i set video quality to 1 it gives me same output as after setting video quality 5. I also check playing both files but it seems no effect of setting video quality option in preset and also the file size is same.
My main objective is to convert all my video to high quality .flv videos.
Thank You,