Jump to content

Emby LIVE TV - Recording creates multiple small files


CBers

Recommended Posts

CBers

I set up a recording for Emby to action overnight, but when I checked this morning, instead of having 1 large MP4 file, I had multiple 1kb MP4 files instead.

 

Is this a known issue ??

 

I can supply the server log later if required, but I did delete those files.

 

Link to comment
Share on other sites

CBers

Just set up another recording today and it has created 55 MP4 files, each of 32kb in size !!

 

There are errors in the server log:

2016-05-10 10:29:42.8394 Info App: FFMpeg recording exited with code 1 for X:\Emby Live TV\Series\Ramsay's Kitchen Nightmares USA\Season 3\Ramsay's Kitchen Nightmares USA S03E05 Grasshopper Also.mp4
2016-05-10 10:29:42.8394 Error App: Error recording to X:\Emby Live TV\Series\Ramsay's Kitchen Nightmares USA\Season 3\Ramsay's Kitchen Nightmares USA S03E05 Grasshopper Also.mp4
*** Error Report ***
Version: 3.0.5974.477
Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
Processor count: 4
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Recording for X:\Emby Live TV\Series\Ramsay's Kitchen Nightmares USA\Season 3\Ramsay's Kitchen Nightmares USA S03E05 Grasshopper Also.mp4 failed. Exit code 1
System.Exception
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EncodedRecorder.<Record>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV.<RecordStream>d__87.MoveNext()


2016-05-10 10:29:42.8394 Info App: Retrying recording in 60 seconds.
2016-05-10 10:29:42.8394 Info App: Creating recording timer for 4d3eaad374d14266a99b984b3084af1e, Ramsay's Kitchen Nightmares USA. Timer will fire in 1 minutes

Server and recording logs attached.

 

Please advise on a resolution.

 

server-63598470021.txt

record-transcode-3c9975ce-7b85-4b9a-b8b0-6fd42896cc7f.txt

record-transcode-30dd58f8-86c7-4420-9ac1-cf9e1677621f.txt

record-transcode-44ec9d7a-5594-47ca-a32b-4020d58a19d4.txt

record-transcode-af487359-f248-4341-9d8e-eaf11b7818db.txt

record-transcode-b6b61076-2965-4d44-803b-b75fd4c09a7c.txt

record-transcode-f3f8417c-be9e-4bd8-bc2b-2cd10f54c3ce.txt

Link to comment
Share on other sites

Nathanio

If you use the Convert to MP4 and then keep audio it will use an MKV instead and records happily. Running 3.0.5962.0

 

It doesn't like the AAC_LATM of FreeviewHD channels in an MP4 container but happy with it in an MKV... I'm sure it used to work into an MP4 mind you!

Link to comment
Share on other sites

  • 5 months later...
CBers

This issue seems to have come back.

 

On my DEV server, I have Live TV recordings set to convert to MKV and the recording is split up into multiple small files of the same name.

 

On my STABLE server, I have recordings set to convert to MP4 and only 1 file is created.

 

I haven't had a chance to grab logs as yet, but wanted to see/know if anyone else is seeing the same issue please.

 

Thanks.

Link to comment
Share on other sites

There are no recording changes in dev so it's more likely just something that happened with that particular recording

Link to comment
Share on other sites

Version 3.0.8300.0

 

My regularly scheduled recordings, 3 in particular for the wife, are consistently not 'completing' and accessable.  I still see them as active recordings. 

 

58114fab751a8_ScreenShot20161026at85016P

 

I tried deleting and re-creating the series from scratch no go.  I've included the server logs and the record transcode logs (2 of them).  Not sure but perhaps the transcode is getting hung up.

 

I'm going to turn off the post-transcode process and see if that gets me back to normal for now. Let me know if you want me to try a few things or need some additional information.

 

 

server_log.txt

transcode1 log.txt

transcode 2 log.txt

Link to comment
Share on other sites

Update: 2 out of 3 recordings worked fine with conversion to MP4 turned off. The last 1 was supposed to end 18 minutes ago but still shows that it's recording, although there is no tuner in use.

Link to comment
Share on other sites

Does the last file have any data or is it 0 byte?

/media/RecordedTV/Series/Access Hollywood/Season 21/Access Hollywood S21E46.ts
Link to comment
Share on other sites

25.31 min/sec should be 30 even no?

 

