Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-30 Thread Carl Eugen Hoyos
2017-04-30 16:04 GMT+02:00 jacques perconte :
> Dear all, i have to find another file, this one is 40Go :)

Is the issue still reproducible if you cut the first 100MB?
If the first 100MB are unreadable, process the file with
tools/qt-faststart first (or provide the first 100MB, the last
100MB and the exact file size).

Stop top-posting, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-30 Thread jacques perconte
Dear all, i have to find another file, this one is 40Go :)
So thank you. i let you know.

Jacques

☀︎
Jacques Perconte
+33 660 615 408

http://www.jacquesperconte.com

→ http://timeline.technart.fr / news
→ https://twitter.com/jacquesperconte / voix


On Sun, Apr 30, 2017 at 1:22 PM, Carl Eugen Hoyos  wrote:
> 2017-04-28 17:36 GMT+02:00 jacques perconte :
>> Yes, the video file is damaged, this is my weird way of working video.
>>
>> The file does play on mac with quicktime and perian installed
>
> Please provide the input sample.
>
> Please do not top-post here, Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-30 Thread Carl Eugen Hoyos
2017-04-28 17:36 GMT+02:00 jacques perconte :
> Yes, the video file is damaged, this is my weird way of working video.
>
> The file does play on mac with quicktime and perian installed

Please provide the input sample.

Please do not top-post here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-28 Thread jacques perconte
Yes, the video file is damaged, this is my weird way of working video.

The file does play on mac with quicktime and perian installed
https://www.perian.org/

ffplay send looping message

[mpeg4 @ 0x7f9421067200] [IMGUTILS @ 0x77d31bc8] Picture size 0x0 is invalid
[mpeg4 @ 0x7f9421067200] video_get_buffer: image parameters invalid
[mpeg4 @ 0x7f9421067200] get_buffer() failed
[mpeg4 @ 0x7f9421067200] thread_get_buffer() failed
[mpeg4 @ 0x7f9421067200] get_buffer() failed (-22 0x0)
[mpeg4 @ 0x7f942281be00] Context scratch buffers could not be
allocated due to unknown size.

Can i set those missing parameters in my stream copy command  ?

thanks :)


On Fri, Apr 28, 2017 at 11:43 AM, Cley Faye  wrote:
> 2017-04-28 8:18 GMT+02:00 jacques perconte :
>
>> [mpeg4 @ 0x7ffc82817800] header damaged
>> [mpeg4 @ 0x7ffc82817800] time_increment_bits 4 is invalid in relation
>> to the current bitstream, this is likely caused by a missing VOL
>> header
>> [mpeg4 @ 0x7ffc82817800] time_increment_bits set to 5 bits, based on
>> bitstream analysis
>> [mpeg4 @ 0x7ffc82817800] looks like this file was encoded with
>> (divx4/(old)xvid/opendivx) -> forcing low_delay flag
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffc82800400] decoding for stream 0 failed
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffc82800400] Could not find codec
>> parameters for stream 0 (Video: mpeg4 (xvid / 0x64697678),
>> yuv420p(bt709), 10032 kb/s): unspecified size
>>
>> Consider increasing the value for the 'analyzeduration' and 'probesize'
>> options
>> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HYPERS.MOV':
>>
>>   Metadata:
>> major_brand : qt
>> minor_version   : 537199360
>> compatible_brands: qt
>> creation_time   : 2015-03-09T00:01:04.00Z
>> com.apple.quicktime.player.movie.visual.brightness: 0.00
>> com.apple.quicktime.player.movie.visual.color: 1.00
>> com.apple.quicktime.player.movie.visual.tint: 0.00
>> com.apple.quicktime.player.movie.visual.contrast: 1.00
>> com.apple.quicktime.player.version: 7.6.6 (7.6.6)
>> com.apple.quicktime.version: 7.7.3 (2826.24) 0x7738000 (Mac OS X,
>> 10.9.5, 13F34)
>>
>>   Duration: 08:53:49.52, start: 0.00, bitrate: 10033 kb/s
>> Stream #0:0(eng): Video: mpeg4 (xvid / 0x64697678),
>> yuv420p(bt709), 10032 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
>>
>
> From that, I'd say the input file is damaged and ffmpeg can't get the
> video parameters, especially the actual layout and resolution of the video
> stream.
>
> Does the file play fine with ffplay or other players? Usually ffmpeg does a
> good job of recovering some damages, but it vary from codec to codec.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-28 Thread Cley Faye
2017-04-28 8:18 GMT+02:00 jacques perconte :

