Check your network connection problem

BytEvil
2012-10-07
2013-05-30
  • BytEvil

    BytEvil - 2012-10-07

    Hi.

     
  • BytEvil

    BytEvil - 2012-10-07

    I have Samsung SMART TV UE32EH5307. Mediatomb worked fine with transcoding in WMP, XBMC, PS3. TV natively not support m2ts and need to be transcoded. On TV transcoding worked, but at the end of the film TV says - please check your network connection.

    Here is /usr/local/bin/mediatomb-transcode-video-ffmpeg:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    #!/bin/bash
    INPUT=$1
    OUTPUT=$2
    VIDEO_CODEC=\"mpeg4\"
    VIDEO_BITRATE=\"24576k\"
    AUDIO_CODEC=\"mp2\"
    AUDIO_BITRATE=\"192k\"
    AUDIO_SAMPLERATE=\"48000\"
    AUDIO_CHANNELS=\"2\"
    FORMAT=\"dvd\"
    exec /usr/bin/ffmpeg -bufsize 5097k -threads 4 -i \"${INPUT}\" -vcodec ${VIDEO_CODEC} -b ${VIDEO_BITRATE} \\
    -acodec ${AUDIO_CODEC} -ab ${AUDIO_BITRATE} -ar ${AUDIO_SAMPLERATE} -ac ${AUDIO_CHANNELS} \\
    -f ${FORMAT} -copyts - > \"${OUTPUT}\" 2>/dev/null
    

    Here is last lines from debud log:

    2012-10-07 13:05:28   DEBUG: [../src/file_request_handler.cc:345] open(): start
    2012-10-07 13:05:28   DEBUG: [../src/file_request_handler.cc:360] open(): full url (filename): /content/media/object_id/200/res_id/none/pr_name/video-common/tr/1, parameters: object_id/200/res_id/none/pr_name/video-common/tr/1
    2012-10-07 13:05:28   DEBUG: [../src/file_request_handler.cc:370] open(): Opening media file with object id 200
    2012-10-07 13:05:28   DEBUG: [../src/file_request_handler.cc:506] open(): path: /WD/Video/Buduin.2012.MPEG-2.Blu-Ray.(1080i)/BDMV/STREAM/00000.m2ts
    2012-10-07 13:05:28   DEBUG: [../src/file_request_handler.cc:519] open(): fetching resource id -1
    2012-10-07 13:05:28   DEBUG: [../src/transcoding/transcode_ext_handler.cc:90] open(): start
    2012-10-07 13:05:28   DEBUG: [../src/tools.cc:1056] normalizePath(): Normalizing path: /tmp//mt_transcode_VU43LW
    2012-10-07 13:05:28   DEBUG: [../src/transcoding/transcode_ext_handler.cc:322] open(): creating fifo: /tmp/mt_transcode_VU43LW
    2012-10-07 13:05:28    INFO: Arguments: %in %out
    2012-10-07 13:05:28   DEBUG: [../src/process_executor.cc:77] ProcessExecutor(): Launched process /usr/local/bin/mediatomb-transcode-video-ffmpeg, pid: 5513
    2012-10-07 13:05:28   DEBUG: [../src/process_executor.cc:71] ProcessExecutor(): Launching process: /usr/local/bin/mediatomb-transcode-video-ffmpeg
    2012-10-07 13:05:28   DEBUG: [../src/io_handler_buffer_helper.cc:224] staticThreadProc(): starting buffer thread... thread: -1035471104
    2012-10-07 13:05:28   DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 9 -> 10
    2012-10-07 13:05:28   DEBUG: [../src/buffered_io_handler.cc:189] threadProc(): buffer: initial fillsize reached
    2012-10-07 13:05:29   DEBUG: [../src/web_callbacks.cc:72] create_request_handler(): Filename: /content/media/object_id/200/res_id/none/pr_name/video-common/tr/1, Path: (null)
    2012-10-07 13:05:29   DEBUG: [../src/file_request_handler.cc:78] get_info(): start
    2012-10-07 13:05:29   DEBUG: [../src/file_request_handler.cc:96] get_info(): full url (filename): /content/media/object_id/200/res_id/none/pr_name/video-common/tr/1, parameters: object_id/200/res_id/none/pr_name/video-common/tr/1
    2012-10-07 13:05:29   DEBUG: [../src/file_request_handler.cc:178] get_info(): path: /WD/Video/Buduin.2012.MPEG-2.Blu-Ray.(1080i)/BDMV/STREAM/00000.m2ts
    2012-10-07 13:05:29   DEBUG: [../src/file_request_handler.cc:198] get_info(): fetching resource id -1
    2012-10-07 13:05:29   DEBUG: [../src/file_request_handler.cc:332] get_info(): web_get_info(): end
    2012-10-07 13:05:31   DEBUG: [../src/io_handler_buffer_helper.cc:227] staticThreadProc(): buffer thread shut down. thread: -1035471104
    2012-10-07 13:05:31   DEBUG: [../src/process_io_handler.cc:438] close(): terminating process, closing /tmp/mt_transcode_VU43LW
    2012-10-07 13:05:31   DEBUG: [../src/process_io_handler.cc:438] close(): terminating process, closing /tmp/mt_transcode_VU43LW
    

    …and Meditomb is disconnected from the TV.

    What could be the problem?

    Sorry for my bad english, i`m russian :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks