Results 1 to 8 of 8

Thread: Avidemux: Cannot find a demuxer for .m2v

  1. #1
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    16

    Question Avidemux: Cannot find a demuxer for .m2v

    Before upgrading to openSUSE 13.1 I took the opportunity and finally nuked my Windows partitions. When rearranging the linux partitions from extended to primary it seemed easier to create virgin partitions, restore the backup of /home and do a new installation.

    Almost everything is glorious now and I'm even more enthusiastic about openSUSE. Only processing .m2v videos with Avidemux won't work. Here's what I did before:

    • Kaffeine: Record a TV-Show (DVB-T) in m2t format.
    • ProjectX: Demux m2t --> m2v + mp2
    • Avidemux: Process m2v + mp2 --> avi (so my standalone-player can handle it)


    Surprisingly Avidemux now refuses to open the m2v: 'Cannot find a demuxer for /home/henning/Videos/temp/TV-Show.m2v'
    MPlayer doesn't mplay it as well, while UMPlayer, Handbrake and Kaffeine work fine.

    I installed codecs etc with 1-Click-Installation from opensuse-community.org/Restricted_formats/13.1

    Installed MPEG codecs:
    Code:
    henning@monkeys-tool:~> ffmpeg -codecs | grep mpeg
    ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
    […]
      libavutil      52. 48.101 / 52. 48.101
      libavcodec     55. 39.101 / 55. 39.101
      libavformat    55. 19.104 / 55. 19.104
      libavdevice    55.  5.100 / 55.  5.100
      libavfilter     3. 90.100 /  3. 90.100
      libavresample   1.  1.  0 /  1.  1.  0
      libswscale      2.  5.101 /  2.  5.101
      libswresample   0. 17.104 /  0. 17.104
      libpostproc    52.  3.100 / 52.  3.100
     DEV..S ffv1                 FFmpeg video codec #1
     DEVI.S ffvhuff              Huffyuv FFmpeg variant
     DEV.L. mpeg1video           MPEG-1 video (decoders: mpeg1video mpeg1video_vdpau )
     DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo mpegvideo_vdpau )
     DEV.L. mpeg4                MPEG-4 part 2 (decoders: mpeg4 mpeg4_vdpau ) (encoders: mpeg4 libxvid )
     D.V.L. mpegvideo_xvmc       MPEG-1/2 video XvMC (X-Video Motion Compensation)
     D.V.L. msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
     DEV.L. msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
     DEV.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
    henning@monkeys-tool:~> ffmpeg -codecs | grep m2v
    [no relevant output]
    My
    • Board: Gigabyte K8NF4G-SATA2
    • CPU: AMD Sempron 3000+
    • Graphics: nVidia GT200 [GeForce 210]
    • Linux: 3.11.6-4-desktop
    • openSUSE: 13.1 (Bottle) (i586)
    • KDE: 4.11.2
    • Avidemux 2.6.6, Frontend Avidemux3-qt4


    I have no clue where to look for what missing codec, so every hint is appreciated.

  2. #2

    Default Re: Avidemux: Cannot find a demuxer for .m2v

    Quote Originally Posted by Hebri View Post
    ProjectX: Demux m2t --> m2v + mp2
    Should not be necessary. Avidemux can open the m2t directly (it's mpeg2 anyway).

    Surprisingly Avidemux now refuses to open the m2v: 'Cannot find a demuxer for /home/henning/Videos/temp/TV-Show.m2v'
    MPlayer doesn't mplay it as well, while UMPlayer, Handbrake and Kaffeine work fine.
    MPlayer and Avidemux use their own codecs (MPlayer has an internal copy of ffmpeg f.e.).
    Strange though that UMPlayer would work then, since it's just a frontent to MPlayer I'd guess?


    • Avidemux 2.6.6, Frontend Avidemux3-qt4


    I have no clue where to look for what missing codec, so every hint is appreciated.
    That's Avidemux3 which has completely changed AFAIK.
    I just tried with the older Avidemux2? (Package avidemux, version 2.5.6) which I have installed, and I cannot load mpeg files as well (with Avidemux and MPlayer), but some .m2t files work strange enough.
    So there seems to be a problem on 13.1, I will investigate.

    In the meantime, you could transcode the m2t to avi before you process it with Avidemux (but again, opening some .m2t files works here). I don't know if ProjectX can do that, but you could at least use ffmpeg (or even VLC) for that.

  3. #3
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    16

    Default AW: Avidemux: Cannot find a demuxer for .m2v

    Hello wolfi323,

    ProjectX: Demux m2t --> m2v + mp2
    Should not be necessary. Avidemux can open the m2t directly (it's mpeg2 anyway).
    Last time I tried audio and video went increasingly out of sync.
    Also ProjectX fixes small errors in the stream.

    Strange though that UMPlayer would work then, since it's just a frontent to MPlayer I'd guess?
    I think so too. MPlayer was required for the installation of UMPlayer.

    I just found out another thing:
    Right-click on TV-Show.m2v > open with... > MPlayer: Starts own frontend, doesn't work
    Command line > "mplayer TV-Show.m2v": No frontend, but works

    In the meantime, you could transcode the m2t to avi before you process it with Avidemux (but again, opening some .m2t files works here). I don't know if ProjectX can do that, but you could at least use ffmpeg (or even VLC) for that.
    I think I remember something about VLC and MPlayer (?) not to be both installed.
    I'm no big VLC-Fan anyway, but writing some ffmpeg-script could be an interesting task for a rainy weekend.

    My Avidemux opens the .m2t and I will try now to transcode directly to .avi, leaving ProjectX and .m2v out of the chain.

    Thanks for your answer.

  4. #4
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    16

    Default AW: Avidemux: Cannot find a demuxer for .m2v

    Off Topic: FYI
    Encoding the .m2t file directly to .avi worked, but performance was very poor.
    I hardly achieved 10 frames/sec, partly because of feeble hardware, but I expected something like 30.
    Picture quality looks allright, but I have no comparison.

    On topic: The issue remains
    If I find a better way to encode DVB streams to .avi I would gladly adopt it, but avoiding the problem does not solve it.

    Why does Avidemux insist on demuxing a .m2v file which has no audio?
    What demuxer is missing and how can I obtain it?

    Another idea: The .m2v is created by ProjectX. Although default settings always worked fine and I hardly ever messed them up, ProjectX was newly installed and may conflict with existing settings from the older version.
    Hopefully I will find out within the next few days.
    Any ideas about which settings to start botching with?

  5. #5

    Default Re: Avidemux: Cannot find a demuxer for .m2v

    Quote Originally Posted by Hebri View Post
    Off Topic: FYI
    Encoding the .m2t file directly to .avi worked, but performance was very poor.
    I hardly achieved 10 frames/sec, partly because of feeble hardware, but I expected something like 30.
    Picture quality looks allright, but I have no comparison.
    Hm. It should be exactly the same regardless whether you open the .m2t file directly or demux it to m2v/mp2 first.
    As I already said, .m2t _is_ just mpeg2, except that it contains more information like EPG and teletext in this case.

    On topic: The issue remains
    If I find a better way to encode DVB streams to .avi I would gladly adopt it, but avoiding the problem does not solve it.
    Well, IMHO you were trying to avoid/circumvent a problem by demuxing with ProjectX first, no?

    Why does Avidemux insist on demuxing a .m2v file which has no audio?
    Because .m2v has more streams, like teletext and EPG f.e.

    What demuxer is missing and how can I obtain it?
    Missing? If it insists on demuxing, a demuxer must be there, no?
    Or do I misunderstand you here?

    Another idea: The .m2v is created by ProjectX. Although default settings always worked fine and I hardly ever messed them up, ProjectX was newly installed and may conflict with existing settings from the older version.
    Hopefully I will find out within the next few days.
    Any ideas about which settings to start botching with?
    Sorry, I have never used ProjectX myself.

    And regarding Avidemux (and MPlayer as well):
    They seemed a bit flakey yesterday in opening mpg/m2t videos. As you suggested I tried mplayer afterwards, and _could_ open the same files gmplayer couldn't before. And afterwards even gmplayer could open them... Maybe the problem with gmplayer is not the file itself, but opening the video output device?
    I had no time then to play more with this, maybe I'll play around with that more today.
    But I have installed some updates since then.

    Btw, have a look in YaST->Software Management if some packages from Packman are marked blue (update available) and update them manually.
    There was a problem that some packages had the wrong vendor, this has been fixed. But since YaST/zypper/the update applet don't do vendor changes by default, they won't get updated now anymore until you switch them manually once.

  6. #6

    Default Re: Avidemux: Cannot find a demuxer for .m2v

    Quote Originally Posted by Hebri View Post
    I think I remember something about VLC and MPlayer (?) not to be both installed.
    No.
    But you shouldn't mix the VLC repo with Packman.
    Anything from there is in Packman anyway (except vlc-beta), most of them in newer versions.

  7. #7
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    16

    Default Re: Avidemux: Cannot find a demuxer for .m2v

    Well, IMHO you were trying to avoid/circumvent a problem by demuxing with ProjectX first, no?
    If you put it this way... yes I understood that the problem could not be avoided by Avidemux alone. When I started I read a lot, tried things out and eventually came to the workflow mentioned. I am aware that the extra step with ProjectX might be unnecessary and I don't stick to it fanatically (as long as an alternative performs equally at least).
    Why does Avidemux insist on demuxing a .m2v file which has no audio?
    Because .m2v has more streams, like teletext and EPG f.e.
    I knew that, but didn't make the connection. I even saw the checkmarks indicating to process every stream. I hate to say that this is not the solution. Removed the checkmarks except for audio and video, demuxed the .m2t file, but Avidemux still doesn't open the resulting .m2v.
    What demuxer is missing and how can I obtain it?
    Missing? If it insists on demuxing, a demuxer must be there, no? Or do I misunderstand you here?
    Or I was wrong in the first place? Avidemux refuses to open the file with the errormessage "Cannot find a demuxer for /path/to/TV-Show.m2v", so I thought it wanted to demux with a specific piece of software.
    Btw, have a look in YaST->Software Management if some packages from Packman are marked blue (update available) and update them manually.
    Done - Updated two MediaInfo libraries.

    Unfortunately I will have no opportunity for further experiments until monday, but I will keep track of new posts.

  8. #8
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    16

    Default Re: Avidemux: Cannot find a demuxer for .m2v

    Quote Originally Posted by wolfi323 View Post
    No.
    But you shouldn't mix the VLC repo with Packman.
    Anything from there is in Packman anyway (except vlc-beta), most of them in newer versions.
    Right...
    I seem to be a bit confused these days.
    Just minutes ago I forgot to put tea in my tea

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •