OK I can't work out how to do the simplest mux without FFmpeg barfing on the streams...
The .264 is based on this http://www.x264bluray.com/home/576i-pal
The .wav is standard pcm_u8, 48000 Hz, 2 channels.
Help!
Here is the .m2ts try:
C:\>ffmpeg.exe -vcodec copy -i "M:\My Videos\576i25_bff_letterbox.264" -acodec copy -i "M:\My Videos\576i25_bff_letterbox..wav" -f mpegts "M:\My Videos\576i25_bff_letterbox.m2ts"
ffmpeg version 0.7, Copyright (c) 2000-2011 the Libav developers
built on Jul 18 2011 22:00:17 with gcc 4.5.2
configuration: --enable-shared --disable-static --enable-w32threads --prefix=../sharedbuild64
libavutil 51. 8. 0 / 51. 8. 0
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 3. 0 / 53. 3. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
[h264 @ 008dbca0] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2)
Input #0, h264, from 'M:\My Videos\576i25_bff_letterbox.264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 720x576 [PAR 128:117 DAR 160:117], 30 fps, 30 tbr, 1200k tbn, 60 tbc
[wav @ 008db7a0] max_analyze_duration reached
Input #1, wav, from 'M:\My Videos\576i25_bff_letterbox..wav':
Duration: 00:00:34.45, bitrate: 768 kb/s
Stream #1.0: Audio: pcm_u8, 48000 Hz, 2 channels, u8, 768 kb/s
[mpegts @ 02dfc580] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'M:\My Videos\576i25_bff_letterbox.m2ts':
Metadata:
encoder : Lavf53.3.0
Stream #0.0: Video: [0][0][0][0] / 0x0000, yuv420p, 720x576 [PAR 128:117 DAR 160:117], q=2-31, 90k tbn, 30 tbc
Stream #0.1: Audio: pcm_u8, 48000 Hz, 2 channels, 768 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press ctrl-c to stop encoding
[mpegts @ 02dfc580] first pts value must set
av_interleaved_write_frame(): Operation not permitted
C:\>
Here is the .mp4 try
C:\>ffmpeg.exe -vcodec copy -i "M:\My Videos\576i25_bff_letterbox.264"
-acodec copy -i "M:\My Videos\576i25_bff_letterbox..wav" "M:\My Videos\576i25_bff_letterbox.mp4"
ffmpeg version 0.7, Copyright (c) 2000-2011 the Libav developers
built on Jul 18 2011 22:00:17 with gcc 4.5.2
configuration: --enable-shared --disable-static --enable-w32threads --prefix=../sharedbuild64
libavutil 51. 8. 0 / 51. 8. 0
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 3. 0 / 53. 3. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
[h264 @ 005cbc40] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2)
Input #0, h264, from 'M:\My Videos\576i25_bff_letterbox.264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 720x576 [PAR 128:117 DAR 160:117], 30 fps, 30 tbr, 1200k tbn, 60 tbc
[wav @ 005cb740] max_analyze_duration reached
Input #1, wav, from 'M:\My Videos\576i25_bff_letterbox..wav':
Duration: 00:00:34.45, bitrate: 768 kb/s
Stream #1.0: Audio: pcm_u8, 48000 Hz, 2 channels, u8, 768 kb/s
[mp4 @ 02c7c580] track 1: could not find tag, codec not currently supported in container
Output #0, mp4, to 'M:\My Videos\576i25_bff_letterbox.mp4':
Metadata:
encoder : Lavf53.3.0
Stream #0.0: Video: ![0][0][0] / 0x0021, yuv420p, 720x576 [PAR 128:117 DAR 160:117], q=2-31, 30 tbn, 30 tbc
Stream #0.1: Audio: pcm_u8, 48000 Hz, 2 channels, 768 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)
C:\>
+ Reply to Thread
Results 1 to 2 of 2
-
-
ffmpeg has problems muxing raw avc streams
But true strict compliant blu-ray streams have to be raw. If the stream has ever been in a container, the sequence headers of the elementary stream have been altered
Also I don't think ffmpeg muxer has passed any blu-ray verification tests, I wouldn't use it as a blu-ray muxer for and pro or semi-pro use
Similar Threads
-
how can i mux to mp4 from h264/aac using ffmpeg
By DKhanh in forum Video ConversionReplies: 3Last Post: 24th Aug 2013, 11:50 -
Mux several MKV files to several m2ts files
By jomoe in forum Video ConversionReplies: 2Last Post: 10th Feb 2012, 03:14 -
Converting H.264, MP4, M2TS issues
By evilronin in forum Authoring (Blu-ray)Replies: 3Last Post: 20th Jul 2011, 21:03 -
.m2ts to .mp4; H.264, 1440:1080i; Tivo and Streambaby
By OmegaTCB in forum Newbie / General discussionsReplies: 2Last Post: 17th Jul 2011, 16:33 -
Audio out of sync problem with FFMPEG encoding MP4 (h.264,AAC)
By jenak1980 in forum Video ConversionReplies: 7Last Post: 5th May 2010, 01:03