Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th January 2010, 15:12   #1  |  Link
digitaltoast
Registered User
 
Join Date: Mar 2005
Posts: 34
Avidemux 2.5.2 (and others) can't handle 1080i from Samsung HMX-H100p HD camcorder

Basically, I am having the same problem as this guy:
http://forums.cnet.com/5208-13973_10...hreadID=365199
But there's not much help there, so I thought I'd post a thread here.

There is no software I can find that will encode this without problems, and only Windows Media Player play it OK, and the display on the camera is fine, but any other software makes many blocks and artefacts. I have tried many methods and codecs to work with this - Sony Vegas, Avidemux, XMedia Recode, Mplayer, VLC etc.

I am using Win7 home x64, 4Gb RAM, all updates, fast AMD quad core processor, also tried on Win XP etc.

Is there some way of "fixing" the interlace on these files before editing them? Even the "cut and copy without transcode" mode of Avidemux can't handle it.

Here's 5Mb of example file, raw from the camcorder, untouched.
http://www.digitaltoast.co.uk/files/..._artefacts.MP4
Play in Windows Media Player and it looks fine.
Anything else, or try and edit in Sony Vegas...hopeless.

No reply from Samsung to help request.
digitaltoast is offline   Reply With Quote
Old 8th January 2010, 19:59   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
I appears to me that MPlayer plays your sample flawlessly. It is interlaced yes, but that's not a problem.

Also I cannot see any in "block" artifacts in Avidemux



Re-encoded by Avidemux:
http://mulder.brhack.net/temp/small_...8_20.02.51.avi
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 8th January 2010 at 20:30.
LoRd_MuldeR is offline   Reply With Quote
Old 8th January 2010, 21:21   #3  |  Link
digitaltoast
Registered User
 
Join Date: Mar 2005
Posts: 34
Quote:
Originally Posted by LoRd_MuldeR View Post
I appears to me that MPlayer plays your sample flawlessly. It is interlaced yes, but that's not a problem.

Also I cannot see any in "block" artifacts in Avidemux

Re-encoded by Avidemux:
http://mulder.brhack.net/temp/small_...8_20.02.51.avi
Now I am confused! Yes, your sample plays well.
I see it has been resized to 720, but I don't think that matters.

But this is what I see when I play it in Avidemux:


And this is what the resulting file is:
http://www.digitaltoast.co.uk/files/...processing.mp4

But, this is without any de-interlace. However, even when I have tried every single option of every single de-interlacing tool provided, the "blocking" is still the same.

Out of interest, how can I tell which codec is being used?
Perhaps I have a "bad" or old codec? It is odd that Windows Media Player plays the "raw" file OK, but it has these problems on mplayer, avidemux, vlc etc.

By the way, I think AviDemux is excellent, this is the first time it has had problems, but I think the "problem" may lie somewhere else on my setup?

In case it is of any interest or use, playing these files from the camcorder also crashes mplayer every time - here is the crash log generated after every file has played:

C:/Program Files (x86)/SMPlayer/mplayer/mplayer.exe -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo direct3d -ao dsound -nokeepaspect -priority abovenormal -framedrop -nodr -double -wid 4261206 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles C:/Users/jon/.smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -vid 0 -aid 1 -subpos 100 -volume 100 -cache 2000 -osdlevel -idx -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 D:/My Videos/Samsung HD/small_1080i_samsung_hmx-h100p_example_interlaced_artefacts.MP4

