get_iplayer creating incomplete mp4 files

YellowYeti yellow.yeti at gmail.com
Thu Jan 5 08:01:32 PST 2017


I haven't tried it, but mediainfo

https://mediaarea.net/en/MediaInfo

claims to have a command line interface

https://mediaarea.net/en/MediaInfo/Screenshots - click on CLI output

which outputs video duration ( amongst a lot of other things by the 
looks of it! )




On 05/01/2017 14:38, Dave Widgery wrote:
> Hi thanks for the suggestion,  But I have discovered that if I run the
> command for example.
> get_iplayer "jonathan creek" --i | find "runtime"
> I get the result.
> runtime: 90
> which gives the length of the program in minutes, if anyone can
> suggest a simple dos utility (or maybe even a command line option for
> ffmpeg) so that I can then
> interrogate the mp4 file to get the actual length in minutes, I could
> use this to compare and verify the output file.
>
> Thanks
> Dave
>
> On 5 January 2017 at 13:18, Alan Milewczyk <alan at soulman1949.com> wrote:
>> Would logging the output and scanning the log for errors help? I know it's
>> not quite what you wanted but at least you'd be warned of errors in the
>> download.
>>
>> A
>>
>>
>> On 05-Jan-17 18:42, CJB wrote:
>>> Which version of GiP is this with? I used to get that with v2.95+ for
>>> both tv and radio - which is why I reverted back to 2.94.
>>>
>>> Sometimes my connection is flackey via a phone dongle, and also with
>>> busy wifi connections - when dropped packets cause a session to have
>>> to be crashed out, 'partial' files deleted, and the whole session
>>> restarted using --force.
>>>
>>> Huh - this also used be an issue with RadioDownloader over a flacky
>>> connection. The then developer of RD replied to me that it was not
>>> possible to check the size of the source file against that of the
>>> downloaded file.
>>>
>>> I guess the same pertains with GiP - something to do with RTPDump?
>>>
>>> CJB
>>>
>>> On 05/01/2017, Dave Widgery <dave.widgery at gmail.com> wrote:
>>>> Hi
>>>>
>>>> Is there anyway of stopping get_iplayer completing the process of
>>>> creating an mp4 file even though there have been errors in the
>>>> recording process.
>>>>
>>>> I have a slow internet connection hence the reason I use get_iplayer
>>>> rather than streaming the programs directly. but at busy times I can
>>>> get a lot of timeouts during the recording process sometimes the
>>>> recording process terminating before the end.
>>>>
>>>> This is annoying in its self but that is my internet connection, but
>>>> when the process continues and creates an mp4 file missing the last 5
>>>> minutes of a program or film it can be very annoying especially if it
>>>> is at a crucial point as happened to me recently with Jonathan Creek.
>>>>
>>>> I usually visualy scan the file size to see if it makes sense,
>>>> unfortunately in the last example the file size was about right for an
>>>> hour (I hadn't realised it should have been 1 1/2 hours).
>>>>
>>>> there must be a  simple way of comparing the expected recording size
>>>> with the actual size and flagging an error. (I am using the windows
>>>> version of get_iplayer)
>>>>
>>>> Regards
>>>> Dave Widgery
>>>>
>>>> _______________________________________________
>>>> get_iplayer mailing list
>>>> get_iplayer at lists.infradead.org
>>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>>
>>> _______________________________________________
>>> get_iplayer mailing list
>>> get_iplayer at lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>>
>>
>> _______________________________________________
>> get_iplayer mailing list
>> get_iplayer at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/get_iplayer
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer




More information about the get_iplayer mailing list