Results 1 to 5 of 5

Thread: Transcoding .flv video to h.264/ac3 for Sammy C-series

  1. #1
    Join Date
    Sep 2010
    Posts
    16

    Default Transcoding .flv video to h.264/ac3 for Sammy C-series

    Hi!
    It's been a long while since I had any problems with ffmpeg and Mezzmo but here we go. I have a large .flv file from a car race that my PC can't transcode on the fly for some reason so I tried to pre-transcode it for my Samsun C-series TV. Here is the result:

    D:\Program Files (x86)\Conceiva\Mezzmo\ffmpeg.exe -y -fflags +genpts -i "Z:\Motorsport\Sports Car\Bathurst 12h\2014\Liqui-Moly Bathurst 12 Hour Saturday.flv" -map 0:v:0 -map 0:a:0 -c:v:0 copy -level 41 -bsf:v h264_mp4toannexb -filter:v "yadif" -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -subq 7 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -b_strategy 1 -x264opts direct-pred=auto:b-pyramid=normal:mixed-refs=1:weightb=1:8x8dct=1:fast-pskip=1:crf=22:ref=2:bframes=3:aud=1:me=hex -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -bidir_refine 1 -c:a:0 ac3_fixed -ac 1 -ab 448000 -ar 44100 -sn -threads 0 -async 0 -f matroska "D:\Users\Steven\AppData\Local\Conceiva\Mezzmo\Tra nscodingFiles\DAE6F66B-745D-46b5-930A-A570F45B8E3E\Video\47417-matroska_webm-libx264-ac3-sn.mzt"

    ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
    built on Mar 4 2013 17:38:17 with gcc 4.6.2 (GCC)
    configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
    libavutil 52. 17.103 / 52. 17.103
    libavcodec 54. 92.100 / 54. 92.100
    libavformat 54. 63.102 / 54. 63.102
    libavdevice 54. 3.103 / 54. 3.103
    libavfilter 3. 41.100 / 3. 41.100
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    Input #0, flv, from 'Z:\Motorsport\Sports Car\Bathurst 12h\2014\Liqui-Moly Bathurst 12 Hour Saturday.flv':
    Duration: 11:05:42.21, start: 0.033000, bitrate: 430 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 768x432, 533 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac, 44100 Hz, mono, fltp, 65 kb/s
    Output #0, matroska, to 'D:\Users\Steven\AppData\Local\Conceiva\Mezzmo\Tra nscodingFiles\DAE6F66B-745D-46b5-930A-A570F45B8E3E\Video\47417-matroska_webm-libx264-ac3-sn.mzt':
    Metadata:
    encoder : Lavf54.63.102
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 768x432, q=2-31, 533 kb/s, 1k tbn, 1k tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, mono, s16p, 448 kb/s
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (aac -> ac3_fixed)
    Press [q] to stop, [?] for help
    [flv @ 01a1db80] Stream discovered after head already parsed
    [flv @ 01a1db80] New data stream 0:2 at pos:364920 and DTS:4.865s
    frame= 2038 fps=0.0 q=-1.0 size= 9949kB time=00:01:21.48 bitrate=1000.2kbits/s
    frame= 4072 fps=0.0 q=-1.0 size= 19887kB time=00:02:42.84 bitrate=1000.5kbits/s
    frame= 6143 fps=4095 q=-1.0 size= 30022kB time=00:04:05.68 bitrate=1001.0kbits/s
    ...
    # lines omitted #
    ...
    frame=689667 fps=4033 q=-1.0 size= 3362963kB time=07:39:46.61 bitrate= 998.7kbits/s
    Truncating packet of size 18812 to 12785
    Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument

    <MEZZMO>: Child process ended with code: 109, ExitCode=-1073741819

    Any ideas? Could I have upgraded ffmpeg? What is the version that comes stock with version 3.4.4.0?

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Thanks for the information. Try pre-transcoding the file again but this time select the "Force full transcode of all channels" checkbox in the Pre-transcoding Formats dialog. It will transcode a little slower but it should fix the transcoding error you are getting.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3
    Join Date
    Sep 2010
    Posts
    16

    Default

    28fps vs 1000fps is a "little" slower yes... I'll let it run and see where it is tomorrow afternoon. It's 11 hours worth of video....

  4. #4
    Join Date
    Sep 2010
    Posts
    16

    Default

    "Force full transcode of all channels" worked! Thanks!

  5. #5
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    11,642

    Default

    Glad that worked Thanks for posting back.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

Similar Threads

  1. LG LE5400 series DTS to AC3 transcoding issue
    By dhlee528 in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 03-17-2013, 11:13 AM
  2. Transcoding MKV with DTS to LG 32LE5500 MKV with ac3 Requirementsproblem
    By bomag in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 10-08-2012, 04:34 PM
  3. Transcoding rmvb to Samsung C Series - framerate / lag
    By thomasnotatwork in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 06-06-2011, 08:58 AM
  4. Problem with Sasmsung C series and .FLV
    By Metoo in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 01-11-2011, 10:09 AM
  5. WDTV: Transcoding AAC 6-chan to AC3 6 chan
    By RMerlin in forum Mezzmo Questions and Support
    Replies: 9
    Last Post: 08-28-2010, 07:15 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •