FFMPEG Problem in macOS

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

FFMPEG Problem in macOS

FFmpeg-users mailing list
Hi

I am facing a transcoding problem in macOS. The entire issue details along with log files are attached.
Requesting assistance to resolve this issue.
Requesting assistance to resolve this issue.
Requesting assistance to resolve this issue.


Thanks & Regards


Rakesh Chakraborty

Mail to: [hidden email]

The information contained in this message may be confidential and/or constitute a privileged attorney-client document.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify McGraw-Hill immediately by replying to the message and deleting it from your computer.  Thank you.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

macbook-ffmpeg-issue-details.docx (19K) Download Attachment
verbose-log-1.log (6K) Download Attachment
verbose-log-2.log (8K) Download Attachment
verbose-log-3.log (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG Problem in macOS

Carl Eugen Hoyos-2
Am Sa., 25. Apr. 2020 um 20:13 Uhr schrieb Chakraborty, Rakesh via
ffmpeg-user <[hidden email]>:

> I am facing a transcoding problem in macOS.

Please test current FFmpeg git head, please paste the command line
including the complete, uncut console output into your message, no
need to attach text files.

> The information contained in this message may be confidential

Please remove this from messages sent to a public mailing list.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG Problem in macOS

Brainiarc7
In reply to this post by FFmpeg-users mailing list
On Sat, 25 Apr 2020, 21:13 Chakraborty, Rakesh via ffmpeg-user, <
[hidden email]> wrote:

> Hi
>
> I am facing a transcoding problem in macOS. The entire issue details along
> with log files are attached.
> Requesting assistance to resolve this issue.
> Requesting assistance to resolve this issue.
> Requesting assistance to resolve this issue.
>
>
> Thanks & Regards
>
>
> Rakesh Chakraborty
>
> Mail to: [hidden email]
>
> The information contained in this message may be confidential and/or
> constitute a privileged attorney-client document.  If the reader of this
> message is not the intended recipient, or an employee or agent responsible
> for delivering this message to the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.  If you have received this
> communication in error, please notify McGraw-Hill immediately by replying
> to the message and deleting it from your computer.  Thank you.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".



Can you please post these logs directly in the email, and the problem
description in the word attachment to the email body?

Sending word documents here is simply trolling.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG Problem in macOS

FFmpeg-users mailing list
Hi,

I am sending you the entire details of the issue which I am facing in macOS in the email body.

Transcoding problem in macOS:-


We have a MacBook application which has a screen recording feature as well as capturing the user from Camera (In-built MacBook Camera or any external Camera) who is using that application.


MacBook Model: MacBook Pro (15-inch, 2018)

macOS: High Sierra (Version: 10.13.6)

Processor: 2.2 GHz Intel Core i7

Memory: 16 GB 2400 MHz DDR4

Graphics: Intel UHD Graphics 630 1536 MB


The same application is also run on other macOS also: Catalina, Mojave, El-Capitan.


The application has transcoding logic which converts a .mov file to .mp4 file.

The application converts two different .mov files to .mp4 files.
The .mov file which is related to Screen recording gets successfully converted to .mp4 file
But the .mov file which captures the user does not get successfully converted to .mp4 file

(This issue occurs in all the versions of macOS as mentioned earlier)

In both these cases, ffmpeg command is being used with some parameters. Along with this command, a preset file is also being used.


Preset file description:-


vcodec=libx264


vprofile=main

level=30

b:v=800000

bufsize=800000


In the existing codebase, the following command tries to convert from .mov file to .mp4 file:-


./ffmpeg -i Input0.mov -y -fpre ./preset/mp4_Projector.ffpreset -astrict -2 -vsync vfr -s 640x480 -loglevel verbose Output0.mp4


But the above command fails to convert the .mov file to .mp4 file.


We ran the exact command from terminal and got the following log

Verbose Log:-

ffmpeg version 3.4.1-tessus Copyright (c) 2000-2017 the FFmpeg developers

  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)

  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay

  libavutil      55. 78.100 / 55. 78.100

  libavcodec     57.107.100 / 57.107.100

  libavformat    57. 83.100 / 57. 83.100

  libavdevice    57. 10.100 / 57. 10.100

  libavfilter     6.107.100 /  6.107.100

  libswscale      4.  8.100 /  4.  8.100

  libswresample   2.  9.100 /  2.  9.100

  libpostproc    54.  7.100 / 54.  7.100

