[FFmpeg-user] Problem trying to convert PAL file to NTSC

mike mkrjf at yahoo.com
Mon Jun 30 23:25:57 CEST 2014


Hey Thomas -
I saw the following post:
Mac app to resample GH4 8 bit 4:2:0 to 10 bit 4:4:4 - EOSHD

 
   Mac app to resample GH4 8 bit 4:2:0 to 10 bit 4:4:4 - EO...
Page 1 of 2 - Mac app to resample GH4 8 bit 4:2:0 to 10 bit 4:4:4 - posted in EOSHD: Hey guys, Ive written a really simple command line app for Mac ...  
View on www.eoshd.com Preview by Yahoo  

And wonder what math is being used to create 10 bit from 8 bit ;) The result is 2K downsampled or 4K interpolated 
"There actually is some interesting pixel finagling going on here."

And of course the color is still 4:2:0 - or is some non-standard interpolation being used there also?

I am using magic lantern hacked 5DMk3 and while 1080P24 see a huge difference in the color compared to any GH 4K on the web.
Highlights are always blown out - post converting to 10bit will not rescue the dynamic range clipped during capture.
Thanks.

BTW a long time back you were trying to help with getting 10bits and / or 4K out of macbookpro17.
I could only find a hardware solution. Opened a bug ticket on MAvericks for no 10 bit color support - but it has never even been opened by Apple ;)
Cheers,
Mike
-----------------------------------
mkrjf, not spam impersonating mkrjf


On Thursday, March 24, 2011 1:46 AM, belcampo <belcampo at zonnet.nl> wrote:
 


On 03/24/11 01:48, vsethi at iglou.com wrote:
> belcampo wrote:
>
>> You need to specify -sn on your command line, to disable the
>> subtitle-part in the source.
>> What you seem to have AFAIK is a MPEG2-TS container, broadcast, with
>> 1 video
>> 1 subtitle
>> 4 audio-streams.
>> ffmpeg AFAIK doesn't know how to handle the subtitle stream. You'll have
>> to explicitedly disable it with the -sn parameter.
>> If you would like to have another audiostream then the first one, you'll
>> have to use the map functions.
>> For video + 2nd audio stream you would need:
>> ffmpeg -i source.mpg copy or encode parameters -map 0:0 -map 0:3
>> destination.mpg
>
> Thanks for your help.  I've continued to play with this, without success.
> I've specified not only -sn, as you suggest, but also -an as a test to
> keep the audio streams from interfering.  ffmpeg accepts this command
> line but, unfortunately, it's crashing with an illegal instruction error
> and generates only an empty output file.
>
> I am wondering if any of the following needs to be addressed:
>
> 1.  max_analyze_duration reached
> 2.  stream 0 codec frame rate differs from container frame rate
> 3.  bitrate:  -2147483 kb/s
>
> This is what it is doing now:
>
> ==========================================================================
>
> ffmpeg -f mpeg -i image.mpg -sn -an -target ntsc-dvd image.out
> FFmpeg version git-31ff9bd, Copyright (c) 2000-2011 the FFmpeg developers
>    built on Mar 12 2011 11:21:15 with gcc 4.1.2
>    configuration:
>    libavutil    50. 39. 0 / 50. 39. 0
>    libavcodec   52.113. 2 / 52.113. 2
>    libavformat  52.102. 0 / 52.102. 0
>    libavdevice  52.  2. 3 / 52.  2. 3
>    libavfilter   1. 76. 0 /  1. 76. 0
>    libswscale    0. 12. 0 /  0. 12. 0
> [mpeg @ 0x8b8f600] max_analyze_duration reached
> [mpeg @ 0x8b8f600] Further flags set but no bytes left
>      Last message repeated 1 times
>      Last message repeated 2 times
>      Last message repeated 3 times
> Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) ->  5000.00 (5000/1)
>      Last message repeated 3 times
> Input #0, mpeg, from 'image.mpg':
>    Duration: 00:00:02.73, start: 0.066600, bitrate: -2147483 kb/s
>      Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 9282 kb/s, 25 fps, 5k tbr, 90k tbn, 50 tbc
>      Stream #0.1[0x20]: Subtitle: dvdsub
>      Stream #0.2[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
>      Stream #0.3[0x1ce]: Audio: mp2, 0 channels
>      Stream #0.4[0x1d1]: Audio: mp2, 0 channels
>      Stream #0.5[0x1d7]: Audio: mp2, 0 channels
> [buffer @ 0x8ba2bd0] w:720 h:576 pixfmt:yuv420p
> [scale @ 0x8ba2f90] w:720 h:576 fmt:yuv420p ->  w:720 h:480 fmt:yuv420p flags:0xa0000004
> Output #0, dvd, to 'image.out':
>    Metadata:
>      encoder         : Lavf52.102.0
>      Stream #0.0: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc
> Stream mapping:
>    Stream #0.0 ->  #0.0
> Press [q] to stop encoding
> frame=    0 fps=  0 q=0.0 size=       0kB time=10000000000.00 bitrate=   0.0kbits/s
> Illegal instruction
Could you put the 1st 20MB to some upload site, with the help of dd you 
can get a 20MB out out of the source, to have a look at the file, to be 
sure it's not the file itself that is causing the problems ?
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list