Author Topic: newbie with Avidemux: some questions  (Read 1171 times)

rmanal

  • Newbie
  • *
  • Posts: 8
newbie with Avidemux: some questions
« on: October 14, 2016, 06:17:31 AM »
Hi,

I have finally definitely removed Virtual Dub to use Avidemux.
I have tried some functions and I have following questions/remarks:
- When I import a RVB film (no encoding), the image is inversed: same as for a RVB image alone.

- M2V file are not read, instead M2P are?

- When I have a PAL/NTSC film with the file size (720*480) but with a ratio H/L 4/3, how is proced the file: does avidemux takes care about the ratio?

- How to add or remove a subtitle stream: is it possible?

Thanks for your support
Rman

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5337
Re: newbie with Avidemux: some questions
« Reply #1 on: October 14, 2016, 07:21:44 AM »
- When I import a RVB film (no encoding), the image is inversed: same as for a RVB image alone.
I'm not familiar with the term RVB
Can you upload a 10 second original of such RVB film and RVB image?
ps:- Use a free www.wetransfer.com, dropbox account, mega or similar webservice (free public access, without registration to download your uploaded video) thank you.

if you are referring to chroma inversion: Swap U and V, this can be found under Video Decoder [Configure]

Quote
- M2V file are not read, instead M2P are?
m2v (only video)?, m2p (video with audio?)
some suggest to rename m2v to mpg, see if that works

Quote
- When I have a PAL/NTSC film with the file size (720*480) but with a ratio H/L 4/3, how is proced the file: does avidemux takes care about the ratio?
Avidemux uses aspect ratio 1:1. you get some issue in mkv with PAL where you could get the either 16:9 or 4:3 ratio within the same resolution. There you need to use [Configure] in Output Format for mkv muxer.


Quote
- How to add or remove a subtitle stream: is it possible?
No it is not for now (on wish list, no idea if/when it will happen)
with mkv you could use tool like mkvtoolnix gui to add subtitle stream

we are now with avidemux 2.6.14 branch, development is halted on 2.5.6.
latest can be found here: http://www.avidemux.org/nightly/
« Last Edit: October 14, 2016, 09:00:28 AM by Jan Gruuthuse »

rmanal

  • Newbie
  • *
  • Posts: 8
Re: newbie with Avidemux: some questions
« Reply #2 on: October 14, 2016, 07:25:07 PM »
Hi,

For RVB (it means raw image, no encoding), for BMP (sorry I have called that RVB) and for M2V, here examples:
https://we.tl/yskN1kcuEH
https://we.tl/rgx8y40T2N

For substream, I will wait for the wish list implementation ;-)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5337
Re: newbie with Avidemux: some questions
« Reply #3 on: October 15, 2016, 07:02:54 AM »
For substream, I will wait for the wish list implementation ;-)
This could take a very long time.

I can confirm your issues. Avidemux 2.5.6 can read partial m2v

avidemux 2.6.14
_____________
The bmp is read into avidemux.
RGB video stream is not supported, as far as I know.
Lossless  supported on 2.6.14: HuffYUV but not with RGB color space.

Other answers I leave to the developers


« Last Edit: October 15, 2016, 07:46:54 AM by Jan Gruuthuse »

spim

  • Newbie
  • *
  • Posts: 3
Re: newbie with Avidemux: some questions
« Reply #4 on: October 17, 2016, 02:36:23 PM »
1) I'm actually running 14.04 LTS
I tried the upgrade to the most recent LTS version, but it borked my displays on desktop and laptop, so I backed out of it until I have time to figure out why that happened

2) This is the result of running avprobe
I have no clue what it means.
Quote
avprobe 20161015_150422.mp4
avprobe version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2007-2014 the Libav developers
  built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[avi @ 0x1b33fe0] non-interleaved AVI
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
[h264 @ 0x1b35f40] missing picture in access unit
Input #0, avi, from '20161015_150422.mp4':
  Duration: 11:07:40.67, start: 0.000000, bitrate: 8 kb/s
    Stream #0.0: Video: h264 (High), yuv420p, 1920x1080, 29.97 fps, 59.92 tbr, 29.94 tbn
    Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
# avprobe output

3) I'll need to read up on how to download and compile the newest version of Avidemux

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1173
Re: newbie with Avidemux: some questions
« Reply #5 on: October 17, 2016, 04:05:47 PM »
You've replied in a wrong thread, I'll ask the moderator to move both your post and my reply to Stuttering Audio - MP4 - (newbie to video edition & Avidemux).

1) I'm actually running 14.04 LTS

14.04.(5) is fine, no need to upgrade.

Quote
I tried the upgrade to the most recent LTS version, but it borked my displays on desktop and laptop, so I backed out of it until I have time to figure out why that happened

I can gladly help troubleshooting this, though distribution upgrade issues are not related to the Avidemux one this time.

Quote
2) This is the result of running avprobe
I have no clue what it means.
Code: [Select]
avprobe 20161015_150422.mp4
avprobe version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2007-2014 the Libav developers
  built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[avi @ 0x1b33fe0] non-interleaved AVI

It says the 20161015_150422.mp4 is actually a badly interleaved AVI container, not a MP4 one. If the file was generated by a Samsung Galaxy S4 smartphone, I'm inclined to distrust avprobe, as AVI is unsuitable for h264. If GS4 really generates AVI masked as MP4, this is a story only short of the burning Galaxy Note 7 ;D

Quote
Code: [Select]
Input #0, avi, from '20161015_150422.mp4':
  Duration: 11:07:40.67, start: 0.000000, bitrate: 8 kb/s

Wrong (too low) bitrate. Unsure if avprobe misreports or the source video is at fault.

Quote
Code: [Select]
    Stream #0.0: Video: h264 (High), yuv420p, 1920x1080, 29.97 fps, 59.92 tbr, 29.94 tbn
    Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s

No big-endian LPCM here, so it shouldn't be a problem with 2.6.14+

Because of avprobe identifying the video as AVI: is it really the original file shot by a GS4? If it is, I'd try to remux it to a true MP4 first. With the current ffmpeg (unsure about the command syntax of the outdated libav fork) it could be accomplished by

Code: [Select]
ffmpeg -i 20161015_150422.mp4 -c copy 20161015_150422_for_real.mp4
Quote
3) I'll need to read up on how to download and compile the newest version of Avidemux

Is your system a 32bit one, unable to run the appImage, generated by the author of Avidemux? If you are OK with running unsigned third-party binaries, you could install packages built by Jan Gruuthuse (again, only 64bit).

Otherwise you might want to look into https://github.com/mean00/avidemux2/blob/master/createDebFromSourceUbuntu.bash for build dependencies and steps required. To get the source:

Code: [Select]
git clone https://github.com/mean00/avidemux2.git

rmanal

  • Newbie
  • *
  • Posts: 8
Re: newbie with Avidemux: some questions
« Reply #6 on: October 21, 2016, 06:16:14 AM »
Hi,

what do you mean by: I can confirm your issues. Avidemux 2.5.6 can read partial m2v
Have you tested my 3 files?

To moderator: could you move post and answers above not link to this topic?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5337
Re: newbie with Avidemux: some questions
« Reply #7 on: October 21, 2016, 08:22:39 AM »
yes, I've tested you videos. I'm user as you are.
This requires intervention from the developer(s) to solve loading these RGB video into avidemux 2.6.branch.
Loading the video into avidemux 2.5.6 gives you warnings. So it is not ideal.


If this is you production: switch from bmp to jpg or png and use HuffYUV for Lossless video.