2016-10-27 19:34:58.8944 Info HttpServer: HTTP Response 200 to 192.168.1.22. Time: 2081ms (slow). http://192.168.1.4:8096/emby/Sync/Data?format=json
2016-10-27 19:56:23.7104 Info TaskManager: IntervalTrigger fired for task: Scan media library
2016-10-27 19:56:23.7104 Info TaskManager: Queueing task RefreshMediaLibraryTask
2016-10-27 19:56:23.7104 Info TaskManager: Executing Scan media library
2016-10-27 19:56:31.5052 Error App: Error opening live stream:

Edited by Kent
Link to comment
Share on other sites

CBers

I've gone back to mp4 as I had a few do this recently on dev version.

 

I'll see if I can get it to do it again

 

It was like this when converting to MKV was first added and was fixed, but happening in DEV and Stable.

 

I guess it's in Beta as well, but I don't currently have Beta installe to test with.

 

Hopefully @Luke/@ebr can fix it again :)

Link to comment
Share on other sites

CBers

The latest DEV release hasn't fixed this issue, although I thought it might have been following this comment.

 

Anyway, after testing a bit more, I found that it's only creating multiple MKV files on HD channels, as a SD channel recording only created 1 MKV file.

 

Under Recordings, I have multiple recordings of a HD programme:
 
58130f99958bb_Capture30.jpg
 
For a couple of the partial HD channel recordings, the Media Info is:
 
VideoCodecH264
AVCYes
ProfileHigh
Level40
Resolution1920x1080
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate25
Bitrate4433 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames4
NAL4
AudioCodecAAC
ProfileLC
Layoutstereo
Channels2 ch
Sample rate48000 Hz
DefaultYes
TitleAAC stereo Default
Containermkv
Path\\MEDIASERVER-3\Videos\Live TV\Breakfast\Breakfast 2016-10-28-8.mkv
 
VideoCodecH264
AVCYes
ProfileHigh
Level40
Resolution1920x1080
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate24.66667
Bitrate687 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames4
NAL4
AudioCodecAAC
ProfileLC
Layoutstereo
Channels2 ch
Sample rate48000 Hz
DefaultYes
TitleAAC stereo Default
Containermkv
Path\\MEDIASERVER-3\Videos\Live TV\Breakfast\Breakfast 2016-10-28-9.mkv

 

VideoCodecH264
AVCYes
ProfileHigh
Level40
Resolution1920x1080
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate25
Bitrate3440 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames4
NAL4
AudioCodecAAC
ProfileLC
Layoutstereo
Channels2 ch
Sample rate48000 Hz
DefaultYes
TitleAAC stereo Default
Containermkv
Path\\MEDIASERVER-3\Videos\Live TV\Breakfast\Breakfast 2016-10-28-13.mkv

 

VideoCodecH264
AVCYes
ProfileHigh
Level40
Resolution1920x1080
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate24.16667
Bitrate2473 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames4
NAL4
AudioCodecAAC
ProfileLC
Layoutstereo
Channels2 ch
Sample rate48000 Hz
DefaultYes
TitleAAC stereo Default
Containermkv
Path\\MEDIASERVER-3\Videos\Live TV\Breakfast\Breakfast 2016-10-28-12.mkv

 

The SD Channel Media Info is:

VideoCodecMPEG2VIDEO
ProfileMain
Level8
Resolution544x576
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate25
Bitrate1681 kbps
Pixel formatyuv420p
Ref frames1
AudioCodecMP2
Layoutstereo
Channels2 ch
Bitrate128 kbps
Sample rate48000 Hz
DefaultYes
TitleMP2 stereo Default
Containermkv
 
SD Channel Media Info:

 

VideoCodecMPEG2VIDEO
ProfileMain
Level8
Resolution544x576
Aspect ratio16:9
AnamorphicNo
InterlacedNo
Framerate25
Bitrate1681 kbps
Pixel formatyuv420p
Ref frames1
AudioCodecMP2
Layoutstereo
Channels2 ch
Bitrate128 kbps
Sample rate48000 Hz
DefaultYes
TitleMP2 stereo Default
Containermkv
 
Server log and a couple of Transcode Record logs attached.
.
 

 

server-log_20161028.txt

record-transcode_1.txt

record-transcode_2.txt

record-transcode_3.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...