[FFmpeg-user] ffmpeg from .json file to .ts or .mp4 ?

pmcnamara patrick.w.mcnamara at gmail.com
Wed May 17 23:33:44 EEST 2017


YOU THE MAN !

On Wed, May 17, 2017 at 4:08 PM, Moritz Barsnick [via FFmpeg-users] <
ml+s933282n4680070h42 at n4.nabble.com> wrote:

> On Tue, May 16, 2017 at 13:41:31 -0700, pmcnamara wrote:
> > I'm trying to save a video playlist using ffmpeg..
> >
> > file playlist is
> > https://62skyfiregce-vimeo.akamaized.net/exp=1494971437~
> acl=%2F217020261%2F%2A~hmac=adbad75e94d1640960d2a3a5303f78
> 6508d3aaf13b43644d15f24c7b5b67616b/217020261/sep/video/
> 751054707,751054719,751054708/master.json?base64_init=1
>
> I get "HTTP/1.1 403 Forbidden". Is that link geo-restricted?
>
> > If I change the file type on the file above to .m3u8, I get this
> playlist.
>
> Have you tried passing that URL as input to ffmpeg? ffmpeg can handle
> m3u8 playlists, perhaps even yours.
>
> > If I copy out the playlist url extenstion and add it to the end of the
> URL
> > like this..
> >
> > https://62skyfiregce-vimeo.akamaized.net/exp=1494971437~
> acl=%2F217020261%2F%2A~hmac=adbad75e94d1640960d2a3a5303f78
> 6508d3aaf13b43644d15f24c7b5b67616b/217020261/sep/video/
> 751054719/playlist.m3u8
> >
> > It will play the video, but there is no sound ?
>
> I guess because video and audio have separate streams.
>
> You would have to do
> $ ffmpeg -i videostreamurl -i audiostreamurl -map 0 -map 1 -c copy ...
>
> But try the base URL first.
>
> > -- JSON --
>
> I don't think ffmpeg can handle json playlists. Which tools actually
> can?
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4680070&i=0>
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4680070&i=1>
> with subject "unsubscribe".
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://www.ffmpeg-archive.org/ffmpeg-from-json-file-to-ts-
> or-mp4-tp4680059p4680070.html
> To unsubscribe from ffmpeg from .json file to .ts or .mp4 ?, click here
> <http://www.ffmpeg-archive.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4680059&code=cGF0cmljay53Lm1jbmFtYXJhQGdtYWlsLmNvbXw0NjgwMDU5fDg1NDY1MzQzNg==>
> .
> NAML
> <http://www.ffmpeg-archive.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://www.ffmpeg-archive.org/ffmpeg-from-json-file-to-ts-or-mp4-tp4680059p4680072.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list