[h264 @ 0x7fc8b380f000] Reinit context to 640x480, pix_fmt: yuv420p

[h264 @ 0x7fc8b380f000] Increasing reorder buffer to 1

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc8b3000400] max_analyze_duration 5000000 reached at 5012455 microseconds st:0

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Input0.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 0

    compatible_brands: qt

    creation_time   : 2020-04-16T15:42:30.000000Z

    com.apple.quicktime.make: Apple

    com.apple.quicktime.model: MacBookPro15,4

    com.apple.quicktime.software: Mac OS X 10.14.6 (18G95)

    com.apple.quicktime.creationdate: 2020-04-16T11:42:26-0400

  Duration: 01:05:39.80, start: 0.000000, bitrate: 1269 kb/s

    Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m/unknown/unknown, progressive, left), 640x480 [SAR 1:1 DAR 4:3], 1167 kb/s, 25.94 fps, 29.01 tbr, 30k tbn, 60k tbc (default)

    Metadata:

      creation_time   : 2020-04-16T15:42:30.000000Z

      handler_name    : Core Media Data Handler

      encoder         : H.264

    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 64 kb/s (default)

    Metadata:

      creation_time   : 2020-04-16T15:42:30.000000Z

      handler_name    : Core Media Data Handler

Stream mapping:

  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

  Stream #0:1 -> #0:1 (aac (native) -> aac (native))

Press [q] to stop, [?] for help

[h264 @ 0x7fc8b4015000] Reinit context to 640x480, pix_fmt: yuv420p

[graph 0 input from stream 0:0 @ 0x7fc8b2b00300] w:640 h:480 pixfmt:yuv420p tb:1/30000 fr:15000/517 sar:1/1 sws_param:flags=2

[scaler_out_0_0 @ 0x7fc8b15026c0] w:640 h:480 flags:'bicubic' interl:0

[scaler_out_0_0 @ 0x7fc8b15026c0] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:yuv420p sar:1/1 flags:0x4

[libx264 @ 0x7fc8b2006400] VBV maxrate unspecified, assuming CBR

[libx264 @ 0x7fc8b2006400] using SAR=1/1

