[mythtv-users] transcode mp4 to mythtv playback capable file

Tim Draper veehexx at zoho.com
Wed Jun 22 19:29:58 UTC 2016




 ---- On Wed, 22 Jun 2016 20:11:02 +0100 Tim Draper <veehexx at zoho.com> wrote ---- 
 >  
 >  
 >  
 >  ---- On Wed, 22 Jun 2016 10:41:42 +0100 John Pilkington <J.Pilk at tesco.net> wrote ----  
 >  > On 22/06/16 09:55, Tim Draper wrote:  
 >  >   
 >  > > ahh... "mythffmpeg". i've been using ffmpeg with similar switches (i tried a few, non worked)  
 >  > > I'll play the test file i've just created tonight and see if it works.  
 >  > > thanks  
 >  >   
 >  > mythffmpeg is packaged in mythtv, mainly to avoid what used to be   
 >  > frequent changes in the ffmpeg interfaces.  They may differ in your box.   
 >  >   See (myth)ffmpeg --version  
 >  >   
 >  > _______________________________________________  
 >  > mythtv-users mailing list  
 >  > mythtv-users at mythtv.org  
 >  > http://lists.mythtv.org/mailman/listinfo/mythtv-users  
 >  > http://wiki.mythtv.org/Mailing_List_etiquette  
 >  > MythTV Forums: https://forum.mythtv.org  
 >  >  
 >  
 > still getting issues with the aformentioned mythffmpeg output file. 
 > # mythbackend -v playback,decode,file 
 > ... 
 > 2016-06-22 19:39:25.718577 E  SG(Videos): FindFile: Unable to find '24h_lemans/test1.mkv/VIDEO_TS'! 
 > 2016-06-22 19:39:25.719549 E  SG(Videos): FindFile: Unable to find '24h_lemans/test1.mkv/BDMV'! 
 > 2016-06-22 19:39:25.817656 E  SG(Videos): FindFile: Unable to find '24h_lemans/test1.mkv'! 
 > 2016-06-22 19:39:25.822068 I  MainServer::ANN Playback 
 > 2016-06-22 19:39:25.822073 I  adding: myth-fe1 as a client (events: 0) 
 > 2016-06-22 19:39:25.826748 I  MainServer::HandleAnnounce FileTransfer 
 > 2016-06-22 19:39:25.826751 I  adding: myth-fe1 as a remote file transfer 
 > 2016-06-22 19:39:25.827783 E  SG(Videos): FindFile: Unable to find '/24h_lemans/test1.mkv'! 
 > 2016-06-22 19:39:25.827787 E  ERROR: LocalFilePath unable to find local path for 'test1.mkv'. 
 > 2016-06-22 19:39:25.827792 E  Empty filename, cowardly aborting! 
 > ... 
 >  
 >  
 > not being too familiar with how the output should look, my video SG is pointing to /mnt/data/videos/. 24h_lemans/ folder is then within this location. 
 > permissions of this specific file are 777, and mythtv can play the other files in the 'video' SG fine. 
 >  
 >  
 > _______________________________________________ 
 > mythtv-users mailing list 
 > mythtv-users at mythtv.org 
 > http://lists.mythtv.org/mailman/listinfo/mythtv-users 
 > http://wiki.mythtv.org/Mailing_List_etiquette 
 > MythTV Forums: https://forum.mythtv.org 
 > 

should of probably included the mythffmpeg -i output of the bad file:
$ ffmpeg -i 24h_lemans/test1.mkv 
ffmpeg version 2.8.7 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
  configuration: <...SNIPPED...>
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from '24h_lemans/test1.mkv':
  Metadata:
    COMPATIBLE_BRANDS: mp41isom
    MAJOR_BRAND     : mp42
    MINOR_VERSION   : 0
    ENCODER         : Lavf54.63.104
  Duration: 00:35:13.67, start: 0.000000, bitrate: 15468 kb/s
    Stream #0:0(und): Video: h264 (High), yuv420p(tv, smpte170m/smpte170m/bt470m), 1920x1080 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 1k tbn, 120 tbc (default)
    Metadata:
      LANGUAGE        : und
      HANDLER_NAME    : VideoHandler
    Stream #0:1(und): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      LANGUAGE        : und
      HANDLER_NAME    : SoundHandler

------
and a working file:

$ ffmpeg -i working.mkv 
ffmpeg version 2.8.7 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
  configuration: <..SNIPPED..>
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from 'working.mkv':
  Metadata:
    encoder         : libebml v1.3.3 + libmatroska v1.4.4
    creation_time   : 2016-04-20 05:13:02
  Duration: 00:42:21.24, start: 0.000000, bitrate: 3441 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Metadata:
      BPS             : 3055008
      BPS-eng         : 3055008
      DURATION        : 00:42:21.239000000
      DURATION-eng    : 00:42:21.239000000
      NUMBER_OF_FRAMES: 76161
      NUMBER_OF_FRAMES-eng: 76161
      NUMBER_OF_BYTES : 970438429
      NUMBER_OF_BYTES-eng: 970438429
      _STATISTICS_WRITING_APP: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-04-20 05:13:02
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-04-20 05:13:02
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      BPS             : 383944
      BPS-eng         : 383944
      DURATION        : 00:42:21.134000000
      DURATION-eng    : 00:42:21.134000000
      NUMBER_OF_FRAMES: 79399
      NUMBER_OF_FRAMES-eng: 79399
      NUMBER_OF_BYTES : 121956864
      NUMBER_OF_BYTES-eng: 121956864
      _STATISTICS_WRITING_APP: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-04-20 05:13:02
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-04-20 05:13:02
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Subtitle: subrip (default)
    Metadata:
      BPS             : 72
      BPS-eng         : 72
      DURATION        : 00:42:13.296000000
      DURATION-eng    : 00:42:13.296000000
      NUMBER_OF_FRAMES: 705
      NUMBER_OF_FRAMES-eng: 705
      NUMBER_OF_BYTES : 23109
      NUMBER_OF_BYTES-eng: 23109
      _STATISTICS_WRITING_APP: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.0.1 ('Obstacles') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-04-20 05:13:02
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-04-20 05:13:02
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES



More information about the mythtv-users mailing list