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.
+ Reply to Thread
Results 1 to 13 of 13
-
-
"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,.. -
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
Cu Selur -
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%
-
I thought m4a would be just audio.
(to be fair '.m4a' is the suggested extension to use if you multiplex audio only into a mp4 container)
-
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. -
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 -
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.
-
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. -
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)
Similar Threads
-
FFmpeg error trying to convert audio in mp4
By Thunderhead2772 in forum Video ConversionReplies: 4Last Post: 30th Jan 2015, 09:24 -
Demux MKV/h.264/AC3-5.1 to MP4/h.264/AC3-5.1 (using MP4tools / mkvextract)
By xnu in forum Video ConversionReplies: 2Last Post: 17th Jun 2012, 06:42 -
Using the DGAVCdec audio delay value when muxing with ffmpeg
By johnnyquid in forum Video ConversionReplies: 2Last Post: 23rd Jul 2011, 09:58 -
ffmpeg help... convert mp4 to jpeg array, and back to mp4 - problem!
By SaskVideoMaker in forum Video ConversionReplies: 2Last Post: 4th Feb 2011, 04:53 -
Regarding ffmpeg muxing feature, is this posssible..?!
By Gew in forum Newbie / General discussionsReplies: 2Last Post: 15th Apr 2009, 19:08