[libx264 @ 0x7fc8b2006400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2

[libx264 @ 0x7fc8b2006400] profile Main, level 3.0

[libx264 @ 0x7fc8b2006400] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=800 vbv_bufsize=800 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00

Too many packets buffered for output stream 0:0.577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A

[libx264 @ 0x7fc8b2006400] frame I:2     Avg QP: 5.35  size:  9409

[libx264 @ 0x7fc8b2006400] frame P:33    Avg QP:10.49  size:  5644

[libx264 @ 0x7fc8b2006400] frame B:94    Avg QP:11.81  size:  2893

[libx264 @ 0x7fc8b2006400] consecutive B-frames:  1.5%  1.5%  0.0% 97.0%

[libx264 @ 0x7fc8b2006400] mb I  I16..4: 84.3%  0.0% 15.7%

[libx264 @ 0x7fc8b2006400] mb P  I16..4: 48.7%  0.0%  4.5%  P16..4: 24.9% 12.9%  6.1%  0.0%  0.0%    skip: 2.9%

[libx264 @ 0x7fc8b2006400] mb B  I16..4:  5.1%  0.0%  0.0%  B16..8: 36.0% 15.2%  0.5%  direct:20.4%  skip:22.7%  L0:53.3% L1:45.1% BI: 1.5%

[libx264 @ 0x7fc8b2006400] coded y,uvDC,uvAC intra: 14.7% 73.2% 52.6% inter: 10.5% 36.1% 4.3%

[libx264 @ 0x7fc8b2006400] i16 v,h,dc,p: 52% 34% 11%  4%

[libx264 @ 0x7fc8b2006400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 35% 40%  0%  0%  0%  0%  0%  0%

[libx264 @ 0x7fc8b2006400] i8c dc,h,v,p: 59% 25% 13%  3%

[libx264 @ 0x7fc8b2006400] Weighted P-Frames: Y:0.0% UV:0.0%

[libx264 @ 0x7fc8b2006400] ref P L0: 56.9%  0.6% 24.2% 18.3%

[libx264 @ 0x7fc8b2006400] ref B L0: 82.1% 12.5%  5.4%

[libx264 @ 0x7fc8b2006400] ref B L1: 94.3%  5.7%

[libx264 @ 0x7fc8b2006400] kb/s:758.37

Conversion failed!




Trying to solve with this anomaly, we googled some more commands related to ffmpeg and tried with the following new command:-


./ffmpeg -i Input0.mov -y -fpre ./preset/mp4_Projector.ffpreset -astrict -2 -vsync vfr -s 640x480 -vf mpdecimate,setpts=N/FRAME_RATE/TB -loglevel verbose Output0.mov.mp4


We ran the above new command from terminal again and got the following log:-

Verbose Log:-


ffmpeg version 3.4.1-tessus Copyright (c) 2000-2017 the FFmpeg developers

  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)

  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay

  libavutil      55. 78.100 / 55. 78.100

  libavcodec     57.107.100 / 57.107.100

  libavformat    57. 83.100 / 57. 83.100

  libavdevice    57. 10.100 / 57. 10.100

  libavfilter     6.107.100 /  6.107.100

  libswscale      4.  8.100 /  4.  8.100

  libswresample   2.  9.100 /  2.  9.100

  libpostproc    54.  7.100 / 54.  7.100

[h264 @ 0x7fc978800600] Reinit context to 640x480, pix_fmt: yuv420p

[h264 @ 0x7fc978800600] Increasing reorder buffer to 1

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc977001600] max_analyze_duration 5000000 reached at 5012455 microseconds st:0

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Input0.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 0

    compatible_brands: qt

    creation_time   : 2020-04-16T15:42:30.000000Z

    com.apple.quicktime.make: Apple

    com.apple.quicktime.model: MacBookPro15,4

    com.apple.quicktime.software: Mac OS X 10.14.6 (18G95)

    com.apple.quicktime.creationdate: 2020-04-16T11:42:26-0400

  Duration: 01:05:39.80, start: 0.000000, bitrate: 1269 kb/s

    Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m/unknown/unknown, progressive, left), 640x480 [SAR 1:1 DAR 4:3], 1167 kb/s, 25.94 fps, 29.01 tbr, 30k tbn, 60k tbc (default)

    Metadata:

      creation_time   : 2020-04-16T15:42:30.000000Z

      handler_name    : Core Media Data Handler

      encoder         : H.264

    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 64 kb/s (default)

    Metadata:

      creation_time   : 2020-04-16T15:42:30.000000Z

      handler_name    : Core Media Data Handler

Stream mapping:

  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

  Stream #0:1 -> #0:1 (aac (native) -> aac (native))

Press [q] to stop, [?] for help

[h264 @ 0x7fc978802c00] Reinit context to 640x480, pix_fmt: yuv420p

[Parsed_mpdecimate_0 @ 0x7fc978102de0] max_drop_count:0 hi:768 lo:320 frac:0.330000

[graph 0 input from stream 0:0 @ 0x7fc9781036c0] w:640 h:480 pixfmt:yuv420p tb:1/30000 fr:15000/517 sar:1/1 sws_param:flags=2

[scaler_out_0_0 @ 0x7fc97650c2a0] w:640 h:480 flags:'bicubic' interl:0

[Parsed_mpdecimate_0 @ 0x7fc978102de0] TB:0.000033 FRAME_RATE:29.013540 SAMPLE_RATE:nan

