Page 2 of 2

Thank You !!! - replacing ffmpeg with avconv works perfectly

PostPosted: Thu Nov 03, 2016 3:58 pm
by reactiv8
John,

thank you so much !!! - Replacing ffmpeg with avconv works perfectly, apart from some spurious (?!) error messages !!! :~

Image

Now downloads and converts to MPEG-4 all in one !!! - Wunderbar !!!

Image

Yours truly is one happy bunny !!!

Thanks also to @richmond 62 who gave me the original link to Greasemonkey!

Much appreciated both.

I'll make a careful note of all of the above so I don't bother either of you with dozey questions!

Pardon, I'm not quite sure what you meant by "Would you mind editing your post to include that ffmpeg command-line inbetween code tags ?" - Perhaps this is irrelevant now ???

Chris.

Re: get_iplayer & converting .ts (Video) Transport Stream (F

PostPosted: Thu Nov 03, 2016 4:37 pm
by johnlane
I'm glad you got it working :)

The ffmpeg (and avconv) output often contains loads of warnings like those that can be safely ignored if the produced file plays fine.

I guess your problem with get_iplayer is that it is trying to invoke ffmpeg which you don't have. You could work around with something like:

Code: Select all
$ sudo ln /usr/bin/{avconv,ffmpeg}

(that's assuming your avconv is at /usr/bin/avconv, using which avconv will confirm that for you; also assuming that /usr/bin/ffmpeg does not exist aready!).

What I meant by "Would you mind editing your post to include that complete command-line inbetween code tags ?" was if you could take the ffmpeg (or avconv) command-line text you showed in your terminal screen-shot and paste it literally in a post reply. If you do it between code tags then it will format nicely (press the code button in the tool-bar above the post window in the "full reply" mode.) That's just to make the post pretty though - if it doesn't make sense then just paste the command directly into a post and I can take it from there...

Just so I can cut and paste it rather than having to re-type it :)

/bin/usr/avconv & Code

PostPosted: Fri Nov 04, 2016 9:24 am
by reactiv8
John,

sorry for the delay!

Thanks for the heads-up about the warning messages!

Yes avconv is at /bin/usr/avconv for me ...

Also, the Code I used is here :~

Code: Select all
avconv -v 16 -stats -i "http://cp401489-vh.akamaihd.net/i/iplayerstream/secure_auth/,3200kbps/modav/bUnknown-3cbbb831-6442-4461-8c16-8b97ca057e11_b0682970_1442699974954,.mp4.csmil/index_0_av.m3u8" -codec copy -qscale 0 -bsf:a aac_adtstoasc Canals_The_Making_of_a_Nation_5_The_Boat_People.mp4


I hope I'm conforming to the LV protocol better now?!

Thanks again - I hugely appreciate the Linux community :P

Chris.

Re: get_iplayer & converting .ts (Video) Transport Stream (F

PostPosted: Fri Nov 04, 2016 10:53 am
by johnlane
Well that is cool. I never knew you could just pull a stream like that. It's piqued my interest and a little searching has revealed a few interesting things.

The domain used in the example, akamaihd.net, is a content delivery network used by the BBC and others.

There are loads of live streams that you can get, see this. You can do Media->Open Network Stream in VLC.

Also take a look at this for a load more streaming URLs. My favourite has to be NASA TV HD: http://nasatv-lh.akamaihd.net/i/NASA_10 ... aster.m3u8

Surely this qualifies as a "find" ??? :D

'Find' of the day ?! - Video streams etc ...

PostPosted: Fri Nov 04, 2016 4:57 pm
by reactiv8
John,

it certainly does qualify !!! - I have to say that I'm glad now that I started this thread and persevered, because I was about to give up ... :D

Needless to say, I'll be recording all of this in my own 'How To', but it would also be great to publish in Linux Voice or Full Circle Magazine perhaps ?! :idea:

Thanks for the links/tips !!!

Chris.

Pardon - Photobucket is currently down for maintenance ...

PostPosted: Fri Nov 04, 2016 6:22 pm
by reactiv8
Pardon - Apologies for temporary lack of images above - Photobucket is currently down for maintenance ... :roll:

Have a good weekend Linux-Lovers and thanks again to @richmond62 and John !!! :D

Chris.

Re: get_iplayer & converting .ts (Video) Transport Stream (F

PostPosted: Wed Apr 05, 2017 5:05 pm
by reactiv8
Thanks @tsfiles !!

I may well have done, but it is some time ago now and we seem to have got around it.

I'll investigate your links for future conversions etc.

As always, much respect for my wise Linux peers !!! :mrgreen:

Regards,
Chris.

youtube-dl and back to get_iplayer ...

PostPosted: Fri Jun 23, 2017 5:34 pm
by reactiv8
Back again ...

I hadn't used Greasemonkey to download from BBC iPlayer for a while and it seems that something has changed meanwhile :~

Image

Pretty please does any one know what went wrong ??? :?

Anyway, taking a chance, I went back to using get_iplayer and it worked, so I'm 'relieved' but Greasemonkey was good whilst it worked ... :roll:

Chris.