NPC
Gold Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Здравствуйте. пытаюсь тут транскодировать http видео в телевизор LG webos 2.0, чёрный экран. Сама командная строка: ffmpeg -hide_banner -nostats -loglevel debug -i - -map 0:a:0 -map 0:v:0 -c:a:0 copy -c:v:0 copy -f mpegts Хотя в компе VLC играет транскодинг без проблем. если запускать эту ссылку в телевизоре, без транкодинга, тоже играет. Вот логи есть: Код: Splitting the commandline. Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'. Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Reading option '-i' ... matched as input url with argument '-'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a:0'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:v:0'. Reading option '-c:a:0' ... matched as option 'c' (codec name) with argument 'copy'. Reading option '-c:v:0' ... matched as option 'c' (codec name) with argument 'copy'. Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'. Reading option '-' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option hide_banner (do not show program banner) with argument 1. Applying option nostats (print progress report during encoding) with argument 0. Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input url -. Successfully parsed a group of options. Opening an input file: -. [NULL @ 0xa50344e0] Opening 'pipe:' for reading [pipe @ 0xa4c32fa0] Setting default whitelist 'crypto' [matroska,webm @ 0xa50344e0] Format matroska,webm probed with size=2048 and score=100 st:0 removing common factor 1000000 from timebase st:1 removing common factor 1000000 from timebase st:2 removing common factor 1000000 from timebase st:3 removing common factor 1000000 from timebase st:4 removing common factor 1000000 from timebase st:5 removing common factor 1000000 from timebase [matroska,webm @ 0xa50344e0] Before avformat_find_stream_info() pos: 6442 bytes read:8192 seeks:0 nb_streams:6 [h264 @ 0xa4cb0030] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0xa4cb0030] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0xa4cb0030] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0xa4cb0030] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0xa4cb0030] user data:"x264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:-3:-3 analyse=0x3:0x133 me=tesa subme=10 psy=0 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=9 b_pyramid=2 b_adapt=2 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=240 keyint_min=23 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=17.5 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=2:0.60" [h264 @ 0xa4cb0030] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0xa4cb0030] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0xa4cb0030] user data:"x264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:-3:-3 analyse=0x3:0x133 me=tesa subme=10 psy=0 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=9 b_pyramid=2 b_adapt=2 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=240 keyint_min=23 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=17.5 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=2:0.60" [h264 @ 0xa4cb0030] Reinit context to 960x720, pix_fmt: yuv420p [h264 @ 0xa4cb0030] no picture [matroska,webm @ 0xa50344e0] All info found [matroska,webm @ 0xa50344e0] After avformat_find_stream_info() pos: 73344 bytes read:73728 seeks:0 frames:68 Input #0, matroska,webm, from 'pipe:': Metadata: title : 15x07 - Tis the Fifteenth Season encoder : libebml v1.3.0 + libmatroska v1.4.0 creation_time : 2013-09-21T12:33:07.000000Z Duration: 00:22:00.57, start: 0.000000, bitrate: N/A Chapter #0:0: start 0.000000, end 29.487778 Metadata: title : Chapter 00 Chapter #0:1: start 29.487778, end 218.927022 Metadata: title : Chapter 01 Chapter #0:2: start 218.927022, end 488.779956 Metadata: title : Chapter 02 Chapter #0:3: start 488.779956, end 910.034111 Metadata: title : Chapter 03 Chapter #0:4: start 910.034111, end 1270.519244 Metadata: title : Chapter 04 Chapter #0:5: start 1270.519244, end 1320.565000 Metadata: title : Chapter 05 Stream #0:0(eng), 4, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 960x720 [SAR 1:1 DAR 4:3], 0/1, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Metadata: title : 15x07 - Tis the Fifteenth Season Stream #0:1(rus), 16, 1/1000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: title : RUS Stream #0:2(ukr), 16, 1/1000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s Metadata: title : UKR Stream #0:3(eng), 16, 1/1000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: title : ENG Stream #0:4(eng), 16, 1/1000: Audio: aac (HE-AAC), 48000 Hz, stereo, fltp Metadata: title : ENG, Commentary Stream #0:5(eng), 0, 1/1000: Subtitle: subrip Metadata: title : ENG Successfully opened the file. Parsing a group of options: output url -. Applying option map (set input stream mapping) with argument 0:a:0. Applying option map (set input stream mapping) with argument 0:v:0. Applying option c:a:0 (codec name) with argument copy. Applying option c:v:0 (codec name) with argument copy. Applying option f (force format) with argument mpegts. Successfully parsed a group of options. Opening an output file: -. [pipe @ 0xa4550fb0] Setting default whitelist 'crypto' Successfully opened the file. [mpegts @ 0xa4550510] muxrate VBR, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'pipe:': Metadata: title : 15x07 - Tis the Fifteenth Season encoder : Lavf57.83.100 Chapter #0:0: start 0.000000, end 29.487778 Metadata: title : Chapter 00 Chapter #0:1: start 29.487778, end 218.927022 Metadata: title : Chapter 01 Chapter #0:2: start 218.927022, end 488.779956 Metadata: title : Chapter 02 Chapter #0:3: start 488.779956, end 910.034111 Metadata: title : Chapter 03 Chapter #0:4: start 910.034111, end 1270.519244 Metadata: title : Chapter 04 Chapter #0:5: start 1270.519244, end 1320.565000 Metadata: title : Chapter 05 Stream #0:0(rus), 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: title : RUS Stream #0:1(eng), 0, 1/90000: Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 960x720 (0x0) [SAR 1:1 DAR 4:3], 0/1, q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 1k tbc (default) Metadata: title : 15x07 - Tis the Fifteenth Season Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (copy) cur_dts is invalid (this is harmless if it occurs once at the start per stream) Last message repeated 17 times Automatically inserted bitstream filter 'h264_mp4toannexb'; args='' cur_dts is invalid (this is harmless if it occurs once at the start per stream) Last message repeated 8 times av_interleaved_write_frame(): Connection reset by peer No more output streams to write to, finishing. Error writing trailer of pipe:: Connection reset by peer nput file #0 (pipe: Input stream #0:0 (video): 33 packets read (165330 bytes); Input stream #0:1 (audio): 48 packets read (36864 bytes); Input stream #0:2 (audio): 16 packets read (12288 bytes); Input stream #0:3 (audio): 16 packets read (40960 bytes); Input stream #0:4 (audio): 16 packets read (307 bytes); Input stream #0:5 (subtitle): 0 packets read (0 bytes); Total: 129 packets (255749 bytes) demuxed Output file #0 (pipe: Output stream #0:0 (audio): 48 packets muxed (36864 bytes); Output stream #0:1 (video): 33 packets muxed (165330 bytes); Total: 81 packets (202194 bytes) muxed 0 frames successfully decoded, 0 decoding errors [AVIOContext @ 0xd28530] Statistics: 0 seeks, 47 writeouts [AVIOContext @ 0xa5034a40] Statistics: 401408 bytes read, 0 seeks Conversion failed! |
|