[FFmpeg-user] nvenc h264 encoding

tyt xtreme alseczg at gmail.com
Fri Oct 14 13:53:06 EEST 2016


Thanks for the help and explanation! I can tell the encoding runs now,
tried with the following command:
$ ffmpeg -i perspective.mp4 -c:v h264_nvenc -profile:v high -preset:v fast
perspective_out.mp4

but the output image/video coloring really weird. from a normal coloring
it's going to be weird mixture of green,red "ghosty" image.
The input file details are:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'perspective.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.50.100
  Duration: 00:07:27.87, start: 2.132000, bitrate: 10235 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 10233 kb/s,
24.94 fps, 29.97 tbr, 1000k tbn, 2000k tbc (default)
    Metadata:
      handler_name    : VideoHandler

The output file details are:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.51.103
  Duration: 00:07:27.92, start: 0.000000, bitrate: 5301 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
3840x2160 [SAR 1:1 DAR 16:9], 5300 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler

Any idea?

On Thu, Oct 13, 2016 at 5:57 PM, Sven C. Dack <sven.c.dack at sky.com> wrote:

> On 13/10/16 16:05, Nicolas George wrote:
>
>> Le duodi 22 vendémiaire, an CCXXV, Sven C. Dack a écrit :
>>
>>> If I'm not mistaken then yuv444p is linked to 10-bit depth encoding
>>>
>> Not necessarily. ...
>>
>
> Sorry if I wasn't clear enough. I didn't say yuv444p was a 10-bit format.
> I said it is /linked/ to 10-bit depth encoding.
>
> Of course can one use and convert basically any format into whatever the
> hardware needs as input. It's just not being done here.
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list