Portál AbcLinuxu, 5. května 2025 13:26
$ ffprobe -hide_banner -analyzeduration 100000 -probesize 500000000 zaznam.ts [mpegts @ 0x64dab7462f80] start time for stream 0 is not set in estimate_timings_from_pts [mpegts @ 0x64dab7462f80] start time for stream 1 is not set in estimate_timings_from_pts [mpegts @ 0x64dab7462f80] start time for stream 2 is not set in estimate_timings_from_pts [mpegts @ 0x64dab7462f80] stream 0 : no TS found at start of file, duration not set [mpegts @ 0x64dab7462f80] stream 1 : no TS found at start of file, duration not set [mpegts @ 0x64dab7462f80] stream 2 : no TS found at start of file, duration not set [mpegts @ 0x64dab7462f80] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size Consider increasing the value for the 'analyzeduration' (100000) and 'probesize' (500000000) options [mpegts @ 0x64dab7462f80] Could not find codec parameters for stream 1 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size Consider increasing the value for the 'analyzeduration' (100000) and 'probesize' (500000000) options [mpegts @ 0x64dab7462f80] Could not find codec parameters for stream 2 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size Consider increasing the value for the 'analyzeduration' (100000) and 'probesize' (500000000) options Input #0, mpegts, from 'zaznam.ts': Duration: N/A, bitrate: N/A Program 1400 Stream #0:0[0x579]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn, 180k tbc Stream #0:1[0x57c](cze): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltp Stream #0:2[0x57d](qaa): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltpNejaký nápad, ako to opraviť, prosím? (Možno tam ten ab cryptobox iniciatívne vkladal nejaké default hodnoty, a NextPVR, ktorý mám ako backend teraz, to nerobí.)
file
byl fakt vtip ze? V zivote to poradne nefungovalo :)
$ mplayer -tsprobe 500000 zaznam.ts MPlayer 1.4 (Debian), built with gcc-11 (C) 2000-2019 MPlayer Team do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing zaznam.ts. libavformat version 58.76.100 (external) TS file format detected. TS_PARSE: COULDN'T SYNC NO VIDEO! NO AUDIO! (try increasing -tsprobe) NO SUBS (yet)! No stream found. Exiting... (End of file) $ mpv zaznam.ts [ffmpeg/demuxer] mpegts: start time for stream 0 is not set in estimate_timings_from_pts [ffmpeg/demuxer] mpegts: start time for stream 1 is not set in estimate_timings_from_pts [ffmpeg/demuxer] mpegts: start time for stream 2 is not set in estimate_timings_from_pts [ffmpeg/demuxer] mpegts: stream 0 : no TS found at start of file, duration not set [ffmpeg/demuxer] mpegts: stream 1 : no TS found at start of file, duration not set [ffmpeg/demuxer] mpegts: stream 2 : no TS found at start of file, duration not set [ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size [ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options [ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 1 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size [ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options [ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 2 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size [ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options (+) Video --vid=1 (h264) (+) Audio --aid=1 --alang=cze (mp3) Audio --aid=2 --alang=qaa (mp3) Cannot load libcuda.so.1 AV: 00:00:00 / unknown A-V: 0.000 Exiting... (Errors when loading file)
$ ffprobe -hide_banner -analyzeduration 500000 -probesize 500000000 -v verbose -show_format -show_streams zaznam.ts [mpegts @ 0x5e06c33e8f80] start time for stream 0 is not set in estimate_timings_from_pts [mpegts @ 0x5e06c33e8f80] start time for stream 1 is not set in estimate_timings_from_pts [mpegts @ 0x5e06c33e8f80] start time for stream 2 is not set in estimate_timings_from_pts [mpegts @ 0x5e06c33e8f80] stream 0 : no TS found at start of file, duration not set [mpegts @ 0x5e06c33e8f80] stream 1 : no TS found at start of file, duration not set [mpegts @ 0x5e06c33e8f80] stream 2 : no TS found at start of file, duration not set [mpegts @ 0x5e06c33e8f80] Could not find codec parameters for stream 0 (Video: h264, 1 reference frame ([27][0][0][0] / 0x001B), none): unspecified size Consider increasing the value for the 'analyzeduration' (500000) and 'probesize' (500000000) options [mpegts @ 0x5e06c33e8f80] Could not find codec parameters for stream 1 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size Consider increasing the value for the 'analyzeduration' (500000) and 'probesize' (500000000) options [mpegts @ 0x5e06c33e8f80] Could not find codec parameters for stream 2 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size Consider increasing the value for the 'analyzeduration' (500000) and 'probesize' (500000000) options Input #0, mpegts, from 'zaznam.ts': Duration: N/A, bitrate: N/A Program 1400 Stream #0:0[0x579]: Video: h264, 1 reference frame ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn, 180k tbc Stream #0:1[0x57c](cze): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltp Stream #0:2[0x57d](qaa): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltp [STREAM] index=0 codec_name=h264 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 profile=unknown codec_type=video codec_tag_string=[27][0][0][0] codec_tag=0x001b width=0 height=0 coded_width=0 coded_height=0 closed_captions=0 has_b_frames=0 sample_aspect_ratio=N/A display_aspect_ratio=N/A pix_fmt=unknown level=-99 color_range=unknown color_space=unknown color_transfer=unknown color_primaries=unknown chroma_location=unspecified field_order=unknown refs=1 is_avc=false nal_length_size=0 id=0x579 r_frame_rate=90000/1 avg_frame_rate=0/0 time_base=1/90000 start_pts=N/A start_time=N/A duration_ts=N/A duration=N/A bit_rate=N/A max_bit_rate=N/A bits_per_raw_sample=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 [/STREAM] [STREAM] index=1 codec_name=mp3 codec_long_name=MP3 (MPEG audio layer 3) profile=unknown codec_type=audio codec_tag_string=[3][0][0][0] codec_tag=0x0003 sample_fmt=fltp sample_rate=0 channels=0 channel_layout=unknown bits_per_sample=0 id=0x57c r_frame_rate=0/0 avg_frame_rate=0/0 time_base=1/90000 start_pts=N/A start_time=N/A duration_ts=N/A duration=N/A bit_rate=N/A max_bit_rate=N/A bits_per_raw_sample=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 TAG:language=cze [/STREAM] [STREAM] index=2 codec_name=mp3 codec_long_name=MP3 (MPEG audio layer 3) profile=unknown codec_type=audio codec_tag_string=[3][0][0][0] codec_tag=0x0003 sample_fmt=fltp sample_rate=0 channels=0 channel_layout=unknown bits_per_sample=0 id=0x57d r_frame_rate=0/0 avg_frame_rate=0/0 time_base=1/90000 start_pts=N/A start_time=N/A duration_ts=N/A duration=N/A bit_rate=N/A max_bit_rate=N/A bits_per_raw_sample=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 TAG:language=qaa [/STREAM] [FORMAT] filename=zaznam.ts nb_streams=3 nb_programs=1 format_name=mpegts format_long_name=MPEG-TS (MPEG-2 Transport Stream) start_time=N/A duration=N/A size=2350899580 bit_rate=N/A probe_score=50 [/FORMAT] [AVIOContext @ 0x5e06c33f2400] Statistics: 2382649580 bytes read, 8 seeksMyslím, že toto by nemali byť nuly:
width=0 height=0 coded_width=0 coded_height=0Teraz prísť na to, ktoré bajty treba hacknúť niekde v hlavičke.
https://links.vladob.torin.sk/amc_guliver_1.ts cca 65MB https://links.vladob.torin.sk/amc_guliver_2.ts cca 28MB
ffmpeg -f rawvideo -pix_fmt yuyv422 -s:v 1920x1080 -r 25 -i output.raw -c:v libx264 output.mp4
ffmpeg -f v4l2 ...
WARNING: library configuration mismatch ... [video4linux2,v4l2 @ 0x5ccdd548f6c0] ioctl(VIDIOC_QUERYCAP): Inappropriate ioctl for device zaznam.ts: Inappropriate ioctl for device
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.