Hi to all,
I'm writing an application to decode H264 video by VDPAU. I got two different 
video first one big buck bunny (downloaded from 
http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4)
 and another one made by an artist.

I dump the format for the videos, I get the following dump for big buck bunny:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/home/qmax/Downloads/bbb_60fps_no_audio.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    composer        : Sacha Goedegebure
    encoder         : Lavf57.48.103
    comment         : Creative Commons Attribution 3.0 - 
http://bbb3d.renderfarming.net<http://bbb3d.renderfarming.net/>
    genre           : Animation
  Duration: 00:10:34.53, start: 0.033000, bitrate: 4006 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
1920x1080 [SAR 1:1 DAR 16:9], 4001 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc 
(default)
    Metadata:
      handler_name    : VideoHandler

and for the video made by the artist:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/home/qmax/Videos/Quixant_fire/Quixant_fire_1080.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2016-09-22T17:09:24.000000Z
    encoder         : HandBrake 0.10.5 2016021100
  Duration: 00:00:27.30, start: 0.000000, bitrate: 7058 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, 
bt709), 1920x1080, 7056 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2016-09-22T17:09:24.000000Z
      handler_name    : VideoHandler


The problem is that I can decode the Quixant_fire_1080.mp4 video in hardware, 
while for the video bbb_60fps_no_audio.mp4 the callback get_format is called 
two times, first time the returned pixel format is 109, while the second time 
is 0.
I copy the get_format function from ffmpeg.c

I'm surprised that it works fine for Quixant_fire_1080.mp4 video and it doesn't 
work for video bbb_60fps_no_audio.mp4 video.

Could someone help me please?

Kind Regards,

Gabriele Salvati
Video and Audio application engineer
Quixant Italia Srl

________________________________

Le informazioni contenute in questo messaggio e negli eventuali allegati sono 
confidenziali e ad uso esclusivo del destinatario indicato. Qualora non fossero 
a Lei destinati o abbia ricevuto questa comunicazione per errore, La preghiamo 
di tener presente che qualsiasi divulgazione, distribuzione o duplicazione 
delle informazioni in essa contenute ? strettamente proibita e pu? essere 
illegale. La informiamo che deve darci tempestiva comunicazione della ricezione 
del messaggio e distruggerlo immediatamente. I contenuti possono essere 
soggetti ad accordi di non- divulgazione e riservatezza. Le opinioni e i punti 
di vista espressi in questo messaggio di posta elettronica sono propri 
dell'autore e potrebbero non corrispondere a opinioni e punti di vista di 
Quixant. Nessuna informazione contenuta in questo messaggio pu? essere 
interpretata come modifica dei termini di qualsiasi accordo contrattuale 
scritto, esistente tra Quixant Plc (comprese le sue controllate) e qualsiasi 
persona fisica o giuridica.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to