Opened 4 years ago
Closed 4 years ago
#8846 closed defect (fixed)
Unable to transcode file
Reported by: | ksampan | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | mxf |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
"ffmpeg.exe -loglevel warning -y -i C:/content/IPv_Generated_File_USE_THIS.mp4 -r 1/10 -vf scale='min(500,iw)':-2 -f image2 <file_name>.jpg -vf scale='min(640,iw)':-2 -r 29.97 -b:v 800000 -b:a 96000 -ar 48000 C:\transcodeoutput\IPv_Generated_File_USE_THIS.mp4"
FFmpeg version : 4.2
Attachments (1)
Change History (19)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Version: | unspecified → 4.2 |
---|
comment:3 by , 4 years ago
Priority: | critical → normal |
---|---|
Version: | 4.2 → unspecified |
Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output and an input sample to make this a valid ticket.
by , 4 years ago
comment:4 by , 4 years ago
Can you play the input file with any media player? For me,
VLC, Windows Media Player and FFplay all fail.
As far as I can see, the sample file only consists of the
ftyp, a wide and the mdat box, which, I think, does not
make it a valid mp4 file, although I am not sure about that.
comment:5 by , 4 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
comment:6 by , 4 years ago
Resolution: | needs_more_info |
---|---|
Status: | closed → reopened |
Hello sorry for the delayed response. I have compressend and sent the file as it is limited to 2mb(This is followed from ffmpeg official website). I am sharing the original video via google drive (https://drive.google.com/file/d/1D9h2QLzHj9BBBUoENQHl3SKgp3dx1Ej1/view?usp=sharing)
comment:7 by , 4 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | mxf added |
Reproduced by developer: | set |
Version: | unspecified → git-master |
Could you elaborate a little on this ticket? How was the file created?
Patch sent.
comment:8 by , 4 years ago
This file is a polyglot, created by "IPV MXF Multiplexer". In other words it is both an MP4 file and an MXF file. One workaround here is to add -f mp4 to the ffmpeg command line. I'm not sure whether the file is supposed to be decoded as MXF, it is glitchy with -f mxf. Waiting for user feedback.
comment:9 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
follow-up: 12 comment:10 by , 4 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I'm facing few issue when I put -f mp4 in ffmpeg command. Can you please provide me the command that worked?
comment:11 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:12 by , 4 years ago
Replying to ksampan:
I'm facing few issue when I put -f mp4 in ffmpeg command. Can you please provide me the command that worked?
ffmpeg -f mp4 -i input [rest of command line]
comment:13 by , 4 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
[swscaler @ 00000156894dfc00] deprecated pixel format used, make sure you did set range correctly
[image2 @ 0000015688ce00c0] Could not get frame filename number 2 from pattern 'C:\test\IPv_Generated_File_USE_THIS.jpg'. Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %03d within the filename.
av_interleaved_write_frame(): Invalid argument
Im facing this issue when I do? I just added that to command line and ran that command.
comment:14 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:15 by , 4 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Im running in to some other issue when i ran the below command.
ffmpeg.exe -f mp4 -loglevel warning -y -i C:\test\IPv_Generated_File_USE_THIS.mp4 -r 1/10 -vf scale='min(500,iw)':-2 -f image2 C:\test\IPv_Generated_File_USE_THIS.jpg -vf scale='min(640,iw)':-2 -r 29.97 -b:v 800000 -b:a 96000 -ar 48000 C:\test\IPv_Generated_File_USE_THIS1.mp4
comment:16 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:17 by , 4 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:18 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Please ask all usage questions on the FFmpeg user mailing list.
Error : Invalid data found when processing input