TMD Hosting working on Web

edited February 2015 in Customizations
TMD Hosting working on Web site with the following

encoding

-vcodec copy -acodec libmp3lame -f mp4


However cant get it working on mobile site.
Any ideas or suggestions would be appreciated

Log is as follows



==================================================================
H.264 ENCODING
==================================================================

H.264 Encoding Command: /usr/bin/ffmpeg -i /home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4 -vcodec copy -acodec libmp3lame -f mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav_temp.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1

H.264 Encoding Output:


ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 4 2013 12:45:33 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.48.101
Duration: 00:02:20.58, start: 0.036281, bitrate: 431 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 800x600, 297 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s
Metadata:
handler_name :
Output #0, mp4, to '/home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav_temp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf53.32.100
Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 800x600, q=2-31, 297 kb/s, 25 fps, 12800 tbn, 12800 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: mp3 (i[0][0][0] / 0x0069), 44100 Hz, stereo, s16, 128 kb/s
Metadata:
handler_name :
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
frame= 307 fps= 0 q=-1.0 size= 764kB time=00:00:12.12 bitrate= 516.4kbits/s
frame= 631 fps=571 q=-1.0 size= 1572kB time=00:00:25.12 bitrate= 512.3kbits/s
frame= 957 fps=596 q=-1.0 size= 2346kB time=00:00:38.16 bitrate= 503.5kbits/s
frame= 1302 fps=618 q=-1.0 size= 3036kB time=00:00:51.95 bitrate= 478.6kbits/s
frame= 1640 fps=629 q=-1.0 size= 3723kB time=00:01:05.48 bitrate= 465.7kbits/s
frame= 1954 fps=629 q=-1.0 size= 4416kB time=00:01:18.00 bitrate= 463.8kbits/s
frame= 2266 fps=628 q=-1.0 size= 5006kB time=00:01:30.51 bitrate= 453.1kbits/s
frame= 2572 fps=626 q=-1.0 size= 6060kB time=00:01:42.73 bitrate= 483.2kbits/s
frame= 2909 fps=631 q=-1.0 size= 6545kB time=00:01:56.19 bitrate= 461.4kbits/s
frame= 3182 fps=622 q=-1.0 size= 6989kB time=00:02:07.11 bitrate= 450.4kbits/s
frame= 3514 fps=621 q=-1.0 Lsize= 7427kB time=00:02:20.47 bitrate= 433.1kbits/s
video:5105kB audio:2198kB global headers:0kB muxing overhead 1.712887%


