[mythtv-commits] Ticket #12602: lossless transcode that fills the disk loses the tail of the recording
MythTV
noreply at mythtv.org
Wed Jan 13 21:27:00 UTC 2016
#12602: lossless transcode that fills the disk loses the tail of the recording
------------------------------------------+---------------------------
Reporter: Timothy D Witham <twitham@…> | Owner: jyavenard
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythtranscode | Version: 0.27.5
Severity: medium | Resolution:
Keywords: disk full transcode truncate | Ticket locked: 0
------------------------------------------+---------------------------
Comment (by Timothy D Witham <twitham@…>):
To complete the reverse engineering, I think the actual open/write/close
is here:
https://ffmpeg.org/doxygen/trunk/libavformat_2file_8c_source.html
{{{
246 static int file_close(URLContext *h)
247 {
248 FileContext *c = h->priv_data;
249 return close(c->fd);
250 }
}}}
So yes, the actual return code from the OS should be available from
avio_close back in avformatwriter.cpp. Of course I could be wrong, but I
think it is worth a try to log the return code of avio_close and see what
value it has when disk has filled during transcode.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12602#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list