VideoHelp Forum


Try DVD Fab Video Downloader and rip Netflix video! Or Try DVD Fab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Sep 2008
    Location
    United States
    Search Comp PM
    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:\>
    Quote Quote  
  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
    Quote Quote  



Similar Threads