> [mpeg4 @ 0x7ffc82817800] header damaged
> [mpeg4 @ 0x7ffc82817800] time_increment_bits 4 is invalid in relation
> to the current bitstream, this is likely caused by a missing VOL
> header
> [mpeg4 @ 0x7ffc82817800] time_increment_bits set to 5 bits, based on
> bitstream analysis
> [mpeg4 @ 0x7ffc82817800] looks like this file was encoded with
> (divx4/(old)xvid/opendivx) -> forcing low_delay flag
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffc82800400] decoding for stream 0 failed
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffc82800400] Could not find codec
> parameters for stream 0 (Video: mpeg4 (xvid / 0x64697678),
> yuv420p(bt709), 10032 kb/s): unspecified size
>
> Consider increasing the value for the 'analyzeduration' and 'probesize'
> options
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HYPERS.MOV':
>
>   Metadata:
> major_brand : qt
> minor_version   : 537199360
> compatible_brands: qt
> creation_time   : 2015-03-09T00:01:04.00Z
> com.apple.quicktime.player.movie.visual.brightness: 0.00
> com.apple.quicktime.player.movie.visual.color: 1.00
> com.apple.quicktime.player.movie.visual.tint: 0.00
> com.apple.quicktime.player.movie.visual.contrast: 1.00
> com.apple.quicktime.player.version: 7.6.6 (7.6.6)
> com.apple.quicktime.version: 7.7.3 (2826.24) 0x7738000 (Mac OS X,
> 10.9.5, 13F34)
>
>   Duration: 08:53:49.52, start: 0.00, bitrate: 10033 kb/s
> Stream #0:0(eng): Video: mpeg4 (xvid / 0x64697678),
> yuv420p(bt709), 10032 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
>

​From that, I'd say the input file is damaged and ffmpeg can't get the
video parameters, especially the actual layout and resolution of the video
stream.

Does the file play fine with ffplay or other players? Usually ffmpeg does a
good job of recovering some damages, but it vary from codec to codec.​
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-28 Thread jacques perconte
Dear Cley,

here it is

ffmpeg -i HYPERS.MOV -c:v copy -an output.avi

HYPERS.MOV is a mov quicktime with a xvid video stream and no sound
the stream ha no keyframe - it is normal, so i do not want to re encode it.

console :

Retina:M Hypersoleils ZREO$ ffmpeg -i HYPERS.MOV -c:v copy -an output.avi
ffmpeg version N-85343-gd0a3143-tessus Copyright (c) 2000-2017 the
FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg
--extra-version=tessus --enable-avisynth --enable-fontconfig
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus
--enable-libschroedinger --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3
--disable-ffplay --disable-indev=qtkit

  libavutil  55. 60.100 / 55. 60.100
  libavcodec 57. 92.100 / 57. 92.100
  libavformat57. 72.100 / 57. 72.100
  libavdevice57.  7.100 / 57.  7.100
  libavfilter 6. 84.100 /  6. 84.100
  libswscale  4.  7.100 /  4.  7.100
  libswresample   2.  8.100 /  2.  8.100
  libpostproc54.  6.100 / 54.  6.100

