yt-dlp have a fixupm3u8 feature to fixing MPEG-TS in MP4 container when download video mp4
but is there a way to use this feature even on videos not downloaded from yt-dlp?
if i have a video.mp4 downloaded with IDM or N_m3u8DL-RE i can to use this fix with yt-dlp on a video that has already been downloaded? how to?
+ Reply to Thread
Results 1 to 7 of 7
-
-
You can find the answer to your question in the [debug] section at the end of the download when yt-dlp does [FixUpM3u8]
As you can see, it just calls ffmpeg with the only parameter needed for fixing MPEG-TS in MP4.
So, you do not need to use yt-dlp for fixing MPEG-TS in existing file, ffmpeg will do this perfectly with following command:
Code:ffmpeg -i video.mp4 -movflags +faststart -vcodec copy -acodec copy -absf aac_adtstoasc output.mp4
-
@ noweleger
after over 1 year, i can see your post today only ...! sorry for that
anyway nice to know. a big thanks for your reply, very useful -
mmm ...
i have downloaded a simply video file .ts, no encrypted, from m3u8 link, audio+video, with N_m3u8DL-RE
if i can check error with ffmpeg i've this:
Code:[mpegts @ 0000000000422e40] start time for stream 2 is not set in estimate_timings_from_pts
Code:[mpegts @ 00000000005441c0] start time for stream 2 is not set in estimate_timings_from_pts Input #0, mpegts, from 'master_2023-10-99.ts': Duration: 00:50:12.88, start: 0.101000, bitrate: 1877 kb/s Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 852x720 [SAR 640:639 DAR 16:9], 24 fps, 24 tbr, 90k tbn Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 169 kb/s Stream #0:2[0x102]: Data: timed_id3 (ID3 / 0x20334449) Output #0, mpegts, to 'master_2023-10-99_ok.ts': Metadata: encoder : Lavf60.15.101 Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 852x720 [SAR 640:639 DAR 16:9], q=2-31, 24 fps, 24 tbr, 90k tbn Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 169 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [mpegts @ 0000000003188b40] AAC bitstream not in ADTS format and extradata missing Last message repeated 201 times [mpegts @ 0000000003188b40] AAC bitstream not in ADTS format and extradata missing Last message repeated 173 times [mpegts @ 0000000003188b40] AAC bitstream not in ADTS format and extradata missing Last message repeated 211 times [mpegts @ 0000000003188b40] AAC bitstream not in ADTS format and extradata missing Last message repeated 211 times [mpegts @ 0000000003188b40] AAC bitstream not in ADTS format and extradata missing
here no error like '[mpegts @ 0000000003188b40] AAC bitstream not in ADTS format and extradata missing'
but the final video (master_2023-10-99_ok.ts) have same issue:
Code:[mpegts @ 0000000000422e40] start time for stream 2 is not set in estimate_timings_from_pts
Similar Threads
-
Need help for download with yt-dlp
By sibhus in forum Video Streaming DownloadingReplies: 26Last Post: 19th Feb 2024, 15:02 -
how work yt-dlp
By whs912km in forum Video Streaming DownloadingReplies: 18Last Post: 22nd Nov 2022, 20:43 -
yt-dlp question
By blanc in forum Video Streaming DownloadingReplies: 9Last Post: 26th Mar 2022, 11:00 -
Help with yt-dlp
By Loryanam2 in forum Video Streaming DownloadingReplies: 1Last Post: 5th Jan 2022, 11:57 -
DLP Chip
By biferi in forum Newbie / General discussionsReplies: 1Last Post: 8th Apr 2021, 15:53