VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Hi,

    I want to remux my dreambox recordings to mp4 to be able to play them using apple tv 3.

    Anyone able to tell me whats going wrong?
    Thanks

    Code:
    ffmpeg version 1.0-tessus Copyright (c) 2000-2012 the FFmpeg developers
      built on Sep 28 2012 22:31:27 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
      configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
      libavutil      51. 73.101 / 51. 73.101
      libavcodec     54. 59.100 / 54. 59.100
      libavformat    54. 29.104 / 54. 29.104
      libavdevice    54.  2.101 / 54.  2.101
      libavfilter     3. 17.100 /  3. 17.100
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [h264 @ 0x102019000] non-existing PPS referenced
    [h264 @ 0x102019000] non-existing PPS 0 referenced
    [h264 @ 0x102019000] decode_slice_header error
    [h264 @ 0x102019000] no frame!
    [h264 @ 0x102019000] mmco: unref short failure
        Last message repeated 5 times
    [mpegts @ 0x102006a00] Stream #3: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 0x102006a00] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [NULL @ 0x102019c00] start time is not set in estimate_timings_from_pts
    [mpegts @ 0x102006a00] PES packet size mismatch
        Last message repeated 1 times
    Input #0, mpegts, from '/Users/gordon/Movies/X-Men Origins - Wolverine (2009).ts':
      Duration: 01:56:34.86, start: 36344.823589, bitrate: 6729 kb/s
      Program 61200 
        Stream #0:0[0x20](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:1[0xff]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
        Stream #0:2[0x103](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), s16, 384 kb/s (clean effects)
        Stream #0:3[0x105]: Unknown: none ([5][0][0][0] / 0x0005)
      Program 61201 
      Program 61204 
      Program 61205 
      Program 61290 
    Stream map '0:254' matches no streams.
    Quote Quote  
  2. "Stream map '0:254' matches no streams." indicates that you tried to so something with a stream which has the id 254, but looking at your output there is no such stream.
    Stream 0 -> german dvb subtitle
    Stream 1 -> video
    Stream 2 -> audio
    Streams 3 -> some stream ffmpeg doesn't understand

    can't tell you exactly what you did wrong or how to fix it properly since you did not post the ffmpeg call you used,..
    Quote Quote  
  3. Ah okay - thank you for the answer.
    I don't used any command line. It's from the log file of mp4tools.
    Quote Quote  
  4. Hybrid should be able to remux the audio&video to mp4.
    Start Hybrid, set 'Main->Audio handling to passthrough all', 'Main->Video handling to passthrough', specifiy a output file with .mp4 extension, enable: 'Config->Output settings->Container settings->MP4 settings->iTunes compatibility', press 'Main->Add to Queue' and 'Main->Start Queue' and if everything does right you should get a remuxed .m4a file with audio&video in it. (if not upload a small sample file and I can fix it tomorrow)

    Alternatively use ffmpeg through the command line:
    Code:
    ffmpeg -i input.MTS -vcodec copy -acodec copy output.mp4
    should do the trick too, assuming you ffmpeg version is not too old.

    Cu Selur
    Quote Quote  
  5. Okay I tried it with the command:

    Code:
    $ ffmpeg -i Es\ kommt\ noch\ dicker\ -\ S01E01.ts  -vcodec copy -acodec copy Es\ kommt\ noch\ dicker\ -\ S01E01.mp4
    ffmpeg version 1.0.1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Dec  7 2012 09:31:51 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
      configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --arch=x86_64 --enable-runtime-cpudetect
      libavutil      51. 73.101 / 51. 73.101
      libavcodec     54. 59.100 / 54. 59.100
      libavformat    54. 29.104 / 54. 29.104
      libavdevice    54.  2.101 / 54.  2.101
      libavfilter     3. 17.100 /  3. 17.100
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [h264 @ 0x7f9e94019000] non-existing PPS referenced
    [h264 @ 0x7f9e94019000] non-existing PPS 0 referenced
    [h264 @ 0x7f9e94019000] decode_slice_header error
    [h264 @ 0x7f9e94019000] no frame!
    ...
    [h264 @ 0x7f9e94019000] non-existing PPS referenced
    [h264 @ 0x7f9e94019000] non-existing PPS 0 referenced
    [h264 @ 0x7f9e94019000] decode_slice_header error
    [h264 @ 0x7f9e94019000] no frame!
    [h264 @ 0x7f9e94019000] mmco: unref short failure
        Last message repeated 5 times
    [mpegts @ 0x7f9e94006600] Stream #3: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 0x7f9e94006600] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [NULL @ 0x7f9e94019c00] start time is not set in estimate_timings_from_pts
    [mpegts @ 0x7f9e94006600] PES packet size mismatch
        Last message repeated 1 times
    Input #0, mpegts, from 'Es kommt noch dicker - S01E01.ts':
      Duration: 01:10:00.72, start: 91785.969278, bitrate: 11953 kb/s
      Program 61300 
        Stream #0:0[0x20](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:1[0xff]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 55.08 fps, 50 tbr, 90k tbn, 50 tbc
        Stream #0:2[0x103](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, s16, 384 kb/s (clean effects)
        Stream #0:3[0x105]: Unknown: none ([5][0][0][0] / 0x0005)
      Program 61301 
      Program 61302 
      Program 61303 
    [mp4 @ 0x7f9e9401a200] track 1: codec frame size is not set
    Output #0, mp4, to 'Es kommt noch dicker - S01E01.mp4':
      Metadata:
        encoder         : Lavf54.29.104
        Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 55.08 fps, 90k tbn, 90k tbc
        Stream #0:1(deu): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, stereo, 384 kb/s (clean effects)
    Stream mapping:
      Stream #0:1 -> #0:0 (copy)
      Stream #0:2 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 1514 fps=0.0 q=-1.0 size=   24098kB time=00:00:31.42 bitrate=6281.5kbits/frame= 1981 fps=1972 q=-1.0 size=   39246kB time=00:00:40.76 bitrate=7886.2kbits
    ...
    frame=182047 fps=836 q=-1.0 size= 5141137kB time=01:00:49.14 bitrate=11541.4kbitInvalid timestamps stream=1, pts=8924, dts=8589925516, size=52417
    [mpegts @ 0x7f9e94006600] Invalid timestamps stream=1, pts=10724, dts=8589927316, size=39609
    [mpegts @ 0x7f9e94006600] Invalid timestamps stream=1, pts=1724, dts=8589929116, size=27505
    [mpegts @ 0x7f9e94006600] Invalid timestamps stream=1, pts=3524, dts=8589930916, size=18145
    frame=182600 fps=837 q=-1.0 size= 5153910kB time=01:01:00.20 bitrate=11535.1kbitf
    ...
    frame=208644 fps=844 q=-1.0 size= 5803456kB time=01:09:41.70 bitrate=11369.0kbitframe=209052 fps=843 q=-1.0 size= 5809822kB time=01:09:49.86 bitrate=11359.3kbitPES packet size mismatch
    frame=209585 fps=843 q=-1.0 Lsize= 5822968kB time=01:10:00.52 bitrate=11356.1kbits/s    
    video:5621025kB audio:196509kB subtitle:0 global headers:0kB muxing overhead 0.093398%
    Seems all fine. It plays well with VLC but I can't add it to iTunes.
    Quote Quote  
  6. It plays well with VLC but I can't add it to iTunes.
    renaming the extension to .m4a instead of .mp4 might help (if not you H.264 content is probably not iTunes compatible,.. iTunes and Quicktime only support a subset of the H.264 standard)


    Cu Selur

    Ps.: instead of escaping each space it is easier to use "-marks.
    Quote Quote  
  7. I'm currently trying Hybrid. Thats maybe the easiest way.
    If that don't works I try to rename the other one. I thought m4a would be just audio.

    Thank you a lot.
    Quote Quote  
  8. I thought m4a would be just audio.
    It normally is intended for that, but hey since when does Apple follow format specifications? (to be fair '.m4a' is the suggested extension to use if you multiplex audio only into a mp4 container)
    Quote Quote  
  9. Okay it's done. Still can't add it to iTunes. So I start thinking it's maybe your assumption that the h.264 is not iTunes compatible...
    You know a fast way to make it compatible?

    I tried some tools that take hours, but that's not an option for me because I have a lot of recordings.
    Quote Quote  
  10. If the video stream is not compatible with iTunes you only option is to reencode them and that takes time.
    One of the problems you have is that you stream is 50fps and I'm pretty sure iTunes or at least appletv will not support anything above 30fps, see: https://www.apple.com/appletv/specs.html
    Quote Quote  
  11. I just tried iFlicks and it tells me that it couldn't add (his converted file) to iTunes, because iTunes is running in 64bit mode.

    I can play both videos (Hybrid and iFlicks) with Quicktime, but I cannot add any of them to iTunes.

    PS:
    I think the stream is 1080i - so it's interlaced - should be 25 frames for real.

    [Edit]
    25 frames is told by Hybrid too.
    Last edited by Manromen; 31st Dec 2012 at 06:23.
    Quote Quote  
  12. Wow - I really have to set iTunes to 32-bit to add videos:
    http://support.iflicksapp.com/entries/20294457-itunes-didn-t-accept-the-file-for-unkno...s-10-4-on-lion

    however - I still have to reencode my videos.

    Thank you Selur for your help.
    Quote Quote  
  13. judging from https://discussions.apple.com/thread/3819757 it looks like Apple TV (and probably iTunes) doesn't support 1080i
    (I'm off now preparing the new years festivities here )
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!