#11550: "-c copy" somehow failing ------------------------------------+----------------------------------- Reporter: Levan | Owner: (none) Type: defect | Status: closed Priority: normal | Component: ffmpeg Version: git-master | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by Levan):
Replying to [comment:4 MasterQuestionable]: > ͏ What error did you have decoding the MP4 output? > ͏ E.g. `ffmpeg -v debug -hide_banner -nostdin -nostats -i "x.mp4" -c copy -f null -` This is the output {{{ ffmpeg.exe -v debug -hide_banner -nostdin -nostats -i E:\seduce.mp4 -c copy -f null - Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-i' ... matched as input url with argument 'E:\seduce.mp4'. Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'null'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument debug. Applying option hide_banner (do not show program banner) with argument 1. Applying option nostdin (enable or disable interaction on standard input) with argument 0. Applying option nostats (print progress report during encoding) with argument 0. Successfully parsed a group of options. Parsing a group of options: input url E:\seduce.mp4. Successfully parsed a group of options. Opening an input file: E:\seduce.mp4. [AVFormatContext @ 000001f70a2ff580] Opening 'E:\seduce.mp4' for reading [file @ 000001f70a2c5340] Setting default whitelist 'file,crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] Processing st: 0, edit list 0 - media time: 0, duration: 301020 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] Processing st: 1, edit list 0 - media time: 0, duration: 240672 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] Before avformat_find_stream_info() pos: 16557529 bytes read:39713 seeks:1 nb_streams:2 Transform tree: mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft32_ns_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft32_ns_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: 96, factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only] fft16_ns_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 120, factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only] fft4_fwd_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 480, factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only] fft16_ns_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 512, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 256, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: 768, factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 960, factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only] fft32_ns_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_inv_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only] fft_sr_ns_float_avx - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] Transform tree: mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only] fft_sr_ns_float_avx - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [extract_extradata @ 000001f70a2e5bc0] No start code is found. [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff580] After avformat_find_stream_info() pos: 175403 bytes read:215072 seeks:2 frames:0 [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] could not find codec parameters [aist#0:1/aac @ 000001f70a317800] Guessed Channel Layout: stereo Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\seduce.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf62.0.100 Duration: N/A, bitrate: N/A Stream #0:0[0x1](eng), 0, 1/60000: Video: hevc, 1 reference frame (hvc1 / 0x31637668), none(tv, bt709), 1920x1080, 0/1, 26194 kb/s, SAR 1:1 DAR 16:9, 60 fps, 60 tbr, 60k tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](eng), 0, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 198 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] Successfully opened the file. Parsing a group of options: output url -. Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy. Applying option f (force container format (auto-detected otherwise)) with argument null. Successfully parsed a group of options. Opening an output file: -. [out#0/null @ 000001f70a317a00] No explicit maps, mapping streams automatically... [vost#0:0/copy @ 000001f70a300d80] Created video stream from input stream 0:0 [aost#0:1/copy @ 000001f70a311f00] Created audio stream from input stream 0:1 Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Output #0, null, to 'pipe:': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf62.0.100 Stream #0:0(eng), 0, 1/60000: Video: hevc, 1 reference frame (hvc1 / 0x31637668), none(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, q=2-31, 26194 kb/s, 60 fps, 60 tbr, 60k tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1(eng), 0, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 198 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] [out#0/null @ 000001f70a317a00] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] Starting thread... [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] EOF while reading input [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] Terminating thread with return code 0 (success) [out#0/null @ 000001f70a317a00] All streams finished [out#0/null @ 000001f70a317a00] Terminating thread with return code 0 (success) [out#0/null @ 000001f70a317a00] Output file #0 (pipe:): [out#0/null @ 000001f70a317a00] Output stream #0:0 (video): 301 packets muxed (16425977 bytes); [out#0/null @ 000001f70a317a00] Output stream #0:1 (audio): 235 packets muxed (124563 bytes); [out#0/null @ 000001f70a317a00] Total: 536 packets (16550540 bytes) muxed [out#0/null @ 000001f70a317a00] video:16041KiB audio:122KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown frame= 301 fps=0.0 q=-1.0 Lsize=N/A time=00:00:05.01 bitrate=N/A speed=54.1x [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] Input file #0 (E:\seduce.mp4): [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] Input stream #0:0 (video): 301 packets read (16425977 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] Input stream #0:1 (audio): 235 packets read (124563 bytes); [in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 000001f70a2ff340] Total: 536 packets (16550540 bytes) demuxed [AVIOContext @ 000001f70a2fdfc0] Statistics: 16590253 bytes read, 2 seeks }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/11550#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".