[FFmpeg-user] bgra to yuv

Paul B Mahol onemda at gmail.com
Sun Mar 25 05:47:50 CEST 2012


On 3/25/12, Josh long <funkyirish at gmail.com> wrote:
>>
>> Alternatively, there should be a launchpad version:
>> https://launchpad.net/~jon-severinsson/+archive/ffmpeg
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>  Thanks I've now upgraded to ffmpeg 0.9.1.  I tried the libschroedinger
> codec, but it's not to lossy for me (unless I'm doing it wrong).  I ran
> this code (after compiling of course)
>
> #include<stdio.h>
> #include<stdlib.h>
> #include<string.h>
>
> main(){
>   char out[120];
>   int a;
>   for(a=0;a<25;a++){
>   sprintf(out,"ffmpeg -i 0libschbgra%d.avi -vcodec libschroedinger -q 0
> 0libsch%d.avi\n",a,a);
>   system(out);
>   sprintf(out,"ffmpeg -i 0libsch%d.avi -vcodec rawvideo -pix_fmt bgra -q 0
> 0libschbgra%d.avi\n",a,a+1);
>   system(out);
>   }
> }
> When I was finished I could see clear distortion between the last and first
> videos.  I know that ffmpeg has not had lossless enabled in the past, is
> that still the case?

For lossless with that codec use "-global_quality 0".


More information about the ffmpeg-user mailing list