@muxisar wrote:
Hi,
I've just tested videoPlayerExample with different videos (with audio channel). Sometimes the audio stops after a few seconds.
I'm on ubuntu:
Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trustyTest 1
Audio stops after 2 seconds.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './bin/data/test1.mov': Metadata: creation_time : 2015-08-14 19:08:13 Duration: 00:03:38.48, start: 0.000000, bitrate: 65268 kb/s Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1920x1080, 63731 kb/s, 25 fps, 25 tbr, 25 tbn Metadata: creation_time : 2015-08-14 19:08:13 Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, 2 channels, s16, 1536 kb/s Metadata: creation_time : 2015-08-14 19:08:13Test 2
Audio stops almost immediately (but, as it is Prores, maybe this is the deal)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './bin/data/test2.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2017-06-06 16:10:12 Duration: 00:00:06.16, start: 0.000000, bitrate: 184749 kb/s Stream #0.0(eng): Video: prores, yuv422p10le, 1920x1080, 187062 kb/s, PAR 1920:1920 DAR 16:9, 25 fps, 25 tbr, 25 tbn Metadata: creation_time : 2017-06-06 16:10:12 Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, fltp, 89 kb/s Metadata: creation_time : 2017-06-06 16:10:12 Stream #0.2(eng): Data: tmcd / 0x64636D74, 0 kb/s Metadata: creation_time : 2017-06-06 16:10:38 Unsupported codec with id 0 for input stream 2Test 3
Works well.
Input #0, avi, from './bin/data/test3.AVI': Metadata: maker : NIKON CORPORATION model : NIKON D90 creation_time : 2013-06-08 18:47:41 Duration: 00:00:15.99, start: 0.000000, bitrate: 9498 kb/s Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, 24 fps, 24 tbr, 24 tbn Stream #0.1: Audio: pcm_s16le, 11025 Hz, 1 channels, s16, 176 kb/sIs there a preferable codec for ofVideoPlayer (I assume mjpeg) and/or is this a bug ?
Posts: 1
Participants: 1