Re: [FFmpeg-user] ffplay black screen
Hi, Thanks very much! After I upgrade SDL2 version 2.0.9, every thing is fine. > 在 2019年3月8日,上午12:14,桃源老師 写道: > > Hi, > >> 2019/03/08 午前0:25、桃源老師 のメール: >> >> You can fix it by using Development version of SDL2 > > My information was a bit old. Black screen on macOS 10.14 was fixed in SDL2 > 2.0.9. > > > https://discourse.libsdl.org/t/sdl-2-0-9-released/25228 > > > > Best Regards, > > > // Miya aka. TougenRoushi > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] ffplay black screen
i can confirm i also have this same issue since upgrading to mojave. i have a 5k imac, and additional displays.. a 4k and a 1080p. things work fine when moving the window between the external displays but goes black when i try to move the window to the 5k built in display. even using ffplays build in showspectrum when playing an audio file shows the same behavior.. > On Mar 6, 2019, at 6:53 39PM, 韦林 wrote: > > I am trying to use ffplay to play a video on my macOS. > What I see was a black screen, no matter what file I try. > When I drag the playing window to another screen (not the main screen), it’s > ok. > When I drag it back, it turns black again. > I had try the master branch, but the problem is still. > Before I upgrade my macOS to 10.14.3, it’s ok. > After I upgrade and build ffplay, it turns black. > Appreciate any help! > > Here’s the report: > ffplay started on 2019-03-07 at 10:15:49 > Report written to "ffplay-20190307-101549.log" > Command line: > ffplay -report -i /Users/weilin/Downloads/bbb_1080p_h264.mp4 > ffplay version N-93298-g0ce759defd Copyright (c) 2003-2019 the FFmpeg > developers > built with Apple LLVM version 10.0.0 (clang-1000.10.44.4) > configuration: --prefix=/Users/weilin/third-libs/ffmpeg/darwin64-x86_64 > --enable-gpl --enable-version3 --enable-pic --enable-libx264 --enable-libx265 > --enable-libfreetype --disable-securetransport --enable-debug=lldb > --disable-optimizations --disable-stripping --extra-cflags= --extra-ldflags= > libavutil 56. 26.100 / 56. 26.100 > libavcodec 58. 47.103 / 58. 47.103 > libavformat58. 26.101 / 58. 26.101 > libavdevice58. 6.101 / 58. 6.101 > libavfilter 7. 48.100 / 7. 48.100 > libswscale 5. 4.100 / 5. 4.100 > libswresample 3. 4.100 / 3. 4.100 > libpostproc55. 4.100 / 55. 4.100 > Initialized opengl renderer. > [NULL @ 0x7f85f380] Opening '/Users/weilin/Downloads/bbb_1080p_h264.mp4' > for reading > [file @ 0x7f85ef5d3fc0] Setting default whitelist 'file,crypto' > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Format mov,mp4,m4a,3gp,3g2,mj2 > probed with size=2048 and score=100 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] ISO: File Type Major Brand: isom > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Unknown dref type 0x206c7275 size > 12 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Processing st: 0, edit list 0 - > media time: 0, duration: 737280 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Before avformat_find_stream_info() > pos: 29904009 bytes read:40216 seeks:1 nb_streams:1 > [h264 @ 0x7f85f400] nal_unit_type: 7(SPS), nal_ref_idc: 1 > [h264 @ 0x7f85f400] nal_unit_type: 8(PPS), nal_ref_idc: 1 > [h264 @ 0x7f85f400] nal_unit_type: 6(SEI), nal_ref_idc: 0 > [h264 @ 0x7f85f400] nal_unit_type: 5(IDR), nal_ref_idc: 1 > [h264 @ 0x7f85f400] Format yuv420p chosen by get_format(). > [h264 @ 0x7f85f400] Reinit context to 1920x1088, pix_fmt: yuv420p > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] All info found > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] After avformat_find_stream_info() > pos: 527 bytes read:72984 seeks:2 frames:1 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from > '/Users/weilin/Downloads/bbb_1080p_h264.mp4': > Metadata: >major_brand : isom >minor_version : 512 >compatible_brands: isomiso2avc1mp41 >encoder : Lavf57.72.101 > Duration: 00:01:00.00, start: 0.00, bitrate: 3987 kb/s >Stream #0:0(und), 1, 1/12288: Video: h264 (High) (avc1 / 0x31637661), > yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3986 kb/s, 24 fps, 24 tbr, 12288 tbn, > 24576 tbc (default) >Metadata: > handler_name: VideoHandler > detected 8 logical cores > [h264 @ 0x7f85f0049a00] nal_unit_type: 7(SPS), nal_ref_idc: 1 > [h264 @ 0x7f85f0049a00] nal_unit_type: 8(PPS), nal_ref_idc: 1 > [h264 @ 0x7f85f0049a00] nal_unit_type: 6(SEI), nal_ref_idc: 0 > [h264 @ 0x7f85f0049a00] nal_unit_type: 5(IDR), nal_ref_idc: 1 > [h264 @ 0x7f85f0049a00] Format yuv420p chosen by get_format(). > [h264 @ 0x7f85f0049a00] Reinit context to 1920x1088, pix_fmt: yuv420p > [h264 @ 0x7f85f005fc00] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 > [h264 @ 0x7f85f0079c00] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 >nan M-V:nan fd= 0 aq=0KB vq= 498KB sq=0B f=0/0 > [h264 @ 0x7f85f0853600] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 > [h264 @ 0x7f85f0853c00] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 > [h264 @ 0x7f85f101b800] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 > [h264 @ 0x7f85f009] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 > [h264 @ 0x7f85f009d200] nal_unit_type: 1(Coded slice of a non-IDR picture), > nal_ref_idc: 1 > Video frame changed from size:0x0 format:none serial:-1 to size:1920x1080 > format:yuv420p serial:1 > [h264 @ 0x7f85f200] nal_unit_type: 1(Coded slice of a non-IDR
Re: [FFmpeg-user] ffplay black screen
Hi, > 2019/03/08 午前0:25、桃源老師 のメール: > > You can fix it by using Development version of SDL2 My information was a bit old. Black screen on macOS 10.14 was fixed in SDL2 2.0.9. https://discourse.libsdl.org/t/sdl-2-0-9-released/25228 Best Regards, // Miya aka. TougenRoushi smime.p7s Description: S/MIME cryptographic signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] ffplay black screen
Hi, > 2019/03/07 午前11:53、韦林 のメール: > > Before I upgrade my macOS to 10.14.3, it’s ok. > After I upgrade and build ffplay, it turns black. Sounds like same issue I have encountered. On macOS Mojave 10.14.x, SDL2 have issue of black screen. https://discourse.libsdl.org/t/macos-10-14-mojave-issues/25060 You can fix it by using Development version of SDL2 hg clone http://hg.libsdl.org/SDL Best Regards, // Miya aka. TougenRoushi smime.p7s Description: S/MIME cryptographic signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] ffplay black screen
I am trying to use ffplay to play a video on my macOS. What I see was a black screen, no matter what file I try. When I drag the playing window to another screen (not the main screen), it’s ok. When I drag it back, it turns black again. I had try the master branch, but the problem is still. Before I upgrade my macOS to 10.14.3, it’s ok. After I upgrade and build ffplay, it turns black. Appreciate any help! Here’s the report: ffplay started on 2019-03-07 at 10:15:49 Report written to "ffplay-20190307-101549.log" Command line: ffplay -report -i /Users/weilin/Downloads/bbb_1080p_h264.mp4 ffplay version N-93298-g0ce759defd Copyright (c) 2003-2019 the FFmpeg developers built with Apple LLVM version 10.0.0 (clang-1000.10.44.4) configuration: --prefix=/Users/weilin/third-libs/ffmpeg/darwin64-x86_64 --enable-gpl --enable-version3 --enable-pic --enable-libx264 --enable-libx265 --enable-libfreetype --disable-securetransport --enable-debug=lldb --disable-optimizations --disable-stripping --extra-cflags= --extra-ldflags= libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat58. 26.101 / 58. 26.101 libavdevice58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc55. 4.100 / 55. 4.100 Initialized opengl renderer. [NULL @ 0x7f85f380] Opening '/Users/weilin/Downloads/bbb_1080p_h264.mp4' for reading [file @ 0x7f85ef5d3fc0] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Processing st: 0, edit list 0 - media time: 0, duration: 737280 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] Before avformat_find_stream_info() pos: 29904009 bytes read:40216 seeks:1 nb_streams:1 [h264 @ 0x7f85f400] nal_unit_type: 7(SPS), nal_ref_idc: 1 [h264 @ 0x7f85f400] nal_unit_type: 8(PPS), nal_ref_idc: 1 [h264 @ 0x7f85f400] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f85f400] nal_unit_type: 5(IDR), nal_ref_idc: 1 [h264 @ 0x7f85f400] Format yuv420p chosen by get_format(). [h264 @ 0x7f85f400] Reinit context to 1920x1088, pix_fmt: yuv420p [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85f380] After avformat_find_stream_info() pos: 527 bytes read:72984 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/weilin/Downloads/bbb_1080p_h264.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.72.101 Duration: 00:01:00.00, start: 0.00, bitrate: 3987 kb/s Stream #0:0(und), 1, 1/12288: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3986 kb/s, 24 fps, 24 tbr, 12288 tbn, 24576 tbc (default) Metadata: handler_name: VideoHandler detected 8 logical cores [h264 @ 0x7f85f0049a00] nal_unit_type: 7(SPS), nal_ref_idc: 1 [h264 @ 0x7f85f0049a00] nal_unit_type: 8(PPS), nal_ref_idc: 1 [h264 @ 0x7f85f0049a00] nal_unit_type: 6(SEI), nal_ref_idc: 0 [h264 @ 0x7f85f0049a00] nal_unit_type: 5(IDR), nal_ref_idc: 1 [h264 @ 0x7f85f0049a00] Format yuv420p chosen by get_format(). [h264 @ 0x7f85f0049a00] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 0x7f85f005fc00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 [h264 @ 0x7f85f0079c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 nan M-V:nan fd= 0 aq=0KB vq= 498KB sq=0B f=0/0 [h264 @ 0x7f85f0853600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 [h264 @ 0x7f85f0853c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 [h264 @ 0x7f85f101b800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 [h264 @ 0x7f85f009] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 [h264 @ 0x7f85f009d200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 Video frame changed from size:0x0 format:none serial:-1 to size:1920x1080 format:yuv420p serial:1 [h264 @ 0x7f85f200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1 [ffplay_buffer @ 0x7f85ef649280] Setting 'video_size' to value '1920x1080' [ffplay_buffer @ 0x7f85ef649280] Setting 'pix_fmt' to value '0' [ffplay_buffer @ 0x7f85ef649280] Setting 'time_base' to value '1/12288' [ffplay_buffer @ 0x7f85ef649280] Setting 'pixel_aspect' to value '1/1' [ffplay_buffer @ 0x7f85ef649280] Setting 'frame_rate' to value '24/1' [ffplay_buffer @ 0x7f85ef649280] w:1920 h:1080 pixfmt:yuv420p tb:1/12288 fr:24/1 sar:1/1 sws_param: [AVFilterGraph @ 0x7f85ef649700] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed [h264 @