Twonky media server does not recognize all video files (mp4) + missing folders

Hi

I have stange problem with video files ( mp4). Twonky media server shows only few video files from folder, most of the files are there, but twonky does not recognize them at all. All video files are mp4  files and they are located on the same folder…  I can play manually those files from PC, no problem at all.

Most of the missing files are created  by using HandBrake ( ISO ==> mp4 ).

Here are Handbrake settings what I used :

Any hints what might be wrong ?

I have rebooted mycluod twice and also updated database manually. FW is up to date.

Some folders does not appear either. 

EDIT !

I noticed that twonky has problem with mp4 files.

- Fixed a problem for shared folder options that were set to “Video” only. MP4-videos (and possibly other container formats) were not detected and therefore not shown in the shared media items.

http://www.twonkyforum.com/viewtopic.php?f=2&t=11350&sid=29c15cb5c9acf41cb6d407dc81da12f4

If this is the case, when we can expect to get latest twonky server version to mycloud ?

vepasto wrote:

http://www.twonkyforum.com/viewtopic.php?f=2&t=11350&sid=29c15cb5c9acf41cb6d407dc81da12f4

As that webpage shows, that issue was fixed in 7.0.11.   That’s generations older than what’s on the cloud (7.2.8)

what is in the log-file?
log has to be activated at 

WD-IP:9000/#advanced
    - LOGGING
    - enable Logging

Log-file at

WD-IP:9000/rpc/log_getfile

should show items like:

15:04:51:093 [Error] - LOG_SCAN: db_add_video : /shares/Filme/(_HUMOR_)/PETER FRANKENFELD/HUMOR IST TRUMPF/PETER FRANKENFELD - PAPI GEHTS GUT -.AVI: file is invalid
15:04:51:093 [Error] - LOG_SCAN: Error: 2 No such file or directory

15:04:51:114 [Error] - LOG_SCAN: db_add_video : /shares/Filme/(_HUMOR_)/PETER FRANKENFELD/HUMOR IST TRUMPF/PETER FRANKENFELD - AM MORGEN DANACH -.AVI: file is invalid
15:04:51:114 [Error] - LOG_SCAN: Error: 2 No such file or directory

I rebooted server and log file says:

17:26:54:371 [Error] - LOG_EVENTING: handleConnections : Received error in unsubscribe (2020) response 404 from http://127.0.0.1:9000
17:26:54:372 [Error] - LOG_EVENTING: Error: 11 Resource temporarily unavailable

17:26:59:425 [Startup] - LOG_SYSTEM: server_main_impl : ***Starting TwonkyServer (Product Name:Twonky, Version:7.2.8, Build-date:Aug 14 2014)***
17:26:59:425 [Startup] - LOG_SYSTEM: server_main_impl : using logfile /CacheVolume/twonkymedia/twonkymedia-log.txt
17:26:59:425 [Startup] - LOG_SYSTEM: server_main_impl : Executable file: /usr/local/twonkymedia-7/twonkyserver
17:26:59:425 [Startup] - LOG_SYSTEM: server_main_impl : Command Line Parameters: 9
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 1:-D
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 2:-ip
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 3:192.168.11.5
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 4:-httpport
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 5:9000
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 6:-appdata
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 7:/CacheVolume/twonkymedia
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 8:-logfile
17:26:59:426 [Startup] - LOG_SYSTEM: server_main_impl : cmdline 9:/CacheVolume/twonkymedia/twonkymedia-log.txt
17:26:59:434 [Startup] - LOG_SYSTEM: upnp_ini_file_read_properties_impl : reading ini settings from /CacheVolume/twonkymedia/twonkyserver.ini
17:26:59:456 [Startup] - LOG_SYSTEM: upnp_ini_file_read_properties_impl : friendlyname = %HOSTNAME%
17:26:59:456 [Startup] - LOG_SYSTEM: upnp_ini_file_read_properties_impl : ip = 192.168.11.5
17:26:59:457 [Startup] - LOG_SYSTEM: upnp_ini_file_read_properties_impl : nicrestart = 1
17:27:00:480 [Error] - LOG_SYSTEM: upnp_multiuser_load : load user-db from twonky.users: failed
17:27:00:480 [Error] - LOG_SYSTEM: Error: 2 No such file or directory

17:27:14:891 [Error] - LOG_SCAN: db_add_video : /shares/Public/Shared Music/Negative/Rocksound_Part_II.avi: file is invalid
17:27:14:891 [Error] - LOG_SCAN: Error: 2 No such file or directory

17:27:30:192 [Error] - LOG_SYSTEM: upnp_socket_connect_timeout : connect/select 192.168.11.12:5001 FAILED after 30000 ms with error "Operation now in progress".
17:27:30:192 [Error] - LOG_SYSTEM: Error: 115 Operation now in progress

Twonky founds only 5 videos from 41. All videos are mp4 files and are located on the same folder. No erros from shared videos frolder.

Despite of those other erros , systems works file.

It seems that this is bug. I renamed video files and now twonky founds all the files.

Thank God that twonky founds all photos, renaming more than 10 000 files…

vepasto wrote:

It seems that this is bug. I renamed video files and now twonky founds all the files.

You renamed them from what – to what?

Just small change to name. For example, Brave2014.mp4  ==> Brave.mp4.

Same applied to missing folders.

I have been fighting the same problem for the past few days - multiple mp4 files, encoded with exactly the same settings, apart from video bit rates. Some get correctly detected as videos, other show up as audio.

I have been recoding to different mp4 formats and wasn’t having any luck. Changing the file name appears to solve the problem and the mp4 files are then correctly recognised by twonky as a video file.

Slightly bizarre. This may not be a My Cloud issue, but more likely a Twonky server issue.

I’d be interested to hear what might be causing this bug? It doesn’t seem to be a length of file, or file size issue.

Thanks

Asher wrote:

I have been fighting the same problem for the past few days - multiple mp4 files, encoded with exactly the same settings, apart from video bit rates. Some get correctly detected as videos, other show up as audio.

 

I have been recoding to different mp4 formats and wasn’t having any luck. Changing the file name appears to solve the problem and the mp4 files are then correctly recognised by twonky as a video file.

 

Slightly bizarre. This may not be a My Cloud issue, but more likely a Twonky server issue.

 

I’d be interested to hear what might be causing this bug? It doesn’t seem to be a length of file, or file size issue.

 

Thanks

Since MP4 can be either video or audio, I’m thinking there’s a metadata element that Twonky sees in the video that triggers it to sort as Audio.

It likely won’t happen if you use the M4V extension (Which is MP4 Video.)

It might be metadata, but then why would just changing the file name cause the file to be recognised? No change to file data, or extension.

But yes, changing the extension to mkv, also causes the file to become visible and recognised as a video file.

Asher wrote:
It might be metadata, but then why would just changing the file name cause the file to be recognised? No change to file data, or extension.

But yes, changing the extension to mkv, also causes the file to become visible and recognised as a video file.

But it’s not an MKV file.   MKV is a totally separate format than MP4.

M4V IS an MP4 file, as is M4A, all with the same format.

Its not a .mkv, but gets recognised and played correctly, with just a manual change in file extension.

This is the odd thing, it isnt a problem with the encoding as per say, but how the .mp4 file is detected as video vs audio by twonky. Changing just the file name is enough to get the files correctly scanned and identified.