Comments



  • ==================================================================
    H.264 SHIFT MOOV ATOM
    ==================================================================

    H.264 Shift Moov Atom Command: /home/myvidsne/public_html/tmdtest/cc-core/system/bin/qtfaststart /home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav_temp.mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1

    H.264 Shift Moov Atom Output:


    Removing free atom at 32 (8 bytes)
    Patching stco with 3513 entries
    Patching stco with 3513 entries
    Writing output...




    ==================================================================
    Mobile ENCODING
    ==================================================================

    Mobile Encoding Command: /usr/bin/ffmpeg -i /home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4 -vcodec copy -acodec libmp3lame -f mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav_temp.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1

    Mobile Encoding Output:


    ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 4 2013 12:45:33 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
    libavutil 51. 35.100 / 51. 35.100
    libavcodec 53. 61.100 / 53. 61.100
    libavformat 53. 32.100 / 53. 32.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 61.100 / 2. 61.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf55.48.101
    Duration: 00:02:20.58, start: 0.036281, bitrate: 431 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 800x600, 297 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
    handler_name :
    Output #0, mp4, to '/home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav_temp.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf53.32.100
    Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 800x600, q=2-31, 297 kb/s, 25 fps, 12800 tbn, 12800 tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(und): Audio: mp3 (i[0][0][0] / 0x0069), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
    handler_name :
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (aac -> libmp3lame)
    Press [q] to stop, [?] for help
    frame= 72 fps= 0 q=-1.0 size= 160kB time=00:00:02.76 bitrate= 472.6kbits/s
    frame= 73 fps= 36 q=-1.0 size= 160kB time=00:00:02.76 bitrate= 472.6kbits/s
    frame= 406 fps=160 q=-1.0 size= 1021kB time=00:00:16.11 bitrate= 518.8kbits/s
    frame= 732 fps=241 q=-1.0 size= 1823kB time=00:00:29.17 bitrate= 511.8kbits/s
    frame= 811 fps=211 q=-1.0 size= 1994kB time=00:00:32.28 bitrate= 505.9kbits/s
    frame= 1150 fps=265 q=-1.0 size= 2704kB time=00:00:45.84 bitrate= 483.2kbits/s
    frame= 1485 fps=307 q=-1.0 size= 3437kB time=00:00:59.27 bitrate= 475.1kbits/s
    frame= 1825 fps=341 q=-1.0 size= 4122kB time=00:01:12.85 bitrate= 463.5kbits/s
    frame= 2154 fps=369 q=-1.0 size= 4743kB time=00:01:26.02 bitrate= 451.7kbits/s
    frame= 2368 fps=373 q=-1.0 size= 5236kB time=00:01:34.56 bitrate= 453.6kbits/s
    frame= 2657 fps=388 q=-1.0 size= 6212kB time=00:01:46.10 bitrate= 479.6kbits/s
    frame= 2982 fps=406 q=-1.0 size= 6696kB time=00:01:59.11 bitrate= 460.5kbits/s
    frame= 3306 fps=421 q=-1.0 size= 7076kB time=00:02:12.07 bitrate= 438.9kbits/s
    frame= 3514 fps=428 q=-1.0 Lsize= 7427kB time=00:02:20.47 bitrate= 433.1kbits/s
    video:5105kB audio:2198kB global headers:0kB muxing overhead 1.712887%




  • ==================================================================
    FASTSTART
    ==================================================================

    Faststart Command: /home/myvidsne/public_html/tmdtest/cc-core/system/bin/qtfaststart /home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav_temp.mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1Faststart Output:


    Removing free atom at 32 (8 bytes)
    Patching stco with 3513 entries
    Patching stco with 3513 entries
    Writing output...




    ==================================================================
    THUMB CREATION
    ==================================================================

    Thumb Creation Command: /usr/bin/ffmpeg -i /home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4 -ss 70 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -t 1 -r 1 -f mjpeg /home/myvidsne/public_html/tmdtest/cc-content/uploads/thumbs/NOtixov4PNGX3wlpXtav.jpg >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1Thumb Creation Output:


    ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 4 2013 12:45:33 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
    libavutil 51. 35.100 / 51. 35.100
    libavcodec 53. 61.100 / 53. 61.100
    libavformat 53. 32.100 / 53. 32.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 61.100 / 2. 61.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf55.48.101
    Duration: 00:02:20.58, start: 0.036281, bitrate: 431 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 800x600, 297 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
    handler_name :
    Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
    [buffer @ 0x1e3f5c0] w:800 h:600 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
    [scale @ 0x1e320c0] w:800 h:600 fmt:yuv420p -> w:640 h:480 fmt:yuvj420p flags:0x4
    Output #0, mjpeg, to '/home/myvidsne/public_html/tmdtest/cc-content/uploads/thumbs/NOtixov4PNGX3wlpXtav.jpg':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf53.32.100
    Stream #0:0(eng): Video: mjpeg, yuvj420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 1 tbc
    Metadata:
    handler_name : VideoHandler
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 -> mjpeg)
    Press [q] to stop, [?] for help
    frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
    frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
    frame= 0 fps= 0 q=0.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
    frame= 3 fps= 2 q=3.1 Lsize= 168kB time=00:00:03.00 bitrate= 459.0kbits/s dup=0 drop=22
    video:168kB audio:0kB global headers:0kB muxing overhead 0.000000%


    =======================================
    convert log


    // Converter Called...
    Values passed to encoder:
    Array
    (
    [0] => /home/myvidsne/public_html/tmdtest/cc-core/system/encode.php
    [1] => --video=28
    )

    Validating requested video...
    Establishing variables...
    Verifying raw video exists...
    Verifying raw video was valid size...

    Preparing for: H.264 Encoding...
    H.264 Encoding Command: /usr/bin/ffmpeg -i /home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4 -vcodec copy -acodec libmp3lame -f mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav_temp.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1
    Verifying H.264 video was created...

    Checking qt-faststart permissions...

    Shifting moov atom on H.264 video...
    H.264 Shift Moov Atom Command: /home/myvidsne/public_html/tmdtest/cc-core/system/bin/qtfaststart /home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav_temp.mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/h264/NOtixov4PNGX3wlpXtav.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1
    Verifying final H.264 file was created...

    Preparing for: Mobile Encoding...
    Mobile Encoding Command: /usr/bin/ffmpeg -i /home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4 -vcodec copy -acodec libmp3lame -f mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav_temp.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1
    Verifying Mobile video was created...

    Shifting moov atom on Mobile video...
    Faststart Command: /home/myvidsne/public_html/tmdtest/cc-core/system/bin/qtfaststart /home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav_temp.mp4 /home/myvidsne/public_html/tmdtest/cc-content/uploads/mobile/NOtixov4PNGX3wlpXtav.mp4 >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1
    Verifying final Mobile file was created...

    Retrieving video duration...
    Duration command results:
    Array
    (
    [0] => Duration: 00:02:20.58, start: 0.036281, bitrate: 431 kb/s
    )

    Duration in Seconds: 140
    Thumb Position: 70

    Preparing to create video thumbnail...
    Thumbnail Creation Command: /usr/bin/ffmpeg -i /home/myvidsne/public_html/tmdtest/cc-content/uploads/temp/NOtixov4PNGX3wlpXtav.mp4 -ss 70 -vf "scale=min(640\,iw):trunc(ow/a/2)*2" -t 1 -r 1 -f mjpeg /home/myvidsne/public_html/tmdtest/cc-content/uploads/thumbs/NOtixov4PNGX3wlpXtav.jpg >> /home/myvidsne/public_html/tmdtest/cc-core/logs/NOtixov4PNGX3wlpXtav.log 2>&1
    Verifying valid thumbnail was created...

    Updating video information...
    Deleting raw video...
    Video ID: 28, has completed processing!




    =================================

    Using chrome on Galaxy note 2 Video does not work
This discussion has been closed.