[scaler_out_0_0 @ 0x7fc97650c2a0] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:yuv420p sar:1/1 flags:0x4

[libx264 @ 0x7fc97783b600] VBV maxrate unspecified, assuming CBR

[libx264 @ 0x7fc97783b600] using SAR=1/1

[libx264 @ 0x7fc97783b600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2

[libx264 @ 0x7fc97783b600] profile Main, level 3.0

[libx264 @ 0x7fc97783b600] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=800 vbv_bufsize=800 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00

[graph_1_in_0_1 @ 0x7fc97804ca40] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x4ed=N/A

Output #0, mp4, to ‘Output0.mp4':

  Metadata:

    major_brand     : qt

    minor_version   : 0

    compatible_brands: qt

    com.apple.quicktime.creationdate: 2020-04-16T11:42:26-0400

    com.apple.quicktime.make: Apple

    com.apple.quicktime.model: MacBookPro15,4

    com.apple.quicktime.software: Mac OS X 10.14.6 (18G95)

    encoder         : Lavf57.83.100

    Stream #0:0(und): Video: h264 (libx264), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 800 kb/s, 29.01 fps, 15k tbn, 29.01 tbc (default)

    Metadata:

      creation_time   : 2020-04-16T15:42:30.000000Z

      handler_name    : Core Media Data Handler

      encoder         : Lavc57.107.100 libx264

    Side data:

      cpb: bitrate max/min/avg: 0/0/800000 buffer size: 800000 vbv_delay: -1

    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, delay 1024, 69 kb/s (default)

    Metadata:

      creation_time   : 2020-04-16T15:42:30.000000Z

      handler_name    : Core Media Data Handler

      encoder         : Lavc57.107.100 aac

No more output streams to write to, finishing.=01:04:37.59 bitrate=  69.2kbits/s speed=  68x

frame=    1 fps=0.0 q=23.0 Lsize=   33854kB time=01:04:49.22 bitrate=  71.3kbits/s speed=68.1x

video:5kB audio:33135kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.154257%

Input file #0 (Instructor0.mov):

  Input stream #0:0 (video): 100865 packets read (567594170 bytes); 100865 frames decoded;

  Input stream #0:1 (audio): 182300 packets read (31286021 bytes); 182300 frames decoded (186675200 samples);

  Total: 283165 packets (598880191 bytes) demuxed

Output file #0 (Instructor0-old.mp4):

  Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (5423 bytes);

  Output stream #0:1 (audio): 182300 frames encoded (186675200 samples); 182301 packets muxed (33930173 bytes);

  Total: 182302 packets (33935596 bytes) muxed

[libx264 @ 0x7fc97783b600] frame I:1     Avg QP:13.32  size:  4678

[libx264 @ 0x7fc97783b600] mb I  I16..4: 92.6%  0.0%  7.4%

[libx264 @ 0x7fc97783b600] coded y,uvDC,uvAC intra: 18.8% 73.4% 39.8%

[libx264 @ 0x7fc97783b600] i16 v,h,dc,p: 47% 39% 10%  4%

[libx264 @ 0x7fc97783b600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 28% 45%  0%  0%  0%  0%  0%  0%

[libx264 @ 0x7fc97783b600] i8c dc,h,v,p: 54% 29% 14%  3%

[libx264 @ 0x7fc97783b600] kb/s:1085.80

[aac @ 0x7fc97783ce00] Qavg: 312.952



Now, this new command successfully converted one .mov file to .mp4 file.


But when we tested with some other .mov files, this new command didn’t work. And for all those files, we got the following logs:-

Verbose Log:-

ffmpeg version 3.4.1-tessus Copyright (c) 2000-2017 the FFmpeg developers

  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)

  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay

  libavutil      55. 78.100 / 55. 78.100

  libavcodec     57.107.100 / 57.107.100

  libavformat    57. 83.100 / 57. 83.100

  libavdevice    57. 10.100 / 57. 10.100

  libavfilter     6.107.100 /  6.107.100

  libswscale      4.  8.100 /  4.  8.100

  libswresample   2.  9.100 /  2.  9.100

  libpostproc    54.  7.100 / 54.  7.100

[h264 @ 0x7fcffc80a200] Reinit context to 640x480, pix_fmt: yuv420p

[h264 @ 0x7fcffc80a200] Increasing reorder buffer to 1

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcffc801600] max_analyze_duration 5000000 reached at 5002265 microseconds st:0

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘Inpu0.mov':

  Metadata:

    major_brand     : qt

    minor_version   : 0

    compatible_brands: qt

    creation_time   : 2020-04-18T00:26:02.000000Z

    com.apple.quicktime.make: Apple

    com.apple.quicktime.model: MacBookPro15,4

    com.apple.quicktime.software: Mac OS X 10.14.6 (18G3020)

    com.apple.quicktime.creationdate: 2020-04-17T20:26:00-0400

  Duration: 00:30:58.65, start: 0.000000, bitrate: 3619 kb/s

    Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m/unknown/unknown, progressive, left), 640x480 [SAR 1:1 DAR 4:3], 3502 kb/s, 22.59 fps, 29.01 tbr, 30k tbn, 60k tbc (default)

    Metadata:

      creation_time   : 2020-04-18T00:26:02.000000Z

      handler_name    : Core Media Data Handler

      encoder         : H.264

    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 63 kb/s (default)

    Metadata:

      creation_time   : 2020-04-18T00:26:02.000000Z

      handler_name    : Core Media Data Handler