MPlayer Sherpya-SVN-r28311-4.2.5 (C) 2000-2009 MPlayer Team
CPU: AMD Phenom(tm) II X4 940 Processor (Family: 16, Model: 4, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Setting process priority: abovenormal

Playing D:/My Videos/Samsung HD/small_1080i_samsung_hmx-h100p_example_interlaced_artefacts.MP4.

Cache fill: 0.00% (0 bytes)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 1920x1080 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=D:/My Videos/Samsung HD/small_1080i_samsung_hmx-h100p_example_interlaced_artefacts.MP4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1920
ID_VIDEO_HEIGHT=1080
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=3.1605
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=2.88
ID_SEEKABLE=1
ID_CHAPTERS=0
[ass] auto-open
Opening video filter: [screenshot]
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
[mov,mp4,m4a,3gp,3g2,mj2 @ 034A78A0]sample aspect ratio already set, overriding by 'pasp' atom
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
[h264 @ 00FC1E14]Missing reference picture
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 3.16:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=3.1605
swScaler: Compile time max width is 2048 change VOF/VOFW and recompile
VO: [direct3d] 1920x1080 => 3414x1080 Planar YV12
[ASPECT] Warning: No suitable new res found!
<vo_direct3d>Unable to copy the frame to the back buffer
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]AVC: Consumed only 50185 bytes instead of 50188
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]AVC: Consumed only 58113 bytes instead of 58116
[h264 @ 00FC1E14]AVC: Consumed only 22337 bytes instead of 22340
[h264 @ 00FC1E14]AVC: Consumed only 20277 bytes instead of 20280
[h264 @ 00FC1E14]AVC: Consumed only 26325 bytes instead of 26328
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 28085 bytes instead of 28088
[h264 @ 00FC1E14]AVC: Consumed only 54909 bytes instead of 54912
[h264 @ 00FC1E14]AVC: Consumed only 59485 bytes instead of 59488
[h264 @ 00FC1E14]reference picture missing during reorder
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]AVC: Consumed only 22261 bytes instead of 22264
[h264 @ 00FC1E14]AVC: Consumed only 74809 bytes instead of 74812
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 77425 bytes instead of 77428
[h264 @ 00FC1E14]AVC: Consumed only 26237 bytes instead of 26240
[h264 @ 00FC1E14]AVC: Consumed only 79461 bytes instead of 79464
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 64057 bytes instead of 64060
[h264 @ 00FC1E14]AVC: Consumed only 21173 bytes instead of 21176
[h264 @ 00FC1E14]AVC: Consumed only 21449 bytes instead of 21452
[h264 @ 00FC1E14]reference picture missing during reorder
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 16169 bytes instead of 16172
[h264 @ 00FC1E14]AVC: Consumed only 15481 bytes instead of 15484
[h264 @ 00FC1E14]AVC: Consumed only 16913 bytes instead of 16916
[h264 @ 00FC1E14]AVC: Consumed only 13733 bytes instead of 13736
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 56141 bytes instead of 56144
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 20549 bytes instead of 20552
[h264 @ 00FC1E14]AVC: Consumed only 21305 bytes instead of 21308
[h264 @ 00FC1E14]reference picture missing during reorder
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]AVC: Consumed only 17101 bytes instead of 17104
[h264 @ 00FC1E14]AVC: Consumed only 57181 bytes instead of 57184
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 16281 bytes instead of 16284
[h264 @ 00FC1E14]AVC: Consumed only 17601 bytes instead of 17604
[h264 @ 00FC1E14]AVC: Consumed only 16353 bytes instead of 16356
[h264 @ 00FC1E14]AVC: Consumed only 56293 bytes instead of 56296
[h264 @ 00FC1E14]AVC: Consumed only 58289 bytes instead of 58292
[h264 @ 00FC1E14]illegal short term buffer state detected
[h264 @ 00FC1E14]AVC: Consumed only 14945 bytes instead of 14948
[h264 @ 00FC1E14]AVC: Consumed only 19005 bytes instead of 19008
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]reference picture missing during reorder
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]AVC: Consumed only 41181 bytes instead of 41184
[h264 @ 00FC1E14]reference picture missing during reorder
[h264 @ 00FC1E14]Missing reference picture
[h264 @ 00FC1E14]AVC: Consumed only 31513 bytes instead of 31516
[h264 @ 00FC1E14]reference picture missing during reorder
[h264 @ 00FC1E14]Missing reference picture


MPlayer interrupted by signal 11 in module: decode video
ID_SIGNAL=11
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
digitaltoast is offline   Reply With Quote
Old 8th January 2010, 21:28   #4  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
What version of Avidemux do you use? If you don't use r5830, then please update and try again!

My encode was deinterlaced and downscaled to 720p to keep the file size limited, but I certainly didn't get those "artifacts" seen on your screenshot.

I guess you use an old Avidemux with an old libavcodec that has problems decoding interlaced H.264

(BTW: Avidemux doesn't use any "Codecs" installed on your system. It only uses it's own built-in splitters and decoders)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 8th January 2010 at 21:35.
LoRd_MuldeR is offline   Reply With Quote
Old 8th January 2010, 22:01   #5  |  Link
digitaltoast
Registered User
 
Join Date: Mar 2005
Posts: 34
Quote:
Originally Posted by LoRd_MuldeR View Post
What version of Avidemux do you use? If you don't use r5830, then please update and try again!

I guess you use an old Avidemux with an old libavcodec that has problems decoding interlaced H.264
Ah! I was getting the official "christmas" build from the site.
The installer said version 2.5.2.5660

On the official site, I thought I was going to have to make my own build, but some quick googling found this:
http://avidemux.razorbyte.com.au/

I downloaded the R5830 and it worked perfectly! At last!
So many nights ... thank you, LoRd_MuldeR!

Now if only I could work out how to create and avchd file for Sony Vegas to be happy - if followed the info here:
http://www.hardwareheaven.com/audio-...hd-editor.html

It says:
Container: .MTS
Audio: AC-3

But when I select
MPEG4-AVC and Output format of MPEG-TS (A+V)

it says "Incompatible Output Format".
Hmmm, I am nearly there...
digitaltoast is offline   Reply With Quote
Old 8th January 2010, 22:05   #6  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Avidemux doesn't output H.264 to TS container. At least not yet.

Maybe you can re-mux the file from Avidemux to TS/M2TS with TsRemux, tsMuxeR or a similar tool?
* http://smlabs.net/tsmuxer_en.html
* http://www.videohelp.com/tools/TsRemux
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 8th January 2010 at 22:29.
LoRd_MuldeR is offline   Reply With Quote
Reply

Tags
camcorder, deinterlace, encode, interlace, samsung

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:30.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.