From: "Chang, Xiangzhong" <xiangzhong.chang@telia.no> To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] Ffmpeg/ffprobe not work well with a DASH stream Date: Thu, 17 Nov 2022 13:59:32 +0000 Message-ID: <PR3PR07MB811322643C0DC9746D9B3850E0069@PR3PR07MB8113.eurprd07.prod.outlook.com> (raw) Hi, Thank you so much for this amazing project. I’ve found this project has been extremely useful for me. I’ve found out that ffmpeg/ffplay does not work well with one of our DASH streams. In comparison, I’ve tried the following players 1. ExoPlayer 2. DASH-JS player<https://reference.dashif.org/dash.js/v4.5.1/samples/dash-if-reference-player/index.html> 3. Bitmovin JS player<https://bitmovin.com/demos/stream-test?format=dash&manifest=https%3A%2F%2Fdirector.livecdn.teliaplay.net%2Fnotvm%2Fmso%2FTV_1HD%2Fdash%2Fmanifest.mpd> I was using the following script trying to probe/transcoding one of our DASH stream. ``` ffprobe_g -loglevel debug "https://director.livecdn.teliaplay.net/notvm/mso/TV_1HD/dash/manifest.mpd?abs_begin=2022-11-16T08:00:00Z&is_live&no_dolby" ``` The following log have drawn my attention. It seems like ffprobe has failed to download some file chunks. ``` [dash @ 0x55b477e86880] DASH request for url 'https://director.livecdn.teliaplay.net/notvm/mso/TV_1HD/dash/video-stream-1-150182387590546.mp4', offset 0 [tcp @ 0x55b477f09080] Starting connection attempt to 84.208.9.142 port 443 [tcp @ 0x55b477f09080] Successfully connected to 84.208.9.142 port 443 [tcp @ 0x55b477ed0f00] Starting connection attempt to 84.208.9.21 port 443 [tcp @ 0x55b477ed0f00] Successfully connected to 84.208.9.21 port 443 [https @ 0x55b477eee1c0] HTTP error 404 Not Found ``` However, when I was using wget to download it, all works out ``` hhk9417@HC994R6KQD:~/Desktop$ wget https://director.livecdn.teliaplay.net/notvm/mso/TV_1HD/dash/video-stream-1-150182387590546.mp4 --2022-11-17 14:53:30-- https://director.livecdn.teliaplay.net/notvm/mso/TV_1HD/dash/video-stream-1-150182387590546.mp4 Resolving director.livecdn.teliaplay.net (director.livecdn.teliaplay.net)... 84.208.9.75, 84.208.9.76, 84.208.9.141, ... Connecting to director.livecdn.teliaplay.net (director.livecdn.teliaplay.net)|84.208.9.75|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://m323-cdne01.livecdn.teliaplay.net/notvm/mso/TV_1HD/dash/video-stream-1-150182387590546.mp4 [following] --2022-11-17 14:53:30-- https://m323-cdne01.livecdn.teliaplay.net/notvm/mso/TV_1HD/dash/video-stream-1-150182387590546.mp4 Resolving m323-cdne01.livecdn.teliaplay.net (m323-cdne01.livecdn.teliaplay.net)... 84.208.9.21 Connecting to m323-cdne01.livecdn.teliaplay.net (m323-cdne01.livecdn.teliaplay.net)|84.208.9.21|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1293307 (1,2M) [video/mp4] Saving to: ‘video-stream-1-150182387590546.mp4’ video-stream-1-150182387590546.mp4 100%[=====================================================================================================>] 1,23M --.-KB/s in 0,02s 2022-11-17 14:53:30 (50,8 MB/s) - ‘video-stream-1-150182387590546.mp4’ saved [1293307/1293307] ``` Regarding the FFmpeg SDK, I’m using the latest master branch, I’ve compiled it from scratch. The following are my compilation configs ``` --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-filter=delogo --enable-debug --disable-optimizations --enable-libspeex --enable-shared --enable-pthreads --enable-vaapi --enable-ffplay --disable-stripping --enable-debug=3 --enable-libopus --enable-libv4l2 --enable-zlib --enable-vaapi --enable-pthreads --enable-vdpau --enable-xlib --enable-libv4l2 --enable-libfreetype --enable-demuxer=dash --enable-libxml2 --enable-libaom --enable-libx265 --enable-openssl" #define FFMPEG_LICENSE "nonfree and unredistributable ``` Cheers. This email may contain information which is privileged or protected against unauthorized disclosure or communication. If you are not the intended recipient, please notify the sender and delete this message and any attachments from your system without producing, distributing or retaining copies thereof or disclosing its contents to any other person. Telia Company processes emails and other files that may contain personal data in accordance with Telia Company’s Privacy Policy<https://www.teliacompany.com/en/about-the-company/privacy/>. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2022-11-17 13:59 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-17 13:59 Chang, Xiangzhong [this message] 2022-11-18 11:26 ` Steven Liu 2022-11-18 12:45 ` Chang, Xiangzhong
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=PR3PR07MB811322643C0DC9746D9B3850E0069@PR3PR07MB8113.eurprd07.prod.outlook.com \ --to=xiangzhong.chang@telia.no \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git