Jump to content

Corrupt MP4 recordings - unknown content bitrate


Pancho

Recommended Posts

Pancho
Server Version Version 3.0.5971.0 (runs on Unraid 6.1.9 Docker)

Silicondust Prime x2 (running latest MAY 2016 firmware 20160512atest1)

Cable Provider - Comcast

Same Network Switch connects both Emby & SiliconDust Prime units - no network hop.

Live TV Settings - Automatically convert recordings to a streaming friendly format - ON

Preserve original audio when converting recordings - ON

 

 

After the recent server update, I have been experiencing issues where some of my TV recordings (MP4) are unreadable when I go to play them back.   This doesn't happen for all shows, just random.   For example, last night 2 shows recorded fine (Conan - TBS, Person Of Interest - CBS).  From the log:

 

 

016-05-25 03:00:00.0627 Info HttpClient: HttpClientManager GET: http://192.168.0.30/tuners.html

2016-05-25 03:00:00.0662 Info App: GetChannelStream: channel id: hdhr_654_f3a9823dfef3fbb5076225a4cf0f64aa. stream id:

2016-05-25 03:00:00.0834 Info App: Beginning recording. Will record for 59.9986086333333 minutes.

2016-05-25 03:00:00.0834 Info App: Writing file to path: /recordedTV/Series/Person of Interest/Season 5/Person of Interest S05E08 Reassortment.mp4

2016-05-25 03:00:00.0834 Info App: Opening recording stream from tuner provider

2016-05-25 03:00:00.0834 Info App: /bin/ffmpeg -fflags +genpts -async 1 -vsync -1 -i "http://192.168.0.30:5004/auto/v654?duration=3600"-t 00:59:59.916 -sn -codec:v:0 libx264 -force_key_frames expr:gte(t,n_forced*5)  -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 25000000 -maxrate 25000000 -bufsize (25000000*2) -vsync -1 -profile:v high -level 41 -map_metadata -1 -threads 0 -codec:a:0 copy -y "/recordedTV/Series/Person of Interest/Season 5/Person of Interest S05E08 Reassortment.mp4"

 

2016-05-25 04:00:59.9996 Info App: Killing ffmpeg recording process for /recordedTV/Series/Person of Interest/Season 5/Person of Interest S05E08 Reassortment.mp4

 

 

But when I attempt to playback (Web, AndroidTV, IOS, etc.) I receive the following in the logs:

 

2016-05-25 13:55:52.0104 Info App: Cannot direct play due to unknown content bitrate

2016-05-25 13:55:52.0104 Info App: Cannot direct play due to unknown content bitrate

2016-05-25 13:55:52.0104 Info App: Profile: Unknown Profile, Path: /recordedTV/Series/Person of Interest/Season 5/Person of Interest S05E08 Reassortment.mp4, isEligibleForDirectPlay: False, isEligibleForDirectStream: False

 

 

I know it's the file, as I cannot play them back directly in MPC-HC either.   Any ideas?

 

Server Logs.zip

post-688-0-09500500-1464186205_thumb.jpg

Link to comment
Share on other sites

alex2883

Hello,

I Have the same problem since this afternoon with different videos.

My emby version is 3.0.5934.0 installed on Freenas.

 

It was a permission problem. All new download shows/movies were not accesible and the permission were not set correctly.

hanging the permission with a little chmod -R 755 solved the problem for me. I hope it will for you too.

 

Alex

Link to comment
Share on other sites

Hello,

I Have the same problem since this afternoon with different videos.

My emby version is 3.0.5934.0 installed on Freenas.

 

It was a permission problem. All new download shows/movies were not accesible and the permission were not set correctly.

hanging the permission with a little chmod -R 755 solved the problem for me. I hope it will for you too.

 

Alex

 

well done, thanks for the report.

Link to comment
Share on other sites

Pancho

Alex,

 

Thanks for the info.  I ran the  chmod -R 755 on my RECORDEDTV directory, and it doesn't seem to make a difference (see attached).   Stopped the docker, restarted, no change.   As a test, I copied the MP4 locally to my Win10 workstation, unfortunately I still cannot play it.   

post-688-0-53420200-1464196039_thumb.jpg

Edited by Pancho
Link to comment
Share on other sites

alex2883

have you tried to reconstruct the refresh database?

 

delete the file refreshinfo.db located in /var/db/emby-server/data and then refresh your database. perhaps your refresh info database is just corrupted.

But if it is the only file that cannot be played and that you cannot play it locally, the easiest solution is that the file itself is corrupted. Try to dowload an other release...

Link to comment
Share on other sites

Alex,

 

Thanks for the info.  I ran the  chmod -R 755 on my RECORDEDTV directory, and it doesn't seem to make a difference (see attached).   Stopped the docker, restarted, no change.   As a test, I copied the MP4 locally to my Win10 workstation, unfortunately I still cannot play it.   

 

Did you refresh the item in Emby after ensuring permissions?

Link to comment
Share on other sites

Pancho

Alex/Ebr,

 

I did refresh the item in Emby, with no luck.  It does appear to something wrong with the MP4 itself as I cannot play it local but I can play other Recorded shows (in Emby) without issue (even items that recorded after it).      Further inspection, Conan only recorded (1.4MB) and Person Of Interest recorded (1.90MB) which is why I cannot play them back.  Both shows recorded at the same time @ 9:00 p..m. last night. 

 

Could this be related to a performance issue with multiple streams from the HD Homerun are trying to write to the same drive at the same time?   The log shows the files recording the whole hour, but obviously that did not happen.

Edited by Pancho
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...