Stream mapping:

  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

  Stream #0:1 -> #0:1 (aac (native) -> aac (native))

Press [q] to stop, [?] for help

[h264 @ 0x7fcffc04e800] Reinit context to 640x480, pix_fmt: yuv420p

[Parsed_mpdecimate_0 @ 0x7fcffd002940] max_drop_count:0 hi:768 lo:320 frac:0.330000

[graph 0 input from stream 0:0 @ 0x7fcffd003920] w:640 h:480 pixfmt:yuv420p tb:1/30000 fr:15000/517 sar:1/1 sws_param:flags=2

[scaler_out_0_0 @ 0x7fcffd003c80] w:640 h:480 flags:'bicubic' interl:0

[Parsed_mpdecimate_0 @ 0x7fcffd002940] TB:0.000033 FRAME_RATE:29.013540 SAMPLE_RATE:nan

[scaler_out_0_0 @ 0x7fcffd003c80] w:640 h:480 fmt:yuv420p sar:1/1 -> w:640 h:480 fmt:yuv420p sar:1/1 flags:0x4

[libx264 @ 0x7fcffc01d800] VBV maxrate unspecified, assuming CBR

[libx264 @ 0x7fcffc01d800] using SAR=1/1

[libx264 @ 0x7fcffc01d800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2

[libx264 @ 0x7fcffc01d800] profile Main, level 3.0

[libx264 @ 0x7fcffc01d800] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=800 vbv_bufsize=800 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00

Too many packets buffered for output stream 0:0.577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A

[libx264 @ 0x7fcffc01d800] frame I:6     Avg QP:24.07  size:  9346

[libx264 @ 0x7fcffc01d800] frame P:42    Avg QP:26.54  size:  4574

[libx264 @ 0x7fcffc01d800] frame B:81    Avg QP:27.44  size:  2308

[libx264 @ 0x7fcffc01d800] consecutive B-frames: 15.4%  1.5%  0.0% 83.1%

[libx264 @ 0x7fcffc01d800] mb I  I16..4: 58.0%  0.0% 42.0%

[libx264 @ 0x7fcffc01d800] mb P  I16..4: 19.2%  0.0%  8.6%  P16..4: 49.5%  7.6%  3.4%  0.0%  0.0%    skip:11.8%

[libx264 @ 0x7fcffc01d800] mb B  I16..4:  2.2%  0.0%  0.6%  B16..8: 45.0%  4.8%  0.4%  direct: 6.8%  skip:40.3%  L0:46.2% L1:51.3% BI: 2.5%

[libx264 @ 0x7fcffc01d800] coded y,uvDC,uvAC intra: 43.1% 61.4% 2.4% inter: 11.1% 33.8% 0.0%

[libx264 @ 0x7fcffc01d800] i16 v,h,dc,p: 15% 26% 16% 42%

[libx264 @ 0x7fcffc01d800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 21% 34%  5%  5%  4%  5%  3%  4%

[libx264 @ 0x7fcffc01d800] i8c dc,h,v,p: 62% 22% 14%  3%

[libx264 @ 0x7fcffc01d800] Weighted P-Frames: Y:0.0% UV:0.0%

[libx264 @ 0x7fcffc01d800] ref P L0: 62.4% 12.1% 17.4%  8.1%

[libx264 @ 0x7fcffc01d800] ref B L0: 82.4% 13.7%  4.0%

[libx264 @ 0x7fcffc01d800] ref B L1: 91.1%  8.9%

[libx264 @ 0x7fcffc01d800] kb/s:782.89

Conversion failed!


Even we downloaded the ffmpeg version 4.2.2 and ran the same commands. The results were same.

We took the same .mov files which did not get converted to .mp4 file and used Handbrake application to convert them. All of them got successfully converted to .mp4 file.


Requesting assistance to mitigate this issue.




Thanks & Regards


Rakesh Chakraborty

Mail to: [hidden email]

________________________________
From: Dennis Mungai <[hidden email]>
Sent: 26 April 2020 04:13
To: FFmpeg user questions <[hidden email]>
Cc: Chakraborty, Rakesh <[hidden email]>
Subject: Re: [FFmpeg-user] FFMPEG Problem in macOS


*** EXTERNAL EMAIL: If sender is unknown, use caution when opening. ***


On Sat, 25 Apr 2020, 21:13 Chakraborty, Rakesh via ffmpeg-user, <[hidden email]<mailto:[hidden email]>> wrote:
Hi

I am facing a transcoding problem in macOS. The entire issue details along with log files are attached.
Requesting assistance to resolve this issue.
Requesting assistance to resolve this issue.
Requesting assistance to resolve this issue.


Thanks & Regards


Rakesh Chakraborty

Mail to: [hidden email]<mailto:[hidden email]>

The information contained in this message may be confidential and/or constitute a privileged attorney-client document.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify McGraw-Hill immediately by replying to the message and deleting it from your computer.  Thank you.
_______________________________________________
ffmpeg-user mailing list
[hidden email]<mailto:[hidden email]>
https://ffmpeg.org/mailman/listinfo/ffmpeg-user<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=01%7C01%7CRakesh.Chakraborty%40mheducation.com%7C8bd3cc6e418c41eb9a7c08d7e96a2a20%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&sdata=tVFab0Qj8WG4a61jlQ72Xnz8HKYA4TrSJp%2BPXwIBO%2Bw%3D&reserved=0>

To unsubscribe, visit link above, or email
[hidden email]<mailto:[hidden email]> with subject "unsubscribe".


Can you please post these logs directly in the email, and the problem description in the word attachment to the email body?

Sending word documents here is simply trolling.
The information contained in this message may be confidential and/or constitute a privileged attorney-client document.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify McGraw-Hill immediately by replying to the message and deleting it from your computer.  Thank you.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG Problem in macOS

Carl Zwanzig
Hello,

On 4/27/2020 7:12 AM, Chakraborty, Rakesh via ffmpeg-user wrote:
> We have a MacBook application which has a screen recording feature as well as capturing the user from Camera (In-built MacBook Camera or any external Camera) who is using that application.

What is the application and have you contacted it's vendor/developers? There
may be an update.


> ffmpeg version 3.4.1-tessus Copyright (c) 2000-2017 the FFmpeg developers

That's a _very_ old version of ffmpeg and not supported here. First thing is
to get a new one, preferable last night's nightly build and try the same
command and input file (start from https://ffmpeg.org/download.html). If
that fails, then post the output here. Since it's using videolan's x264
software, that ought to be updated, too.

Do the .mov files play correctly with quicktime or vlc? (we don't know if
they're corrupt or not.)

(Something in your email is inserting blank lines.)

And please don't top-post on this list, if you're not sure what that is-
http://www.idallen.com/topposting.html

Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG Problem in macOS

FFmpeg-users mailing list
Hi All,

As per your valuable suggestion, I updated the ffmpeg version to the latest one, i.e., version 4.2.2 and used the following command to transcode the respective .mov file to .mp4 file.
Command:-


ffmpeg -i Input0.mov -y -fpre ./preset/mp4_Projector.ffpreset -astrict -2 -vsync vfr -acodec copy -s 1280x720 Output0.mp4

​The above command was working perfectly till date in the code but all of a sudden this command didn't work for a particular .mov file and gave the following error:-

Too many packets buffered for output stream 0:1

The preset file that has been used, i.e., 'mp4_Projector.ffpreset' file's details is as follows:-

vcodec=libx264
vprofile=main
level=30
b:v=800000
bufsize=800000

The respective .mov file is not corrupted as it was playing with QuickTime player. The above command was giving correct transcoded .mp4 video file so far. Can't understand why this same command failed for a particular .mov file.

Requesting assistance to resolve this issue.




Thanks & Regards


Rakesh Chakraborty

Mail to: [hidden email]

________________________________
From: ffmpeg-user <[hidden email]> on behalf of Carl Zwanzig <[hidden email]>
Sent: 27 April 2020 21:13
To: [hidden email] <[hidden email]>
Subject: Re: [FFmpeg-user] FFMPEG Problem in macOS

*** EXTERNAL EMAIL: If sender is unknown, use caution when opening. ***


Hello,

On 4/27/2020 7:12 AM, Chakraborty, Rakesh via ffmpeg-user wrote:
> We have a MacBook application which has a screen recording feature as well as capturing the user from Camera (In-built MacBook Camera or any external Camera) who is using that application.

What is the application and have you contacted it's vendor/developers? There
may be an update.


> ffmpeg version 3.4.1-tessus Copyright (c) 2000-2017 the FFmpeg developers

That's a _very_ old version of ffmpeg and not supported here. First thing is
to get a new one, preferable last night's nightly build and try the same
command and input file (start from https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fdownload.html&amp;data=01%7C01%7Crakesh.chakraborty%40mheducation.com%7C7bb045a80aba4ae47d5e08d7eac1c5b6%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&amp;sdata=tcW%2FV2N93KniCpBkyl4GXWMCWecSSuBVqa8MmSx%2BrGY%3D&amp;reserved=0). If
that fails, then post the output here. Since it's using videolan's x264
software, that ought to be updated, too.

Do the .mov files play correctly with quicktime or vlc? (we don't know if
they're corrupt or not.)

(Something in your email is inserting blank lines.)

And please don't top-post on this list, if you're not sure what that is-
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.idallen.com%2Ftopposting.html&amp;data=01%7C01%7Crakesh.chakraborty%40mheducation.com%7C7bb045a80aba4ae47d5e08d7eac1c5b6%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&amp;sdata=9RgDNswN5EqZfHQ1QfrhQmT8%2FaRGJD%2B6whkWbjDrFcE%3D&amp;reserved=0

Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&amp;data=01%7C01%7Crakesh.chakraborty%40mheducation.com%7C7bb045a80aba4ae47d5e08d7eac1c5b6%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&amp;sdata=T54ZofvqieDQnT0tUbLGrrJx7n5Z7YQU7UWAXSBadXc%3D&amp;reserved=0

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
The information contained in this message may be confidential and/or constitute a privileged attorney-client document.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify McGraw-Hill immediately by replying to the message and deleting it from your computer.  Thank you.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Fw: FFMPEG Problem in macOS

FFmpeg-users mailing list
Hi All,

Requesting assistance to resolve the issue mentioned in the previous email.




Thanks & Regards


Rakesh Chakraborty

Mail to: [hidden email]

________________________________
From: Chakraborty, Rakesh <[hidden email]>
Sent: 29 May 2020 17:44
To: [hidden email] <[hidden email]>
Subject: Re: [FFmpeg-user] FFMPEG Problem in macOS

Hi All,

As per your valuable suggestion, I updated the ffmpeg version to the latest one, i.e., version 4.2.2 and used the following command to transcode the respective .mov file to .mp4 file.
Command:-


ffmpeg -i Input0.mov -y -fpre ./preset/mp4_Projector.ffpreset -astrict -2 -vsync vfr -acodec copy -s 1280x720 Output0.mp4

​The above command was working perfectly till date in the code but all of a sudden this command didn't work for a particular .mov file and gave the following error:-

Too many packets buffered for output stream 0:1

The preset file that has been used, i.e., 'mp4_Projector.ffpreset' file's details is as follows:-

vcodec=libx264
vprofile=main
level=30
b:v=800000
bufsize=800000

The respective .mov file is not corrupted as it was playing with QuickTime player. The above command was giving correct transcoded .mp4 video file so far. Can't understand why this same command failed for a particular .mov file.

Requesting assistance to resolve this issue.




Thanks & Regards


Rakesh Chakraborty

Mail to: [hidden email]

________________________________
From: ffmpeg-user <[hidden email]> on behalf of Carl Zwanzig <[hidden email]>
Sent: 27 April 2020 21:13
To: [hidden email] <[hidden email]>
Subject: Re: [FFmpeg-user] FFMPEG Problem in macOS

*** EXTERNAL EMAIL: If sender is unknown, use caution when opening. ***


Hello,

On 4/27/2020 7:12 AM, Chakraborty, Rakesh via ffmpeg-user wrote:
> We have a MacBook application which has a screen recording feature as well as capturing the user from Camera (In-built MacBook Camera or any external Camera) who is using that application.

What is the application and have you contacted it's vendor/developers? There
may be an update.


> ffmpeg version 3.4.1-tessus Copyright (c) 2000-2017 the FFmpeg developers

That's a _very_ old version of ffmpeg and not supported here. First thing is
to get a new one, preferable last night's nightly build and try the same
command and input file (start from https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fdownload.html&amp;data=01%7C01%7Crakesh.chakraborty%40mheducation.com%7C7bb045a80aba4ae47d5e08d7eac1c5b6%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&amp;sdata=tcW%2FV2N93KniCpBkyl4GXWMCWecSSuBVqa8MmSx%2BrGY%3D&amp;reserved=0). If
that fails, then post the output here. Since it's using videolan's x264
software, that ought to be updated, too.

Do the .mov files play correctly with quicktime or vlc? (we don't know if
they're corrupt or not.)

(Something in your email is inserting blank lines.)

And please don't top-post on this list, if you're not sure what that is-
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.idallen.com%2Ftopposting.html&amp;data=01%7C01%7Crakesh.chakraborty%40mheducation.com%7C7bb045a80aba4ae47d5e08d7eac1c5b6%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&amp;sdata=9RgDNswN5EqZfHQ1QfrhQmT8%2FaRGJD%2B6whkWbjDrFcE%3D&amp;reserved=0

Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&amp;data=01%7C01%7Crakesh.chakraborty%40mheducation.com%7C7bb045a80aba4ae47d5e08d7eac1c5b6%7Cf919b1efc0c347358fca0928ec39d8d5%7C0&amp;sdata=T54ZofvqieDQnT0tUbLGrrJx7n5Z7YQU7UWAXSBadXc%3D&amp;reserved=0

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
The information contained in this message may be confidential and/or constitute a privileged attorney-client document.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify McGraw-Hill immediately by replying to the message and deleting it from your computer.  Thank you.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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