Adding Files fails for same file types

MiNe
2013-12-26
2013-12-26
  • MiNe
    MiNe
    2013-12-26

    Hello am a newbe to mediatomb.

    Mediatomb runs perfect for audio files. Most video files are added
    without a problem. But some files will not although they seem to have
    the same type and permissions:

    file Arrow7.mp4 Arrow10.mp4
    Arrow7.mp4: ISO Media, MPEG v4 system, version
    1

    Arrow10.mp4: ISO Media, MPEG v4 system, version 1

    ls -l Arrow7.mp4
    Arrow10.mp4

    -rw-rw-r-- 1 dummy users 318271479 Nov 20 22:40
    Arrow10.mp4

    -rw-rw-r-- 1 dummy users 249238210 Oct 29 17:56 Arrow7.mp4

    If I add them there is no entry in the log file. The debug trail is
    obviously different. Any suggestions?

    Debug log:

    2013-12-26 07:45:15 DEBUG: [../src/web/add.cc:53] process(): add: start
    2013-12-26 07:45:15 DEBUG: [../src/web/add.cc:67] process(): add:
    returning
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:2409] run():
    running add file task with path /data/media/film/TV/Arrow/Arrow10.mp4
    recursive: 1
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:276]
    fillMetadata(): Running ffmpeg handler on
    /data/media/film/TV/Arrow/Arrow10.mp4
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:191]
    addFfmpegResourceFields(): Added duration: 00:41:27.4
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:201]
    addFfmpegResourceFields(): Added overall bitrate: 127953 kb/s
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:223]
    addFfmpegResourceFields(): FourCC: 31637661 = avc1
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:235]
    addFfmpegResourceFields(): Added resolution: 720x576 pixel
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:248]
    addFfmpegResourceFields(): Added sample frequency: 48000 Hz
    2013-12-26 07:45:15 DEBUG: [../src/metadata/ffmpeg_handler.cc:255]
    addFfmpegResourceFields(): Added number of audio channels: 2
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1258]
    addObject(): Adding: parent ID is -333
    2013-12-26 07:45:15 DEBUG: [../src/storage/sql_storage.cc:494]
    addObject(): insert_query: INSERT INTO "mt_cds_object"
    ("object_type","upnp_class","dc_title","resources","flags","location","location_hash","mime_type","parent_id","id")
    VALUES
    (2,'object.item.videoItem','Arrow10.mp4','0~protocolInfo=http-get%3A%2A%3Avideo%2Fmp4%3A%2A&size=318271479&duration=00%3A41%3A27%2E4&bitrate=127953&resolution=720x576&sampleFrequency=48000&nrAudioChannels=2~~4cc=avc1',1,'F/data/media/film/TV/Arrow/Arrow10.mp4',1446480733,'video/mp4',259639,427095)
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1264]
    addObject(): After adding: parent ID is 259639
    2013-12-26 07:45:15 DEBUG: [../src/storage/sql_storage.cc:2370]
    flushInsertBuffer(): flushing insert buffer (1 statements)
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:155]
    containerChanged(): containerChanged. id: 259639, signal: 1
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:174]
    containerChanged(): signalling...
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:237]
    threadProc(): sending updates...
    2013-12-26 07:45:15 DEBUG: [../src/layout/fallback_layout.cc:708]
    processCdsObject(): Process CDS Object: Arrow10.mp4
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1303]
    addContainerChain(): received chain: /Video/All Video
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1258]
    addObject(): Adding: parent ID is 385673
    2013-12-26 07:45:15 DEBUG: [../src/upnp_cds_subscriptions.cc:82]
    subscription_update(): start
    2013-12-26 07:45:15 DEBUG: [../src/upnp_cds_subscriptions.cc:106]
    subscription_update(): end
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:264]
    threadProc(): updates sent.
    2013-12-26 07:45:15 DEBUG: [../src/storage/sql_storage.cc:494]
    addObject(): insert_query: INSERT INTO "mt_cds_object"
    ("object_type","ref_id","dc_title","flags","mime_type","parent_id","id")
    VALUES (2,427095,'Arrow10.mp4',1,'video/mp4',385673,427096)
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1264]
    addObject(): After adding: parent ID is 385673
    2013-12-26 07:45:15 DEBUG: [../src/storage/sql_storage.cc:2370]
    flushInsertBuffer(): flushing insert buffer (1 statements)
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:155]
    containerChanged(): containerChanged. id: 385673, signal: 1
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:174]
    containerChanged(): signalling...
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:215]
    threadProc(): threadProc: sleeping for 2000 millis
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1303]
    addContainerChain(): received chain: /Video/Directories/Arrow
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1258]
    addObject(): Adding: parent ID is 427093
    2013-12-26 07:45:15 DEBUG: [../src/storage/sql_storage.cc:494]
    addObject(): insert_query: INSERT INTO "mt_cds_object"
    ("object_type","ref_id","dc_title","flags","mime_type","parent_id","id")
    VALUES (2,427095,'Arrow10.mp4',1,'video/mp4',427093,427097)
    2013-12-26 07:45:15 DEBUG: [../src/content_manager.cc:1264]
    addObject(): After adding: parent ID is 427093
    2013-12-26 07:45:15 DEBUG: [../src/storage/sql_storage.cc:2370]
    flushInsertBuffer(): flushing insert buffer (1 statements)
    2013-12-26 07:45:15 DEBUG: [../src/update_manager.cc:155]
    containerChanged(): containerChanged. id: 427093, signal: 0
    2013-12-26 07:45:17 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:45:17 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:45:17 DEBUG: [../src/update_manager.cc:237]
    threadProc(): sending updates...
    2013-12-26 07:45:17 DEBUG: [../src/upnp_cds_subscriptions.cc:82]
    subscription_update(): start
    2013-12-26 07:45:17 DEBUG: [../src/upnp_cds_subscriptions.cc:106]
    subscription_update(): end
    2013-12-26 07:45:17 DEBUG: [../src/update_manager.cc:264]
    threadProc(): updates sent.
    2013-12-26 07:45:20 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:45:20 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:46:27 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:46:27 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:46:32 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:46:32 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:46:55 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:46:55 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:46:55 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=add&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676&object_id=2f646174612f6d656469612f66696c6d2f54562f4172726f772f4172726f77372e6d7034,
    Path: (null)
    2013-12-26 07:46:55 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=add&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676&object_id=2f646174612f6d656469612f66696c6d2f54562f4172726f772f4172726f77372e6d7034
    2013-12-26 07:46:55 DEBUG: [../src/web/add.cc:53] process(): add: start
    2013-12-26 07:46:55 DEBUG: [../src/web/add.cc:67] process(): add:
    returning
    2013-12-26 07:46:55 DEBUG: [../src/content_manager.cc:2409] run():
    running add file task with path /data/media/film/TV/Arrow/Arrow7.mp4
    recursive: 1
    2013-12-26 07:46:57 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:46:57 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:47:00 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:47:00 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676
    2013-12-26 07:47:23 DEBUG: [../src/web_callbacks.cc:72]
    create_request_handler(): Filename:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676,
    Path: (null)
    2013-12-26 07:47:23 DEBUG: [../src/web_request_handler.cc:247] open():
    request:
    /content/interface?req_type=void&return_type=xml&sid=d13a967f30d30428a4c888e63ec97676