[mpeg4 @ 0x7ffc82817800] header damaged
[mpeg4 @ 0x7ffc82817800] time_increment_bits 4 is invalid in relation
to the current bitstream, this is likely caused by a missing VOL
header
[mpeg4 @ 0x7ffc82817800] time_increment_bits set to 5 bits, based on
bitstream analysis
[mpeg4 @ 0x7ffc82817800] looks like this file was encoded with
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffc82800400] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffc82800400] Could not find codec
parameters for stream 0 (Video: mpeg4 (xvid / 0x64697678),
yuv420p(bt709), 10032 kb/s): unspecified size

Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HYPERS.MOV':

  Metadata:
major_brand : qt
minor_version   : 537199360
compatible_brands: qt
creation_time   : 2015-03-09T00:01:04.00Z
com.apple.quicktime.player.movie.visual.brightness: 0.00
com.apple.quicktime.player.movie.visual.color: 1.00
com.apple.quicktime.player.movie.visual.tint: 0.00
com.apple.quicktime.player.movie.visual.contrast: 1.00
com.apple.quicktime.player.version: 7.6.6 (7.6.6)
com.apple.quicktime.version: 7.7.3 (2826.24) 0x7738000 (Mac OS X,
10.9.5, 13F34)

  Duration: 08:53:49.52, start: 0.00, bitrate: 10033 kb/s
Stream #0:0(eng): Video: mpeg4 (xvid / 0x64697678),
yuv420p(bt709), 10032 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)

Metadata:
  creation_time   : 2015-03-09T00:01:04.00Z
  handler_name: Gestionnaire d?alias Apple

[avi @ 0x7ffc82015800] dimensions not set

Could not write header for output file #0 (incorrect codec parameters
?): Invalid argument

Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Last message repeated 1 times

Retina:M Hypersoleils ZREO$




thank you
jacques
☀︎
Jacques Perconte
+33 660 615 408

http://www.jacquesperconte.com

→ http://timeline.technart.fr / news
→ https://twitter.com/jacquesperconte / voix


On Tue, Apr 25, 2017 at 10:02 AM, Cley Faye  wrote:
> 2017-04-25 9:52 GMT+02:00 jacques perconte :
>
>>
>> ffmpeg -i input.mov -c:v copy -an output.avi
>> ffmpeg -loglevel debug -analyzeduration 6M  -i nput.mov -c copy -s
>> 1920x1080 output.avi
>>
>> it always print
>> "[avi @ 0x7fe9e303ce00] Dimensions not set
>> Could not write header for output file #0 (incorrect codec parameters
>> ?): Invalid argument"
>>
>> any idea ?
>
>
> Provide the full console output of these commands, it might give some
> insight on what's failing.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Extract xvid stream in mov container

2017-04-25 Thread Cley Faye
2017-04-25 9:52 GMT+02:00 jacques perconte :

>
> ffmpeg -i input.mov -c:v copy -an output.avi
> ffmpeg -loglevel debug -analyzeduration 6M  -i nput.mov -c copy -s
> 1920x1080 output.avi
>
> it always print
> "[avi @ 0x7fe9e303ce00] Dimensions not set
> Could not write header for output file #0 (incorrect codec parameters
> ?): Invalid argument"
>
> any idea ?


​Provide the full console output of these commands, it might give some
insight on what's failing.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Extract xvid stream in mov container

2017-04-25 Thread jacques perconte
 Dear Community

I have a xvid video stream in a quicktime mov container and i do not
manage to extract it without touching the encoding. It is very
important for me to protect the image structure of the stream.

i tried

ffmpeg -i input.mov -c:v copy -an output.avi
ffmpeg -loglevel debug -analyzeduration 6M  -i nput.mov -c copy -s
1920x1080 output.avi

it always print
"[avi @ 0x7fe9e303ce00] Dimensions not set
Could not write header for output file #0 (incorrect codec parameters
?): Invalid argument"

any idea ?

Thank you
jacques
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".