Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques FFMPEG muxing is a miracle (NOT) – I’m going nuts!

  • FFMPEG muxing is a miracle (NOT) – I’m going nuts!

    Posted by Rafael Bastos on March 13, 2012 at 4:26 am

    Hi all,

    I’m a c++ developer and I’m using win32 builds from Zeranoe (https://ffmpeg.zeranoe.com/builds/). A strange thing is happening when I try to convert a simple MPEG1 video (only video) to H264 in a .mov container: the output result of my software plays flawlessly in VLC, but in QuickTime it also plays, but shows a black image during the entire video, although it can identify the codec, resolution and video length. Now the miracle: if I run ffmpeg, with “-vcodec copy” to create a similar .mov output file, the video also plays in QuickTime as it should.

    These are the video files:
    – not working: https://www.mediafire.com/?x8o5a65k8skckd3
    – working: https://www.mediafire.com/?r9t8o1emlo2aplj

    Does anyone have a clue what this could be? I’m getting crazy with this! I’ve been liking bits and bytes for the past 5 days and I can’t crack it! I’ve already compared the binary data produced, and it seems to be related to the initial header of the file, although metadata and video information are the same.

    Please, if this has already happened to you (developer) and you know what it is, please contact me directly (rafael.afonso.bastos AT gmail.com) or through this forum.

    Thank you in advance!

    Best regards,
    –rb

    Michael Rampe replied 14 years, 4 months ago 3 Members · 3 Replies
  • 3 Replies
  • Reuben Martin

    March 13, 2012 at 6:04 pm

    Those builds are built from the git development branch. Not a good idea to use them in production. Find of build of the 0.10 release version.

  • Rafael Bastos

    March 13, 2012 at 6:21 pm

    Ok. Thank you for your answer. I’ll give it a try, although I’m starting to lose hope 🙁

    regards,
    –rb

  • Michael Rampe

    March 21, 2012 at 12:22 pm

    If vcodec copy fixes it, you have a container issue.

    Can you post command line output for both to compare? (ffmpeg -i file.mov)
    Also, ffprobe is useful for investigations like this but may not be complete depending on version…..

    Best to post your version info and the header reads;-)

    Michael

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy